From 5faa3f478f9d36422c5d1a19c4e2da7250afd70f Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: Wed, 09 Jul 2025 17:20:24 +0800
Subject: [PATCH] 优化改造sql
---
multi-system/src/main/java/com/gkhy/exam/system/service/ISysDeptService.java | 8 ++++++--
1 files changed, 6 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 5a2f52d..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
@@ -6,6 +6,7 @@
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;
@@ -18,7 +19,7 @@
public interface ISysDeptService
{
- CommonPage selectDeptPageList(SysDept req);
+ CommonPage selectDeptPageList(SysDeptPageReq req);
/**
* 查询部门管理数据
*
@@ -35,7 +36,10 @@
* @param dept 部门信息
* @return 部门树信息集合
*/
- public List<SysDept> selectDeptTreeList(SysDept dept);
+ public List<TreeSelect> selectDeptTreeList(SysDept dept);
+
+
+ List<SysDept> getParentInfo(Long deptId);
/**
* 构建前端所需要树结构
--
Gitblit v1.9.2