Commit de62364e authored by 332784038@qq.com's avatar 332784038@qq.com

补充刷新订单收发货人信息数据脚本

parent 453d0100
......@@ -4,6 +4,9 @@ alter table `ecw_order_consignor`
alter table `ecw_order_consignee`
add column `customer_number` VARCHAR(50) DEFAULT NULL COMMENT '客户编号';
-- 批量刷新订单收发货人的客户编号信息
update ecw_order_consignor nor join ecw_customer u on nor.customer_id = u.id set nor.customer_number = u.number;
update ecw_order_consignee nee join ecw_customer u on nee.customer_id = u.id set nee.customer_number = u.number;
-- 提货相关数据冗余到订单表
alter table `ecw_order`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment