用户新增专家角色字段

This commit is contained in:
2024-11-28 15:58:19 +08:00
parent 63641bbf4c
commit 65c442e54d
3 changed files with 9 additions and 0 deletions

View File

@@ -216,6 +216,9 @@ public class User implements UserDetails {
@ApiModelProperty("备注")
private String comments;
@ApiModelProperty("专家角色")
private Integer expertType;
@ApiModelProperty("状态, 0正常, 1冻结")
private Integer status;

View File

@@ -167,6 +167,9 @@
<if test="param.sexName != null">
AND c.dict_data_name = #{param.sexName}
</if>
<if test="param.expertType != null">
AND c.expert_type = #{param.expertType}
</if>
<if test="param.keywords != null">
AND (
a.username = #{param.keywords}

View File

@@ -158,6 +158,9 @@ public class UserParam extends BaseParam {
@ApiModelProperty("公司名称")
private String customerName;
@ApiModelProperty("专家角色")
private Integer expertType;
@ApiModelProperty("性别名称")
@TableField(exist = false)
private String sexName;