From 5faa3f478f9d36422c5d1a19c4e2da7250afd70f Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期三, 09 七月 2025 17:20:24 +0800 Subject: [PATCH] 优化改造sql --- multi-system/src/main/java/com/gkhy/exam/system/service/ISysDeptService.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 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 406f476..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,9 +2,11 @@ +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; @@ -16,6 +18,8 @@ */ public interface ISysDeptService { + + CommonPage selectDeptPageList(SysDeptPageReq req); /** * 查询部门管理数据 * @@ -34,6 +38,9 @@ */ public List<TreeSelect> selectDeptTreeList(SysDept dept); + + List<SysDept> getParentInfo(Long deptId); + /** * 构建前端所需要树结构 * -- Gitblit v1.9.2