diff --git a/cash-service/account-service/src/main/resources/mapper/ShopUserMapper.xml b/cash-service/account-service/src/main/resources/mapper/ShopUserMapper.xml index a6d9a108c..fcac43c61 100644 --- a/cash-service/account-service/src/main/resources/mapper/ShopUserMapper.xml +++ b/cash-service/account-service/src/main/resources/mapper/ShopUserMapper.xml @@ -43,7 +43,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.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}