From 104ae610d1d7e8dab5fff9abe4a56208941d62d7 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期二, 14 十月 2025 09:50:55 +0800
Subject: [PATCH] 修改修复问题及新增功能
---
multi-system/src/main/java/com/gkhy/exam/system/mapper/SysDeptMapper.java | 15 +++++++++++++++
1 files changed, 15 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 5a62f35..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
@@ -3,6 +3,7 @@
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;
@@ -22,6 +23,12 @@
* @return 部门信息集合
*/
public List<DeptVo> selectDeptList(SysDept dept);
+
+
+ public List<DeptVo> selectDeptPageList(SysDeptPageReq dept);
+
+
+ int selectDeptListCount(SysDept dept);
/**
*
@@ -56,6 +63,14 @@
public List<SysDept> selectChildrenDeptById(Long deptId);
/**
+ * 过滤掉本身和子级部门
+ * @param deptId
+ * @return
+ */
+
+ List<SysDept> getParentInfo(Long deptId);
+
+ /**
* 根据ID查询所有子部门(正常状态)
*
* @param deptId 部门ID
--
Gitblit v1.9.2