作者 若依
提交者 Gitee

!54 update ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml.

Merge pull request !54 from yongdaidai/N/A
@@ -78,6 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -78,6 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
78 <select id="checkDeptNameUnique" resultMap="SysDeptResult"> 78 <select id="checkDeptNameUnique" resultMap="SysDeptResult">
79 <include refid="selectDeptVo"/> 79 <include refid="selectDeptVo"/>
80 where dept_name=#{deptName} and parent_id = #{parentId} 80 where dept_name=#{deptName} and parent_id = #{parentId}
  81 + limit 1
81 </select> 82 </select>
82 83
83 <insert id="insertDept" parameterType="SysDept"> 84 <insert id="insertDept" parameterType="SysDept">