当站点被设置为分站点时,需要做的迁移动作
数量和sql,只写觉的重要的数据
迁移项 | 备注 | 数量(19站点) | SQL |
---|---|---|---|
客户站点开通 | 开通主站点, 设置分站点webhook |
|
|
库存 | 通过设置主站点容器,自动同步 |
| |
库位 | N | ||
过道 | N |
|
|
库区 | N |
|
|
仓库 | N |
|
|
产品 | sql迁移到主站点 | ||
产品入库周期 | sql迁移到主站点 company_product_date_stock client_temp_storage_volume_transaction client_company_date_temp_storage_volume client_company_temp_storage_volume_daily_data | ||
订单 | sql迁移到主站点 | 19: 15070689 | select count(id) from consignment where company_id in (19); |
订单产品 | 跟随订单 | 19: 5376313 | select count(consignment_product.id) from consignment_product inner join consignment on consignment.id = consignment_product.consignment_id where company_id in (19); |
代理专线订单产品 | 跟随订单 | 19: 11271884 | select count(agent_direct_consignment_product.id) from agent_direct_consignment_product inner join consignment on consignment.id = agent_direct_consignment_product.consignment_id where consignment.company_id in (19); |
邮递服务 | sql迁移到主站点,需改名字 | 19: 639 | select * from delivery_service where company_id in (19); |
服务商 | sql迁移到主站点 | ||
服务商账号 | |||
包裹尺寸 | |||
邮递服务相关 | |||
客户组 |