PoffyZhang 1 year ago
parent
commit
cc9f9e291e
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ConstructionManage.java

+ 6
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ConstructionManage.java View File

@@ -334,6 +334,8 @@ public class ConstructionManage {
item.setDeliveryTime(w.getDeliveryTime()); item.setDeliveryTime(w.getDeliveryTime());
item.setContractAmount(w.getContractAmount()); item.setContractAmount(w.getContractAmount());
item.setAnnualPlanAmount(w.getAnnualPlanAmount()); item.setAnnualPlanAmount(w.getAnnualPlanAmount());
item.setTransactionTime(w.getTransactionTime());
item.setTransactionAmount(w.getTransactionAmount());
return item; return item;
}); });
return PageVo.of(records, total); return PageVo.of(records, total);
@@ -366,6 +368,10 @@ public class ConstructionManage {
exportDTO.setDeliveryTime(r.getDeliveryTime().format(DateTimeFormatter.ofPattern("yyyy-MM-dd"))); exportDTO.setDeliveryTime(r.getDeliveryTime().format(DateTimeFormatter.ofPattern("yyyy-MM-dd")));
exportDTO.setContractAmount(r.getContractAmount()); exportDTO.setContractAmount(r.getContractAmount());
exportDTO.setAnnualPlanAmount(r.getAnnualPlanAmount()); exportDTO.setAnnualPlanAmount(r.getAnnualPlanAmount());
if(Objects.nonNull(r.getTransactionTime())){
exportDTO.setTransactionTime(r.getTransactionTime().format(DateTimeFormatter.ofPattern("yyyy-MM-dd")));
}
exportDTO.setTransactionAmount(r.getTransactionAmount());
return exportDTO; return exportDTO;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
} }


Loading…
Cancel
Save