feat(user): 新增开发者筛选条件

- 在UserParam中添加isDeveloper字段及其注解说明
- 在UserMapper.xml中添加isDeveloper的查询条件判断
- 支持根据开发者身份进行用户筛选查询
This commit is contained in:
2026-06-05 17:19:31 +08:00
parent 2a880df691
commit 779f90e813
2 changed files with 7 additions and 0 deletions

View File

@@ -125,6 +125,9 @@
<if test="param.isAdmin != null">
AND a.is_admin = #{param.isAdmin}
</if>
<if test="param.isDeveloper != null">
AND a.is_developer = #{param.isDeveloper}
</if>
<if test="param.templateId != null">
AND a.template_id = #{param.templateId}
</if>

View File

@@ -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;