RuoYi
2022-09-09 e3b12f5621abf80b7c52355c0f6c27dcec7a083d
src/main/resources/mybatis/system/SysDeptMapper.xml
@@ -82,7 +82,7 @@
   
   <select id="checkDeptNameUnique" resultMap="SysDeptResult">
       <include refid="selectDeptVo"/>
      where dept_name=#{deptName} and parent_id = #{parentId} limit 1
      where dept_name=#{deptName} and parent_id = #{parentId} and del_flag = '0' limit 1
   </select>
    
    <insert id="insertDept" parameterType="SysDept">