Commit 8deacb702e4d1d8395dba195542a7cf106184fbc
Committed by
Gitee
!54 update ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml.
Merge pull request !54 from yongdaidai/N/A
Showing
1 changed file
with
1 additions
and
0 deletions
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
| ... | ... | @@ -78,6 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| 78 | 78 | <select id="checkDeptNameUnique" resultMap="SysDeptResult"> |
| 79 | 79 | <include refid="selectDeptVo"/> |
| 80 | 80 | where dept_name=#{deptName} and parent_id = #{parentId} |
| 81 | + limit 1 | |
| 81 | 82 | </select> |
| 82 | 83 | |
| 83 | 84 | <insert id="insertDept" parameterType="SysDept"> | ... | ... |