IF NOT EXISTS (SELECT 1 FROM sys_config WHERE code = N'outOrderBatchPriorityThreshold')
BEGIN
    INSERT INTO sys_config (name, code, value, type, status)
    VALUES (N'出库批量建任务优先级递减计数阀值', N'outOrderBatchPriorityThreshold', N'1', 1, 1);
END;
