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 1229cca3..7156453b 100644 --- a/cash-service/account-service/src/main/resources/mapper/ShopUserMapper.xml +++ b/cash-service/account-service/src/main/resources/mapper/ShopUserMapper.xml @@ -148,7 +148,7 @@ noOrder == 1 or oneOrder == 1 or fiveOrder == 1"> LEFT JOIN `order` o ON u.user_id = o.user_id and o.user_id is not null AND o.shop_id = #{shopId} AND o.status = 'done' - WHERE u.main_shop_id = #{mainShopId} + WHERE u.main_shop_id = #{mainShopId} and u.phone is not null AND