RuoYi
2022-08-22 8d6a2305324438726e7c009c6249aa7aa1319e5f
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">