dy-dashboard/vault/知识库/工作指南/训练记录/2026-08-22-下单后包材使用当前数据计算.md
2026-10-28 11:14:17 +08:00

9 lines
618 B
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:**
> 不用优先读取现在下单缓存里面的数据,只用按照现在已有的数据进行计算,就应该等于
> 3000 + 3000 - 3000 = 3000
**OpenClaw 响应:**
已修正确认下单逻辑:不再优先读取或合并 `pending_orders.bom_items` 中的历史缓存数据;确认下单时以本次下单弹窗提交的最新实际下单数量为准,按“下单前包材 + 包材实际下单数量 - 成品实际下单数量”计算下单后包材。因此该示例计算为 `3000 + 3000 - 3000 = 3000`。修复后测试服务已重启,HTTP 200验证通过。