From 05657b2b6abba4c1f61d1599bf27984897e500a5 Mon Sep 17 00:00:00 2001 From: Gitea Date: Wed, 13 Nov 2024 17:29:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=95=E4=BA=BA=E6=B3=A8=E5=86=8C=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E6=B2=A1=E6=9C=89=E5=8E=BB=E6=8E=89=E5=B7=B2=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jeecg/modules/system/controller/SysDepartController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysDepartController.java b/jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysDepartController.java index e97c8a3..c033d85 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysDepartController.java +++ b/jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysDepartController.java @@ -204,7 +204,7 @@ public class SysDepartController { @GetMapping(value = "/getDepartList4Quxian") public Result> getDepartList4Quxian() { SysDepart sysDepart = sysDepartService.getOne(new LambdaQueryWrapper().eq(SysDepart::getDelFlag, "0").eq(SysDepart::getParentId, "")); - List departList4Quxian = sysDepartService.list(new LambdaQueryWrapper().eq(SysDepart::getParentId, sysDepart.getId())); + List departList4Quxian = sysDepartService.list(new LambdaQueryWrapper().eq(SysDepart::getParentId, sysDepart.getId()).eq(SysDepart::getDelFlag, "0")); List quXianDepartVos = new ArrayList<>(); Optional.ofNullable(departList4Quxian).orElse(new LinkedList<>()).stream().forEach(depart -> { QuXianDepartVo vo = new QuXianDepartVo();