This commit is contained in:
张良(004796)
2024-04-23 15:44:51 +08:00
parent fa2d521be4
commit 15245bc25f
2 changed files with 5 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ public class HomePageReq extends PageQuery {
*/ */
@Schema(hidden = true) @Schema(hidden = true)
private Integer vipStatus = 0; private Integer vipStatus = 0;
@Schema(description = "用户编号")
private String usercode;
@Schema(description = "年龄-开始") @Schema(description = "年龄-开始")
private Integer ageBegin; private Integer ageBegin;
@Schema(description = "年龄-结束") @Schema(description = "年龄-结束")

View File

@@ -30,6 +30,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
join xq_user_info t3 on t1.id = t3.user_id join xq_user_info t3 on t1.id = t3.user_id
join xq_user_status t4 on t1.id = t4.user_id join xq_user_status t4 on t1.id = t4.user_id
where t1.type = 0 and t1.status = 0 and t1.finish_base_status = 1 and t4.personals_status = 1 where t1.type = 0 and t1.status = 0 and t1.finish_base_status = 1 and t4.personals_status = 1
<if test="params.usercode != null">
and t1.usercode >= #{params.usercode}
</if>
<if test="params.birthdayBegin != null"> <if test="params.birthdayBegin != null">
and t1.birthday >= #{params.birthdayBegin} and t1.birthday >= #{params.birthdayBegin}
</if> </if>