diff --git a/Framework/YLErp.Resources/DbUpdate/Ver-5.6.0/seed_appconfig.sql b/Framework/YLErp.Resources/DbUpdate/Ver-5.6.0/seed_appconfig.sql new file mode 100644 index 00000000..a20a1ea1 --- /dev/null +++ b/Framework/YLErp.Resources/DbUpdate/Ver-5.6.0/seed_appconfig.sql @@ -0,0 +1,28 @@ +-- 新风控二次审批确认有效期配置 +-- 幂等:已存在则不重复插入 +INSERT INTO appconfig +( + PGroup, + PName, + PValue, + PType, + Remark, + CreateTime, + OptDate +) +SELECT + 'ProjectConfig', + 'Trade.RiskWarningConfirmExpireSeconds', + '300', + 'int', + '新风控二次审批确认有效期(秒),超过后需重新校验', + NOW(), + NOW() +FROM DUAL +WHERE NOT EXISTS +( + SELECT 1 + FROM appconfig + WHERE PGroup = 'ProjectConfig' + AND PName = 'Trade.RiskWarningConfirmExpireSeconds' +);