From b720341b27da54284f844561edfad5dacf13604e Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期三, 09 七月 2025 08:50:48 +0800
Subject: [PATCH] 修改

---
 multi-system/src/main/java/com/gkhy/exam/system/mapper/SysDeptMapper.java |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 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 8b72534..9f2fee6 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.vo.DeptVo;
 import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
@@ -19,7 +21,9 @@
      * @param dept 部门信息
      * @return 部门信息集合
      */
-    public List<SysDept> selectDeptList(SysDept dept);
+    public List<DeptVo> selectDeptList(SysDept dept);
+
+    int selectDeptListCount(SysDept dept);
 
     /**
      *
@@ -84,7 +88,7 @@
      * @param parentId 父部门ID
      * @return 结果
      */
-    public SysDept checkDeptNameUnique(@Param("deptName") String deptName, @Param("parentId") Long parentId);
+    public SysDept checkDeptNameUnique(@Param("companyId") Long companyId,@Param("deptName") String deptName, @Param("parentId") Long parentId);
 
     /**
      * 新增部门信息
@@ -124,4 +128,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