fix: MKH 刷新实时读取订单库存并阻止旧请求覆盖 #23
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "codex/mkh-sync-freshness-0923"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
目的与范围
pm_stockMonitor:近 15 天日销按当前订单及真实出库记录计算;库存读取jst_inventoryInfo,并用jst_packInventoryInfo补充当日入库;实时源无记录时不回退延迟库存快照。同步与兼容性
97a93766e8f94be0c34b1a438e1568f444f040cdb8e60a19d253882f01d87f34f44a7d385c85c1f7cache + snapshot;现有页面已同步适配。cacheEpoch保护,再补齐前端竞态、HTTP 缓存和实时数据口径。验证
npm --prefix backend run check:通过,语法检查 151 个文件,346 项测试全部通过。npm --prefix frontend run check:通过,lint、18 项测试及生产构建全部通过。git diff --check:通过。风险与回退
stockSource=live-missing明确标记,不会再用旧快照伪装成当前库存。fix: 根治 MKH 同步后旧请求覆盖最新数据to fix: MKH 刷新实时读取订单库存并阻止旧请求覆盖