From 3a19a4973d770ec98b85bb90391500b7fd55bc1b Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期五, 28 二月 2025 18:26:02 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/xiaochen991015/xizang --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TDeptController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TDeptController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TDeptController.java index 0826dc1..fa0e4a9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TDeptController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TDeptController.java @@ -64,7 +64,8 @@ @ApiOperation(value = "获取部门管理列表") @PostMapping(value = "/list") public R<List<TDept>> list() { - return R.ok(deptService.list()); + return R.ok(deptService.list(Wrappers.lambdaQuery(TDept.class) + .eq(TDept::getStatus, 1))); } /** -- Gitblit v1.7.1