更新清分订单同步的数据

This commit is contained in:
panshuling321 2022-04-15 14:38:35 +08:00
parent 95d1293abb
commit b9d9831b7c

View File

@ -82,8 +82,7 @@
from xhpc_history_order as ho 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_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 left join xhpc_operator as op on op.operator_id = ct.operator_id
where ho.state <![CDATA[ <> ]]> 3 and ho.del_flag=0 and ho.create_time BETWEEN '2022-04-01' and '2022-04-05' where ho.state <![CDATA[ <> ]]> 3 and ho.del_flag=0
-- and date_format(end_time, '%Y-%m-%d') <![CDATA[ <= ]]> date_sub(curdate(), interval 1 day)
</select> </select>