zhanghl
2025-04-28 edc00f6fbafa9bb74f736e47cafd000fb33ef4f1
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>