diff --git a/mallinkService/src/main/resources/mapper/WxBusinessCircleOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxBusinessCircleOrderMapper.xml index 979714afc..12b112d32 100644 --- a/mallinkService/src/main/resources/mapper/WxBusinessCircleOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxBusinessCircleOrderMapper.xml @@ -266,7 +266,7 @@ IFNULL(SUM(`pay_amount`),0) as 'payAmount', IFNULL(SUM(`increased_points`),0) as 'payPoints' FROM wx_business_circle_order - where is_refund = 0 + where is_refund = 0 and merchant_id is not null and `tenant_id` = #{tenantId}