RuoYi
2020-08-05 51fa66f61aca23d5c8a119672f75fcd291a6cff2
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -64,7 +64,7 @@
   
   <select id="hasChildByDeptId" parameterType="Long" resultType="int">
      select count(1) from sys_dept
      where del_flag = '0' and parent_id = #{deptId}
      where del_flag = '0' and parent_id = #{deptId} limit 1
   </select>
   
   <select id="selectChildrenDeptById" parameterType="Long" resultMap="SysDeptResult">