From 508b884e4feb882816b1c42bfe7972f4b54cb308 Mon Sep 17 00:00:00 2001 From: laishajiang <12977614+laishajiang@user.noreply.gitee.com> Date: Sun, 10 Mar 2024 19:27:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AD=A6=E5=91=98=E7=AE=A1=E7=90=86=E5=88=A0?= =?UTF-8?q?=E9=99=A4bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/biutag/lan/service/impl/PoliceUserServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mailbox-lan/src/main/java/com/biutag/lan/service/impl/PoliceUserServiceImpl.java b/mailbox-lan/src/main/java/com/biutag/lan/service/impl/PoliceUserServiceImpl.java index 6385e36..a81a618 100644 --- a/mailbox-lan/src/main/java/com/biutag/lan/service/impl/PoliceUserServiceImpl.java +++ b/mailbox-lan/src/main/java/com/biutag/lan/service/impl/PoliceUserServiceImpl.java @@ -85,7 +85,8 @@ public class PoliceUserServiceImpl implements IPoliceUserService { .like(StrUtil.isNotBlank(searchValidate.getIdCode()), "u.id_code", searchValidate.getIdCode()) .eq(StrUtil.isNotBlank(searchValidate.getPost()), "u.post_ids", searchValidate.getPost()) .eq(Objects.nonNull(searchValidate.getRole()), "u.role_ids", searchValidate.getRole()) - .eq(StrUtil.isNotBlank(searchValidate.getDeptId()), "u.dept_ids", searchValidate.getDeptId()); + .eq(StrUtil.isNotBlank(searchValidate.getDeptId()), "u.dept_ids", searchValidate.getDeptId()) + .eq("u.is_delete",0); Integer roleId = AdminThreadLocal.getRoleId(); Integer deptId = AdminThreadLocal.getDeptId(); if (RoleEnum.SECOND_DEPT_CLASSES.getRoleId().equals(roleId)) {