feat(user): 添加用户头像筛选功能
parent
6b6cc3eb4e
commit
cc05663f52
|
|
@ -44,5 +44,8 @@ public class UserQryCmd {
|
|||
private Integer employmentFlag;
|
||||
@ApiModelProperty(value = "是否存在人资系统, 1-是, 0-否")
|
||||
private Integer rzFlag;
|
||||
@ApiModelProperty(value = "是否有人脸, 1-是, 0-否")
|
||||
private Integer faceFlag;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -93,6 +93,12 @@
|
|||
<if test="params.rzFlag != null">
|
||||
and u.rz_flag = #{params.rzFlag}
|
||||
</if>
|
||||
<if test="params.faceFlag != null and params.faceFlag == 1">
|
||||
and u.user_avatar_url is not null
|
||||
</if>
|
||||
<if test="params.faceFlag != null and params.faceFlag == 0">
|
||||
and u.user_avatar_url is null
|
||||
</if>
|
||||
|
||||
|
||||
<if test="params.postId != null">
|
||||
|
|
|
|||
Loading…
Reference in New Issue