From dc5e9ce4e0fb964f037ef8c18b926745e5aedc97 Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期三, 16 七月 2025 14:10:13 +0800 Subject: [PATCH] 修改 --- multi-system/src/main/java/com/gkhy/exam/system/mapper/SysDeptMapper.java | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/multi-system/src/main/java/com/gkhy/exam/system/mapper/SysDeptMapper.java b/multi-system/src/main/java/com/gkhy/exam/system/mapper/SysDeptMapper.java index 211ab27..50fd0f7 100644 --- a/multi-system/src/main/java/com/gkhy/exam/system/mapper/SysDeptMapper.java +++ b/multi-system/src/main/java/com/gkhy/exam/system/mapper/SysDeptMapper.java @@ -2,6 +2,8 @@ import com.gkhy.exam.common.domain.entity.SysDept; +import com.gkhy.exam.system.domain.SysDeptManage; +import com.gkhy.exam.system.domain.req.SysDeptPageReq; import com.gkhy.exam.system.domain.vo.DeptVo; import org.apache.ibatis.annotations.Param; @@ -21,6 +23,12 @@ * @return 部门信息集合 */ public List<DeptVo> selectDeptList(SysDept dept); + + + public List<DeptVo> selectDeptPageList(SysDeptPageReq dept); + + + int selectDeptListCount(SysDept dept); /** * @@ -53,6 +61,14 @@ * @return 部门列表 */ public List<SysDept> selectChildrenDeptById(Long deptId); + + /** + * 过滤掉本身和子级部门 + * @param deptId + * @return + */ + + List<SysDept> getParentInfo(Long deptId); /** * 根据ID查询所有子部门(正常状态) @@ -125,4 +141,10 @@ * @return 结果 */ public int deleteDeptById(Long deptId); + + + int insetMangeBatch(List<SysDeptManage> sysDeptManages); + int deleteMangeBatch(long deptId); + + List<SysDeptManage> getAllManage(long deptId); } -- Gitblit v1.9.2