优惠券记录 状态
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
from tb_user_info as a
|
||||
left join tb_shop_user as b on a.id = b.user_id
|
||||
left join tb_shop_activate_coupon_record as c
|
||||
on c.shop_id = b.shop_id and c.shop_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` = 1
|
||||
where a.id = #{userId}
|
||||
</select>
|
||||
<select id="selectPageByKeyAndIsVip" resultType="com.czg.account.entity.ShopUser">
|
||||
|
||||
Reference in New Issue
Block a user