From e32596921bbde8c1ff69cfc1e016dcaceb277766 Mon Sep 17 00:00:00 2001 From: laishajiang <12977614+laishajiang@user.noreply.gitee.com> Date: Sun, 10 Mar 2024 18:19:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AD=A6=E5=91=98=E7=AE=A1=E7=90=86=E8=81=8C?= =?UTF-8?q?=E4=BD=8D=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/biutag/lan/service/impl/PoliceUserServiceImpl.java | 1 + .../biutag/lan/validate/system/PoliceUserSearchValidate.java | 3 +++ 2 files changed, 4 insertions(+) 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 f4f2726..6385e36 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 @@ -83,6 +83,7 @@ public class PoliceUserServiceImpl implements IPoliceUserService { queryWrapper.eq(StrUtil.isNotBlank(searchValidate.getEmpNo()), "u.emp_no", StrUtil.trim(searchValidate.getEmpNo())) .like(StrUtil.isNotBlank(searchValidate.getName()), "u.name", searchValidate.getName()) .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()); Integer roleId = AdminThreadLocal.getRoleId(); diff --git a/mailbox-lan/src/main/java/com/biutag/lan/validate/system/PoliceUserSearchValidate.java b/mailbox-lan/src/main/java/com/biutag/lan/validate/system/PoliceUserSearchValidate.java index 12c4baa..3d5cdc6 100644 --- a/mailbox-lan/src/main/java/com/biutag/lan/validate/system/PoliceUserSearchValidate.java +++ b/mailbox-lan/src/main/java/com/biutag/lan/validate/system/PoliceUserSearchValidate.java @@ -27,6 +27,9 @@ public class PoliceUserSearchValidate implements Serializable { @ApiModelProperty(value = "角色ID") private Integer role; + @ApiModelProperty(value = "职位ID") + private String post; + @ApiModelProperty(value = "部门ID") private String deptId;