diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/AllOrderInfoMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/AllOrderInfoMapper.xml index a7ccd772a..3e7f6dee1 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/AllOrderInfoMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/AllOrderInfoMapper.xml @@ -372,7 +372,8 @@ -- SUM(CASE WHEN status = 'refund' THEN pay_money ELSE 0 END) AS totalRefund FROM all_order_info - + where store_id = #{storeId} + AND pay_time = CURDATE()