|
|
@ -988,6 +988,8 @@ public class AftersalesWorkOrderController extends BladeController { |
|
|
|
basicTitle.add(head2); |
|
|
|
basicTitle.add(head2); |
|
|
|
List<String> head3 = new ArrayList<>(Arrays.asList("理赔金额")); |
|
|
|
List<String> head3 = new ArrayList<>(Arrays.asList("理赔金额")); |
|
|
|
basicTitle.add(head3); |
|
|
|
basicTitle.add(head3); |
|
|
|
|
|
|
|
List<String> head4 = new ArrayList<>(Arrays.asList("最新回复消息")); |
|
|
|
|
|
|
|
basicTitle.add(head4); |
|
|
|
List<AftersalesWorkOrderVO> exportData = aftersalesWorkOrderService.getBasicExportData(aftersalesWorkOrder); |
|
|
|
List<AftersalesWorkOrderVO> exportData = aftersalesWorkOrderService.getBasicExportData(aftersalesWorkOrder); |
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
|
|
|
if (!exportData.isEmpty()) { |
|
|
|
if (!exportData.isEmpty()) { |
|
|
@ -1026,8 +1028,15 @@ public class AftersalesWorkOrderController extends BladeController { |
|
|
|
data.add(17, exportDatum.getHeadquartersName()); |
|
|
|
data.add(17, exportDatum.getHeadquartersName()); |
|
|
|
data.add(18, exportDatum.getResultTypes()); |
|
|
|
data.add(18, exportDatum.getResultTypes()); |
|
|
|
data.add(19, exportDatum.getTotalAmountNum()); |
|
|
|
data.add(19, exportDatum.getTotalAmountNum()); |
|
|
|
|
|
|
|
data.add(20, ""); |
|
|
|
//查询此工单是否存在有责任方如果存在有责任方完善表头
|
|
|
|
//查询此工单是否存在有责任方如果存在有责任方完善表头
|
|
|
|
|
|
|
|
AftersalesWorkOrderDTO workOrderDTO = new AftersalesWorkOrderDTO(); |
|
|
|
|
|
|
|
workOrderDTO.setId(exportDatum.getId()); |
|
|
|
|
|
|
|
AftersalesWorkOrderVO trackRecord = aftersalesWorkOrderService.getTrackRecord(workOrderDTO); |
|
|
|
|
|
|
|
if (!Objects.isNull(trackRecord) && !Objects.isNull(trackRecord.getSurveyRecordEntities())){ |
|
|
|
|
|
|
|
String processingResults = trackRecord.getSurveyRecordEntities().get(0).getProcessingResults(); |
|
|
|
|
|
|
|
data.add(20, processingResults); |
|
|
|
|
|
|
|
} |
|
|
|
if (personResponsibleMap!= null && !Objects.isNull(personResponsibleMap.get(exportDatum.getId()))) { |
|
|
|
if (personResponsibleMap!= null && !Objects.isNull(personResponsibleMap.get(exportDatum.getId()))) { |
|
|
|
handleResponsibility(basicTitle, personResponsibleMap.get(exportDatum.getId()), data); |
|
|
|
handleResponsibility(basicTitle, personResponsibleMap.get(exportDatum.getId()), data); |
|
|
|
} |
|
|
|
} |
|
|
|