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)) {