init
This commit is contained in:
@@ -25,6 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
t1.*,t2.age,t2.avatar,t2.usercode,t2.nickname,t2.mobile,t2.gender,t2.age,t2.city
|
||||
from cai_anchor t1
|
||||
left join cai_user t2 on t1.user_id = t2.id
|
||||
order by t1.create_time desc
|
||||
</select>
|
||||
<select id="pageApp" resultType="com.ruoyi.cai.dto.app.vo.AnchorListVo">
|
||||
select t1.avatar,t1.gender,t1.city,t1.nickname,t1.usercode,t1.city_id,t1.city,t2.give_score
|
||||
|
||||
@@ -25,13 +25,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="pageAdmin" resultType="com.ruoyi.cai.dto.admin.vo.UserInviteAdminVo">
|
||||
select t1.*,
|
||||
t2.usercode,t2.mobile,
|
||||
t3.usercode as invite_usercode,t3.mobile as invite_mobile,t3.is_union as invite_is_union,
|
||||
t5.name as union_name
|
||||
t3.usercode as invite_usercode,t3.mobile as invite_mobile,t3.is_union as invite_is_union
|
||||
from cai_user_invite t1
|
||||
left join cai_user t2 on t1.user_id = t2.id
|
||||
left join cai_user t3 on t1.invite_id = t3.id
|
||||
left join cai_union_user t4 on t1.user_id = t4.user_id
|
||||
left join cai_union t5 on t4.union_id = t5.id
|
||||
<where>
|
||||
<if test="bo.mobile != null and bo.mobile != ''">
|
||||
and t2.mobile = #{bo.mobile}
|
||||
@@ -45,9 +42,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="bo.inviteUsercode != null and bo.inviteUsercode != ''">
|
||||
and t3.usercode = #{bo.inviteUsercode}
|
||||
</if>
|
||||
<if test="bo.unionName != null and bo.unionName != ''">
|
||||
and t5.name like concat('%',#{bo.unionName},'%')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and t1.city = #{query.city}
|
||||
</if>
|
||||
</where>
|
||||
order by t2.last_login_time desc
|
||||
</select>
|
||||
<select id="pageApp" resultType="com.ruoyi.cai.dto.app.vo.user.UserListVo">
|
||||
select t1.avatar,t1.gender,t1.city,t1.city_id,t1.nickname,t1.usercode,t1.age,t2.last_live_time
|
||||
|
||||
Reference in New Issue
Block a user