| | |
| | | public void export(@RequestBody ChargingListQuery dto) { |
| | | ChargingOrderTimeVO res = chargingOrderService.chargingList(dto); |
| | | List<TChargingOrderExport> tChargingOrderExports = new ArrayList<>(); |
| | | List<ChargingOrderListVO> exportList = res.getExportList(); |
| | | List<ChargingOrderListVO> exportList = res.getList().getRecords(); |
| | | int i = 0; |
| | | for (ChargingOrderListVO chargingOrderListVO : exportList) { |
| | | TChargingOrderExport tChargingOrderExport = new TChargingOrderExport(); |
| | |
| | | .between(TChargingOrder::getStartTime, byId.getStartTime(), byId.getEndTime()) |
| | | .eq(TChargingOrder::getStatus, 5) |
| | | .eq(TChargingOrder::getRechargePaymentStatus, 2).list(); |
| | | int i = 1; |
| | | for (TChargingOrder chargingOrder : list) { |
| | | |
| | | } |
| | | byId.setList(list); |
| | | String format = byId.getStartTime().format(DateTimeFormatter.ofPattern("yyyy年MM月dd日HH:mm:ss")); |
| | | String format1 = byId.getEndTime().format(DateTimeFormatter.ofPattern("yyyy年MM月dd日HH:mm:ss")); |