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