From 5f07349ff067331735db3afea98f35db24319027 Mon Sep 17 00:00:00 2001 From: jiask <1069621233@qq.com> Date: Sat, 27 Sep 2025 15:34:48 +0800 Subject: [PATCH] =?UTF-8?q?jsk=20=E5=BC=82=E5=9C=B0=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=8E=BB=E6=8E=89=E5=B7=B2=E9=80=80=E5=8D=95?= =?UTF-8?q?=E9=9D=A2=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/reportforms/OrgConsumerMapper.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/reportforms/OrgConsumerMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/reportforms/OrgConsumerMapper.xml index 62f1a172..faa4f1c7 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/reportforms/OrgConsumerMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/reportforms/OrgConsumerMapper.xml @@ -863,7 +863,7 @@ SELECT a.order_id, a.cust_id, a.payable_amount, a.real_amount, a.pay_time, a.canteen_id, NULL AS mch_sn FROM report_order_info a - WHERE a.pay_time >= #{vo.startTime} AND a.pay_time <= #{vo.endTime} + WHERE a.order_refund_state='1' and a.pay_time >= #{vo.startTime} AND a.pay_time <= #{vo.endTime} UNION ALL @@ -920,7 +920,7 @@ SELECT a.order_id, a.cust_id, a.payable_amount, a.real_amount, a.pay_time, a.canteen_id, NULL AS mch_sn FROM report_order_info a - WHERE a.pay_time >= #{startTime} AND a.pay_time <= #{endTime} + WHERE a.order_refund_state='1' and a.pay_time >= #{startTime} AND a.pay_time <= #{endTime} UNION ALL @@ -983,7 +983,7 @@ SELECT order_id, cust_id, payable_amount, real_amount, pay_time, canteen_id, NULL AS mch_sn FROM report_order_info - WHERE pay_time >= #{startTime} AND pay_time <= #{endTime} + WHERE order_refund_state='1' and pay_time >= #{startTime} AND pay_time <= #{endTime} UNION ALL SELECT flow_id AS order_id,