From cf0a857a95e621dd47c592a861207d487658b26e Mon Sep 17 00:00:00 2001 From: ruisu Date: Thu, 16 Jul 2026 09:21:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E9=A3=8E=E6=8E=A7?= =?UTF-8?q?=E8=B6=85=E6=97=B6=E6=A0=A1=E9=AA=8C=E6=97=B6=E9=97=B4=E6=8F=92?= =?UTF-8?q?=E5=85=A5sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DbUpdate/Ver-5.6.0/seed_appconfig.sql | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Framework/YLErp.Resources/DbUpdate/Ver-5.6.0/seed_appconfig.sql 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' +);