|
|
@ -1351,6 +1351,10 @@ public class HuzhouProjectinfoServiceImpl extends ServiceImpl<HuzhouProjectinfoM |
|
|
|
Double estimate = estimatedList.isEmpty()? 0.00 : estimatedList.stream().reduce(0.00, Double::sum); |
|
|
|
BigDecimal estimateMoney = new BigDecimal(String.valueOf(estimate)); |
|
|
|
projectSummary.setEstimateMoney(estimateMoney); |
|
|
|
List<Double> centralList = entry.getValue().stream().map(x->Optional.ofNullable(x.getCentralMoney()).orElse(0.00)).collect(Collectors.toList()); |
|
|
|
double central = centralList.isEmpty()? 0.00 : centralList.stream().reduce(0.00, Double::sum); |
|
|
|
BigDecimal centralMoney = new BigDecimal(String.valueOf(central)); |
|
|
|
projectSummary.setCentralMoney(centralMoney); |
|
|
|
List<String> ids = entry.getValue().stream().map(x -> x.getId()).collect(Collectors.toList()); |
|
|
|
BigDecimal contractMoney=new BigDecimal("0"); |
|
|
|
BigDecimal contractCentralMoney=new BigDecimal("0"); |
|
|
|