fix: 补齐快递运费汇总覆盖索引 #145
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/WuYongJie-courier-final-acceptance"
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?
完整历史数据下,快递汇总关联需要反复回表读取 io_id 和 freight。为发货扩展增加 (so_id, Id, io_id)、出库信息增加 (io_id, Id, freight) 覆盖索引,并写入镜像定义供重建时复用。
只新增共享镜像索引,不调整字段类型、业务数据、金额规则或权限。已核对生产字段类型和索引长度,迁移语法检查通过;迁移可重复执行,回滚只删除本次索引。上线前按现有同步锁执行索引迁移并核对查询计划。