init
This commit is contained in:
@@ -25,10 +25,12 @@ 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
|
||||
t3.usercode as invite_usercode,t3.mobile as invite_mobile,t3.is_union as invite_is_union,
|
||||
t4.gift_income_rate,t4.guard_income_rate,t4.video_income_rate,t4.pay_income_rate
|
||||
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_user_info t4 on t1.invite_id = t4.user_id
|
||||
<where>
|
||||
<if test="bo.mobile != null and bo.mobile != ''">
|
||||
and t2.mobile = #{bo.mobile}
|
||||
|
||||
Reference in New Issue
Block a user