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/SysDictTypeMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
index cf7fc06..a3d6ec5 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
@@ -57,7 +57,7 @@
 	
 	<select id="checkDictTypeUnique" parameterType="String" resultMap="SysDictTypeResult">
 		<include refid="selectDictTypeVo"/>
-		where dict_type = #{dictType}
+		where dict_type = #{dictType} limit 1
 	</select>
 	
 	<delete id="deleteDictTypeById" parameterType="Long">

--
Gitblit v1.9.2