PoffyZhang 1 年之前
父節點
當前提交
cc9f9e291e
共有 1 個檔案被更改,包括 6 行新增0 行删除
  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 查看文件

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


Loading…
取消
儲存