refactor: BI 脏日账本与 as-of 成本重算管线落地,退役 COST_SYNC 并重构工作台健康度 UI

This commit is contained in:
2026-09-02 12:03:59 +08:00
parent abcf1894db
commit 27a960c2fe
87 changed files with 1929 additions and 2902 deletions
@@ -91,9 +91,6 @@ CREATE TABLE `ec_order_item` (
`quantity` int NOT NULL DEFAULT 1 COMMENT '数量',
`unit_price` decimal(12, 2) NOT NULL DEFAULT 0.00 COMMENT '销售单价',
`line_amount` decimal(12, 2) NOT NULL DEFAULT 0.00 COMMENT '行实收/行销售额(可选汇总)',
`product_cost` decimal(12, 2) NOT NULL DEFAULT 0.00 COMMENT '单件商品成本快照',
`shipping_cost` decimal(12, 2) NOT NULL DEFAULT 0.00 COMMENT '单件运费成本快照',
`other_cost` decimal(12, 2) NOT NULL DEFAULT 0.00 COMMENT '单件其他成本快照',
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '明细备注',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',