商品成本:组合回溯仅作用于含组合编码 #538

Merged
chenxi merged 1 commits from fix/chenxi-product-cost-combo-scope into main 2026-10-25 00:35:33 +08:00
Collaborator

修复

  • 中文组合金额回溯仅匹配商品编码包含「组合」的主行。
  • ZH-、MKH- 等结构化组合恢复原有 src_combine_sku_id 父行去重与解析逻辑。
  • 零值结构化组合占位恢复原有过滤,不再扩大到普通组合行。

验证

  • 相关测试 27 项通过,98 个断言。
  • 7、8、9 月已重新重跑并核对。
  • 9 月总成本由错误口径下的 22,811,743.40 恢复为 23,122,886.17,与修正前仅差 512.38 元;待核验保持 471 行。
  • 无数据库迁移。
## 修复 - 中文组合金额回溯仅匹配商品编码包含「组合」的主行。 - `ZH-`、`MKH-` 等结构化组合恢复原有 `src_combine_sku_id` 父行去重与解析逻辑。 - 零值结构化组合占位恢复原有过滤,不再扩大到普通组合行。 ## 验证 - 相关测试 27 项通过,98 个断言。 - 7、8、9 月已重新重跑并核对。 - 9 月总成本由错误口径下的 22,811,743.40 恢复为 23,122,886.17,与修正前仅差 512.38 元;待核验保持 471 行。 - 无数据库迁移。
chenxi added 1 commit 2026-10-25 00:35:28 +08:00
chenxi merged commit 4386db5647 into main 2026-10-25 00:35:33 +08:00
chenxi deleted branch fix/chenxi-product-cost-combo-scope 2026-10-25 00:35:33 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WuYongJie/CaiWuXiTong#538
No description provided.