From 3160fcbe360bca723c6011de57e045acf38af6e0 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期四, 11 四月 2024 16:43:09 +0800 Subject: [PATCH] 升级spring-framework到安全版本,防止漏洞风险 --- src/main/resources/mybatis/system/SysConfigMapper.xml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mybatis/system/SysConfigMapper.xml b/src/main/resources/mybatis/system/SysConfigMapper.xml index 98bbbb8..ae96b4d 100644 --- a/src/main/resources/mybatis/system/SysConfigMapper.xml +++ b/src/main/resources/mybatis/system/SysConfigMapper.xml @@ -59,6 +59,11 @@ </where> </select> + <select id="selectConfigById" parameterType="Long" resultMap="SysConfigResult"> + <include refid="selectConfigVo"/> + where config_id = #{configId} + </select> + <select id="checkConfigKeyUnique" parameterType="String" resultMap="SysConfigResult"> <include refid="selectConfigVo"/> where config_key = #{configKey} limit 1 -- Gitblit v1.9.3