From d8d636fdbdf79d17c459a00e9381be0bf6b17a86 Mon Sep 17 00:00:00 2001 From: fungleo <web@fengcms.com> Date: 星期二, 04 八月 2020 11:39:43 +0800 Subject: [PATCH] 优化 回显数据字典(字符串数组)JS 函数 --- ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml index d78d7da..191f1cc 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml @@ -78,6 +78,7 @@ <select id="checkDeptNameUnique" resultMap="SysDeptResult"> <include refid="selectDeptVo"/> where dept_name=#{deptName} and parent_id = #{parentId} + limit 1 </select> <insert id="insertDept" parameterType="SysDept"> -- Gitblit v1.9.2