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 4e0771707..03dbba2bf 100644 --- a/cash-service/account-service/src/main/resources/mapper/ShopUserMapper.xml +++ b/cash-service/account-service/src/main/resources/mapper/ShopUserMapper.xml @@ -88,7 +88,7 @@ GROUP BY user_id, shop_id ) f ON f.user_id = a.user_id AND f.shop_id = a.shop_id - WHERE a.shop_id = #{shopId} + WHERE a.source_shop_id = #{shopId} AND a.is_vip = #{isVip}