From a9bcfc66c3f4a356a7b84844bd591e5500739c81 Mon Sep 17 00:00:00 2001 From: 也曾为你像超人 <1553592282@qq.com> Date: 星期日, 10 十二月 2023 22:18:35 +0800 Subject: [PATCH] 密码输入错误时,登录日志重复 --- ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml index b1570e2..c211692 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/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.2