|
|
|
@ -885,17 +885,16 @@ |
|
|
|
|
<if test='userInfoReq.platformId !=null and userInfoReq.platformId !=""'> |
|
|
|
|
AND FIND_IN_SET(a.platform_id,#{userInfoReq.platformId}) |
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
<if test='userInfoReq.provinceId !=null and userInfoReq.provinceId !=""'> |
|
|
|
|
AND u.province_id = #{userInfoReq.provinceId} |
|
|
|
|
</if> |
|
|
|
|
<if test='userInfoReq.cityId !=null and userInfoReq.cityId !=""'> |
|
|
|
|
and u.city_id =#{userInfoReq.cityId} |
|
|
|
|
</if> |
|
|
|
|
<if test='userInfoReq.searchContent !=null and userInfoReq.searchContent !=""'> |
|
|
|
|
AND ( a.phone LIKE CONCAT('%',#{userInfoReq.searchContent},'%') |
|
|
|
|
OR u.user_name LIKE CONCAT('%',#{userInfoReq.searchContent},'%')) |
|
|
|
|
</if> |
|
|
|
|
<if test='userInfoReq.registration !=null'> |
|
|
|
|
and ta.invitation_account IS NULL |
|
|
|
|
</if> |
|
|
|
|
<if test='userInfoReq.invite !=null'> |
|
|
|
|
AND ta.invitation_account IS NOT NULL |
|
|
|
|
</if> |
|
|
|
|
GROUP BY a.app_open_id |
|
|
|
|
ORDER BY |
|
|
|
|
create_time DESC |
|
|
|
|