From 779f90e81318d645597a97858c07040cc739464d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com>
Date: Fri, 5 Jun 2026 17:19:31 +0800
Subject: [PATCH] =?UTF-8?q?feat(user):=20=E6=96=B0=E5=A2=9E=E5=BC=80?=
=?UTF-8?q?=E5=8F=91=E8=80=85=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在UserParam中添加isDeveloper字段及其注解说明
- 在UserMapper.xml中添加isDeveloper的查询条件判断
- 支持根据开发者身份进行用户筛选查询
---
.../com/gxwebsoft/common/system/mapper/xml/UserMapper.xml | 3 +++
.../java/com/gxwebsoft/common/system/param/UserParam.java | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/src/main/java/com/gxwebsoft/common/system/mapper/xml/UserMapper.xml b/src/main/java/com/gxwebsoft/common/system/mapper/xml/UserMapper.xml
index 770cea7..03c5f4a 100644
--- a/src/main/java/com/gxwebsoft/common/system/mapper/xml/UserMapper.xml
+++ b/src/main/java/com/gxwebsoft/common/system/mapper/xml/UserMapper.xml
@@ -125,6 +125,9 @@
AND a.is_admin = #{param.isAdmin}
+
+ AND a.is_developer = #{param.isDeveloper}
+
AND a.template_id = #{param.templateId}
diff --git a/src/main/java/com/gxwebsoft/common/system/param/UserParam.java b/src/main/java/com/gxwebsoft/common/system/param/UserParam.java
index 6f303b0..ff39a54 100644
--- a/src/main/java/com/gxwebsoft/common/system/param/UserParam.java
+++ b/src/main/java/com/gxwebsoft/common/system/param/UserParam.java
@@ -225,6 +225,10 @@ public class UserParam extends BaseParam {
@TableField(exist = false)
private Boolean isAdmin;
+ @Schema(description = "是否开发者")
+ @TableField(exist = false)
+ private Boolean isDeveloper;
+
@Schema(description = "是否企业管理员")
private Integer isOrganizationAdmin;