From c46575f8d2fbeb3e1d8a270c1e8d335a91ac5e18 Mon Sep 17 00:00:00 2001
From: 1178634255 <1178634255@qq.com>
Date: Fri, 7 Jul 2023 18:43:15 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main/java/com/glxp/api/req/auth/FilterAuthUserRequest.java | 1 +
src/main/resources/mybatis/mapper/auth/AuthAdminDao.xml | 3 +++
2 files changed, 4 insertions(+)
diff --git a/src/main/java/com/glxp/api/req/auth/FilterAuthUserRequest.java b/src/main/java/com/glxp/api/req/auth/FilterAuthUserRequest.java
index d3f46a12..55a5a7c0 100644
--- a/src/main/java/com/glxp/api/req/auth/FilterAuthUserRequest.java
+++ b/src/main/java/com/glxp/api/req/auth/FilterAuthUserRequest.java
@@ -11,6 +11,7 @@ import java.util.List;
public class FilterAuthUserRequest extends ListPageRequest {
private String userName;
+ private String deptName;
private Integer userFlag;
diff --git a/src/main/resources/mybatis/mapper/auth/AuthAdminDao.xml b/src/main/resources/mybatis/mapper/auth/AuthAdminDao.xml
index cb73d38b..781c5f64 100644
--- a/src/main/resources/mybatis/mapper/auth/AuthAdminDao.xml
+++ b/src/main/resources/mybatis/mapper/auth/AuthAdminDao.xml
@@ -21,6 +21,9 @@
AND userName LIKE CONCAT('%', #{userName}, '%')
+
+ AND auth_dept.name LIKE CONCAT('%', #{deptName}, '%')
+
AND userName != #{neUserName}