init
This commit is contained in:
@@ -91,13 +91,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="vipHomePage" resultType="com.ruoyi.xq.dto.app.user.vo.HomeUserListVo">
|
<select id="vipHomePage" resultType="com.ruoyi.xq.dto.app.user.vo.HomeUserListVo">
|
||||||
select t1.id as user_id, t1.avatar, t1.gender, t1.nickname, t1.birthday, t1.age,t1.residence_city_name,
|
select t1.id as user_id, t1.avatar, t1.gender, t1.nickname, t1.birthday, t1.age,t1.residence_city_name,t3.show_avatar,
|
||||||
t1.education, t1.profession, if(t2.card_num_auth = 1, 1, 0) as cardNumAuthBool
|
t1.education, t1.profession, if(t2.card_num_auth = 1, 1, 0) as cardNumAuthBool
|
||||||
from xq_user t1
|
from xq_user t1
|
||||||
join xq_user_auth t2 on t1.id = t2.user_id
|
join xq_user_auth t2 on t1.id = t2.user_id
|
||||||
join xq_user_status t3 on t1.id = t3.user_id
|
join xq_user_status t3 on t1.id = t3.user_id
|
||||||
join xq_user_login t4 on t1.id = t4.user_id
|
join xq_user_login t4 on t1.id = t4.user_id
|
||||||
where t1.type = 0 and t1.status = 0 and t1.finish_base_status = 1 and t1.open_vip = 1 and t3.push_vip = 1
|
where t1.type = 0 and t1.status = 0 and t1.finish_base_status = 1 and t3.personals_status = 1 and t1.open_vip = 1 and t3.push_vip = 1
|
||||||
order by t4.last_login_time desc
|
order by t4.last_login_time desc
|
||||||
</select>
|
</select>
|
||||||
<select id="getMinUserById" resultType="com.ruoyi.xq.dto.common.user.MinUser">
|
<select id="getMinUserById" resultType="com.ruoyi.xq.dto.common.user.MinUser">
|
||||||
|
|||||||
Reference in New Issue
Block a user