From c6901af945ffbabafb4d50f39d2beb3b6a4af677 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期三, 09 七月 2025 17:20:32 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- multi-system/src/main/java/com/gkhy/exam/system/service/ISysDeptService.java | 25 +++++++++++++++++++++++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/ISysDeptService.java b/multi-system/src/main/java/com/gkhy/exam/system/service/ISysDeptService.java index c5c7379..5d0eb69 100644 --- a/multi-system/src/main/java/com/gkhy/exam/system/service/ISysDeptService.java +++ b/multi-system/src/main/java/com/gkhy/exam/system/service/ISysDeptService.java @@ -2,8 +2,12 @@ +import com.gkhy.exam.common.api.CommonPage; import com.gkhy.exam.common.domain.TreeSelect; import com.gkhy.exam.common.domain.entity.SysDept; +import com.gkhy.exam.system.domain.SysFunctionalDistribution; +import com.gkhy.exam.system.domain.req.SysDeptPageReq; +import com.gkhy.exam.system.domain.vo.*; import java.util.List; @@ -14,13 +18,15 @@ */ public interface ISysDeptService { + + CommonPage selectDeptPageList(SysDeptPageReq req); /** * 查询部门管理数据 * * @param dept 部门信息 * @return 部门信息集合 */ - public List<SysDept> selectDeptList(SysDept dept); + public List<DeptVo> selectDeptList(SysDept dept); List<SysDept> getOutDeptList(SysDept dept); @@ -31,6 +37,9 @@ * @return 部门树信息集合 */ public List<TreeSelect> selectDeptTreeList(SysDept dept); + + + List<SysDept> getParentInfo(Long deptId); /** * 构建前端所需要树结构 @@ -62,7 +71,7 @@ * @param deptId 部门ID * @return 部门信息 */ - public SysDept selectDeptById(Long deptId); + public DeptDetialVo selectDeptById(Long deptId); /** * 根据ID查询所有子部门(正常状态) @@ -111,6 +120,18 @@ */ public int insertDept(SysDept dept); + + public int saveDept(SysDeptSaveDTOReq dept); + + + public int saveDeptResponsibility(SysDeptResponsibilityReqVo reqVo); + + List<SysFunctionalDistribution> getFunctionalDistributionList(Long companyId); + + int initFunctionalDistribution(Long companyId); + + int saveFunctionalDistribution(FunctionalDistributionVo reqVo); + /** * 修改保存部门信息 * -- Gitblit v1.9.2