| | |
| | | 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(); |
| | |
| | | tChargingOrderExport.setCity(data.get(0).getCity()); |
| | | tChargingOrderExport.setCityName(data.get(0).getDistricts()); |
| | | tChargingOrderExport.setSiteType(data.get(0).getSiteType()); |
| | | |
| | | tChargingOrderExport.setStatus(data.get(0).getStatus()+""); |
| | | Partner data2 = siteClient.getPartnerR(data.get(0).getPartnerId()).getData(); |
| | | if (data2!=null){ |
| | | tChargingOrderExport.setPartner(data2.getName()); |