dy-dashboard/vault/知识库/工作指南/训练记录/2026-08-22-更新下单前包材数量.md
2026-10-28 11:14:17 +08:00

15 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 1. 主题
**旭东 → OpenClaw:**
> 我现在发你一份表格,需要你首先根据货品编号匹配到计划预测里面的对应成品之后,再根据物料编号,匹配到下单信息按钮之后的弹窗中的包材下单信息里面的物料编号,再将包材数量更新到对应的下单前包材文本框里面。
**OpenClaw 响应:**
已根据表格货品编号和物料编号,将包材数量写入8.186测试环境对应BOM包材下单信息的“下单前包材”字段。共读取2049行,成功更新2027行。更新前已备份 `bom_packaging` 表,更新后已重启测试服务并验证HTTP 200。
有22行未更新:6行在系统BOM中不存在,16行属于内料或编码含`-NL`,不属于计划预测/下单弹窗展示的包材范围。现有计划预测及下单内料过滤规则保持不变。
- 备份表:`bom_packaging_backup_20260822_173021`
- 备份SQL:`backups/bom_packaging_before_import_20260822_173021.sql`
- 更新后 `bom_packaging` 中下单前包材数量大于0的记录:2027条
- 测试服务:HTTP 200