From 5b0525d05c5db8d9732d7acb3741935d3bc9a615 Mon Sep 17 00:00:00 2001
From: shizhenwei <zora_shi@163.com>
Date: 星期日, 27 九月 2020 13:22:23 +0800
Subject: [PATCH] [修改]此工具类应使用参数dateRange而非bind在model上的dateRange

---
 ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
index 2f0c8be..9c35661 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
@@ -61,7 +61,7 @@
     
     <select id="checkConfigKeyUnique" parameterType="String" resultMap="SysConfigResult">
         <include refid="selectConfigVo"/>
-        where config_key = #{configKey}
+        where config_key = #{configKey} limit 1
     </select>
     
     <insert id="insertConfig" parameterType="SysConfig">

--
Gitblit v1.9.2