IF NOT EXISTS (SELECT 1 FROM sys_config WHERE code = N'outBatchSeqStatus25Threshold')
BEGIN
    INSERT INTO sys_config (name, code, value, type, status)
    VALUES (N'出库进仓编号25状态数量阀值', N'outBatchSeqStatus25Threshold', N'1', 1, 1);
END;
