RuoYi
2020-08-05 8e4c1cf09fd938053293a71e6f17cfee5794b55d
src/main/resources/mybatis/system/SysDeptMapper.xml
@@ -77,7 +77,7 @@
   
   <select id="checkDeptNameUnique" resultMap="SysDeptResult">
       <include refid="selectDeptVo"/>
      where dept_name=#{deptName} and parent_id = #{parentId}
      where dept_name=#{deptName} and parent_id = #{parentId} limit 1
   </select>
    
    <insert id="insertDept" parameterType="SysDept">