From 8deacb702e4d1d8395dba195542a7cf106184fbc Mon Sep 17 00:00:00 2001 From: 若依 <yzz_ivy@163.com> Date: 星期五, 31 七月 2020 16:50:28 +0800 Subject: [PATCH] !54 update ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml. Merge pull request !54 from yongdaidai/N/A --- 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