RuoYi
2022-08-03 e0cd5381e248fcfa840dee56d54a2bd2357ce91a
ruoyi-system/src/main/resources/mapper/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">