zhanghl
2025-04-22 d2d8db6a6f66f3b646e395a7a2a4822ce68d5b47
aps-modules/aps-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -159,5 +159,13 @@
   <delete id="deleteDeptById" parameterType="Long">
      update sys_dept set del_flag = '2' where dept_id = #{deptId}
   </delete>
   <select id="selectDeptListByIdList" parameterType="Long" resultMap="SysDeptResult">
      <include refid="selectDeptVo"/>
      where d.del_flag = '0' and dept_id in
      <foreach collection="deptIdList" item="deptId" open="(" separator="," close=")">
         #{deptId}
      </foreach>
      order by d.parent_id, d.order_num
   </select>
</mapper>