更新订单日志返回的时间格式

This commit is contained in:
panshuling321 2022-02-21 14:33:36 +08:00
parent dc045ab63d
commit 2e7836b2e3
3 changed files with 6 additions and 4 deletions

View File

@ -50,6 +50,8 @@ public class PileLogController extends BaseController {
return getDataTable(pileLogService.getPileRunLogPage(pileId, startTime, endTime)); return getDataTable(pileLogService.getPileRunLogPage(pileId, startTime, endTime));
} }
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, public void export(HttpServletResponse response,
@RequestParam("pileId") String pileId, @RequestParam("pileId") String pileId,

View File

@ -38,9 +38,9 @@
charge_order_no as 'chargeOrderNo', charge_order_no as 'chargeOrderNo',
status as 'status', status as 'status',
remark as 'remark', remark as 'remark',
create_time as 'createTime', replace(create_time, 'T', ' ') as 'createTime',
create_by as 'createBy', create_by as 'createBy',
update_time as 'updateTime', replace(update_time, 'T', ' ') as 'updateTime',
update_by as 'updateBy' update_by as 'updateBy'
from xhpc_device_message from xhpc_device_message
where charge_order_no=#{chargeOrderNo} where charge_order_no=#{chargeOrderNo}

View File

@ -10,8 +10,8 @@
when 1 then '流量方用户' when 1 then '流量方用户'
when 2 then '社区用户' when 2 then '社区用户'
when 3 then 'B端用户' end as 'sourceName', when 3 then 'B端用户' end as 'sourceName',
co.start_time as 'startTime', replace(co.start_time, 'T', ' ') as 'startTime',
co.end_time as 'endTime' replace(co.end_time, 'T', ' ') as 'endTime'
from xhpc_charge_order as co from xhpc_charge_order as co
left join xhpc_charging_station as st on st.charging_station_id =co.charging_station_id left join xhpc_charging_station as st on st.charging_station_id =co.charging_station_id
where co.del_flag =0 where co.del_flag =0