-- 出入库分配模式。standardAllocation 保持现有逻辑;trackSectionAllocation 启用双轨分段逻辑。 INSERT INTO wms_warehouse_strategy_config (id, strategy_code, strategy_name, strategy_type, class_type, param, remark, is_used, ban, form_data, creator, create_time, updater, update_time, deleted) SELECT 2079500000000000001, 'standardAllocation', '标准出入库分配', 'base', '1', '{}', '沿用现有入库货位排序、出库通道和CK01/CK02负载均衡逻辑', 1, 1, NULL, '1', NOW(), '1', NOW(), 0 WHERE NOT EXISTS (SELECT 1 FROM wms_warehouse_strategy_config WHERE strategy_code = 'standardAllocation' AND deleted = 0); INSERT INTO wms_warehouse_strategy_config (id, strategy_code, strategy_name, strategy_type, class_type, param, remark, is_used, ban, form_data, creator, create_time, updater, update_time, deleted) SELECT 2079500000000000002, 'trackSectionAllocation', '双轨分段出入库', 'base', '1', '{}', '双侧轨道货位按上下两段出库;入库货位从区段中间向上下两侧分配', 1, 1, NULL, '1', NOW(), '1', NOW(), 0 WHERE NOT EXISTS (SELECT 1 FROM wms_warehouse_strategy_config WHERE strategy_code = 'trackSectionAllocation' AND deleted = 0);