From c739cf07c6c90dfd7797da8ca941ed6e986af7c7 Mon Sep 17 00:00:00 2001 From: buaixuexideshitongxue <2936013465@qq.com> Date: Sat, 9 May 2026 18:32:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=AD=A6=E5=91=98=E4=B8=80=E7=9B=B4?= =?UTF-8?q?=E4=BF=9D=E6=8C=81=E6=94=AF=E6=8C=81=E5=AD=90=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/biutag/supervision/service/SupPoliceService.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/biutag/supervision/service/SupPoliceService.java b/src/main/java/com/biutag/supervision/service/SupPoliceService.java index 116c9d8..6503d3b 100644 --- a/src/main/java/com/biutag/supervision/service/SupPoliceService.java +++ b/src/main/java/com/biutag/supervision/service/SupPoliceService.java @@ -84,12 +84,13 @@ public class SupPoliceService extends ServiceImpl { queryWrapper.like(StrUtil.isNotBlank(param.getPhone()), "p.phone", StrUtil.trim(param.getPhone())); if (StrUtil.isNotBlank(param.getDepartId())) { - if (Objects.nonNull(param.getDepartBranch()) && param.getDepartBranch()) { +// if (Objects.nonNull(param.getDepartBranch()) && param.getDepartBranch()) { List orgIds = departService.getAllNodeIds(param.getDepartId()); queryWrapper.in("p.org_id", orgIds); - } else { - queryWrapper.eq("p.org_id", param.getDepartId()); - } + param.setSize(1000L); +// } else { +// queryWrapper.eq("p.org_id", param.getDepartId()); +// } } queryWrapper.apply(StrUtil.isNotBlank(param.getRoleId()), String.format("find_in_set( '%s', u.role_id) > 0", param.getRoleId()));