This commit is contained in:
77
2024-04-14 16:02:39 +08:00
parent 689968ebc1
commit 855c308264
3 changed files with 7 additions and 4 deletions

View File

@@ -90,6 +90,7 @@ public class User implements Serializable {
* 居住地代码
*/
private String residenceCode;
// private String residenceCityCode;
/**
* 居住城市
*/

View File

@@ -41,8 +41,10 @@ public class HomePageReq extends PageQuery {
private Integer marriage;
@Schema(description = "教育")
private Integer education;
@Schema(description = "居住地")
private String residenceCode;
// @Schema(description = "居住地")
// private String residenceCode;
@Schema(description = "居住地城市中文")
private String residenceCodeStr;
@Schema(description = "VIP查询限制")
private VipQuery vipQuery;

View File

@@ -55,8 +55,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="params.education != null">
and t1.education = #{params.education}
</if>
<if test="params.residenceCode != null and params.residenceCode != ''">
and t1.residence_code like concat(#{params.residenceCode},'%')
<if test="params.residenceCodeStr != null and params.residenceCodeStr != ''">
and t1.residence_city_name = #{params.residenceCodeStr}
</if>
<if test="params.vipQuery != null">
<if test="params.vipQuery.profession != null and params.vipQuery.profession != ''">