91 料号改用普通商品启用状态 #680

Merged
chenxi merged 1 commits from fix/chenxi-material-status-catalog into main 2026-10-27 11:51:05 +08:00
Collaborator

改动

  • 外部条码库只提供条码与创建时间,不再使用 SupplyChainProductArchive.productStatus 判断启用
  • 候选商品编码改为读取系统普通商品资料 ops_jst_sku:sku_type=normal AND enabled=1
  • 同时排除普通商品权威清单中的历史排除项
  • 仍按外部条码创建时间取最新,最高时间并列时待核验

真实数据验证

  • 91.C45438.01-N09 → MKHDNZ0409260601235
  • 91.C45340.01-N09 → GBGJ-SJ025102N09V01
  • 91.C45492.01-N1411 → GBGJ-CYJ005701N1411V01
  • 当前剩余 8 个 91 料号在新规则下全部可唯一匹配

测试

  • 75 passed / 304 assertions

风险

  • 91 成本编码与金额会变化,合并发布后重跑 7、8、9 月京东账单
## 改动 - 外部条码库只提供条码与创建时间,不再使用 `SupplyChainProductArchive.productStatus` 判断启用 - 候选商品编码改为读取系统普通商品资料 `ops_jst_sku`:`sku_type=normal AND enabled=1` - 同时排除普通商品权威清单中的历史排除项 - 仍按外部条码创建时间取最新,最高时间并列时待核验 ## 真实数据验证 - `91.C45438.01-N09` → `MKHDNZ0409260601235` - `91.C45340.01-N09` → `GBGJ-SJ025102N09V01` - `91.C45492.01-N1411` → `GBGJ-CYJ005701N1411V01` - 当前剩余 8 个 91 料号在新规则下全部可唯一匹配 ## 测试 - 75 passed / 304 assertions ## 风险 - 91 成本编码与金额会变化,合并发布后重跑 7、8、9 月京东账单
chenxi added 1 commit 2026-10-27 11:50:55 +08:00
chenxi merged commit 20de1a28bb into main 2026-10-27 11:51:05 +08:00
chenxi deleted branch fix/chenxi-material-status-catalog 2026-10-27 11:51:05 +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#680
No description provided.