This commit is contained in:
77
2024-04-07 23:26:28 +08:00
parent 0ec8bc5be7
commit 70104b6c29

View File

@@ -29,7 +29,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
join xq_user t2 on t1.user_id = t2.id join xq_user t2 on t1.user_id = t2.id
left join xq_dynamic_star t3 on t1.id = t3.dynamic_id left join xq_dynamic_star t3 on t1.id = t3.dynamic_id
where t1.audit_status = 2 and t2.status = 0 where t1.audit_status = 2 and t2.status = 0
<where>
<if test="query.gender != null"> <if test="query.gender != null">
and t2.gender = #{query.gender} and t2.gender = #{query.gender}
</if> </if>
@@ -44,7 +43,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="query.residenceCode != null and query.residenceCode != ''"> <if test="query.residenceCode != null and query.residenceCode != ''">
and t1.residence_code like concat(#{query.residenceCode},'%') and t1.residence_code like concat(#{query.residenceCode},'%')
</if> </if>
</where>
group by t1.id group by t1.id
<choose> <choose>
<when test="query.sortBy != null and query.sortBy == 2"> <when test="query.sortBy != null and query.sortBy == 2">