From b9d9831b7cd47beb8b0f2837b89c570cc6787447 Mon Sep 17 00:00:00 2001 From: panshuling321 Date: Fri, 15 Apr 2022 14:38:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B8=85=E5=88=86=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=90=8C=E6=AD=A5=E7=9A=84=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/XhpcHistoryOrderMapper.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xhpc-modules/xhpc-clearing/src/main/resources/mapper/XhpcHistoryOrderMapper.xml b/xhpc-modules/xhpc-clearing/src/main/resources/mapper/XhpcHistoryOrderMapper.xml index 6a4d7b7b..2f9a100f 100644 --- a/xhpc-modules/xhpc-clearing/src/main/resources/mapper/XhpcHistoryOrderMapper.xml +++ b/xhpc-modules/xhpc-clearing/src/main/resources/mapper/XhpcHistoryOrderMapper.xml @@ -82,8 +82,7 @@ from xhpc_history_order as ho left join xhpc_charging_station as ct on ct.charging_station_id = ho.charging_station_id left join xhpc_operator as op on op.operator_id = ct.operator_id - where ho.state ]]> 3 and ho.del_flag=0 and ho.create_time BETWEEN '2022-04-01' and '2022-04-05' --- and date_format(end_time, '%Y-%m-%d') date_sub(curdate(), interval 1 day) + where ho.state ]]> 3 and ho.del_flag=0