Files
huachuang/sql/mysql/wms_empty_box_truss_dispatch.sql
2026-10-02 08:09:28 +08:00

16 lines
988 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 空木箱桁架入库 ACS 下发参数配置,可重复执行。
INSERT INTO infra_config
(category, type, name, config_key, value, visible, remark, creator, updater, deleted)
SELECT 'wms', 2, '空木箱高度等级一级上限', 'wms.empty-box.height-level-one-max', '650', b'1',
'木箱高度小于等于该值时 heightLevel=1', '1', '1', b'0'
WHERE NOT EXISTS (SELECT 1 FROM infra_config
WHERE config_key = 'wms.empty-box.height-level-one-max' AND deleted = b'0');
INSERT INTO infra_config
(category, type, name, config_key, value, visible, remark, creator, updater, deleted)
SELECT 'wms', 2, '空木箱高度等级二级上限', 'wms.empty-box.height-level-two-max', '800', b'1',
'木箱高度大于一级上限且小于等于该值时 heightLevel=2,超过时禁止创建任务', '1', '1', b'0'
WHERE NOT EXISTS (SELECT 1 FROM infra_config
WHERE config_key = 'wms.empty-box.height-level-two-max' AND deleted = b'0');