字段修改
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
from tb_user_info as a
|
from tb_user_info as a
|
||||||
left join tb_shop_user as b on a.id = b.user_id
|
left join tb_shop_user as b on a.id = b.user_id
|
||||||
left join tb_shop_activate_coupon_record as c
|
left join tb_shop_activate_coupon_record as c
|
||||||
on c.shop_id = b.shop_id and c.vip_user_id = b.id and c.`status` = 'used'
|
on c.shop_id = b.shop_id and c.shop_user_id = b.id and c.`status` = 'used'
|
||||||
where a.id = #{userId}
|
where a.id = #{userId}
|
||||||
</select>
|
</select>
|
||||||
<select id="selectPageByKeyAndIsVip" resultType="com.czg.account.entity.ShopUser">
|
<select id="selectPageByKeyAndIsVip" resultType="com.czg.account.entity.ShopUser">
|
||||||
|
|||||||
Reference in New Issue
Block a user