feat(user): 添加用户头像筛选功能

main
zhaokai 2026-03-23 10:52:56 +08:00
parent 6b6cc3eb4e
commit cc05663f52
2 changed files with 9 additions and 0 deletions

View File

@ -44,5 +44,8 @@ public class UserQryCmd {
private Integer employmentFlag;
@ApiModelProperty(value = "是否存在人资系统, 1-是, 0-否")
private Integer rzFlag;
@ApiModelProperty(value = "是否有人脸, 1-是, 0-否")
private Integer faceFlag;
}

View File

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