From 9e47ca901301d0a7af9bdfe49e9845ee07f5f456 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期四, 12 六月 2025 14:46:09 +0800 Subject: [PATCH] 部分功能调整 --- multi-system/src/main/java/com/gkhy/exam/system/mapper/SysDeptMapper.java | 5 +++-- 1 files changed, 3 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..211ab27 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,7 @@ import com.gkhy.exam.common.domain.entity.SysDept; +import com.gkhy.exam.system.domain.vo.DeptVo; import org.apache.ibatis.annotations.Param; import java.util.List; @@ -19,7 +20,7 @@ * @param dept 部门信息 * @return 部门信息集合 */ - public List<SysDept> selectDeptList(SysDept dept); + public List<DeptVo> selectDeptList(SysDept dept); /** * @@ -84,7 +85,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); /** * 新增部门信息 -- Gitblit v1.9.2