Browse Source

预警

dev_kxc
慕月霜笙 11 months ago
parent
commit
53d436d468
  1. 10
      jwtech-system/src/main/java/com/kms/build/service/BsSgcjsjdBuiProInfoService.java

10
jwtech-system/src/main/java/com/kms/build/service/BsSgcjsjdBuiProInfoService.java

@ -430,6 +430,7 @@ public class BsSgcjsjdBuiProInfoService extends BaseService<BsSgcjsjdBuiProInfoM
.eq("pro_no", sp.getData().getProNo()).eq("pro_code", sp.getData().getProCode())); .eq("pro_no", sp.getData().getProNo()).eq("pro_code", sp.getData().getProCode()));
BigDecimal total=BigDecimal.ZERO; BigDecimal total=BigDecimal.ZERO;
if (!ObjectUtil.isEmpty(bp)){
if (bp.getV1() != null) { if (bp.getV1() != null) {
total = total.add(bp.getV1()); total = total.add(bp.getV1());
} }
@ -466,11 +467,12 @@ public class BsSgcjsjdBuiProInfoService extends BaseService<BsSgcjsjdBuiProInfoM
if (bp.getV12() != null) { if (bp.getV12() != null) {
total = total.add(bp.getV2()); total = total.add(bp.getV2());
} }
stageStatistics.setCompleteInvestmentAmount(total); stageStatistics.setCompleteInvestmentAmount(total);
stageStatistics.setPlanInvestmentAmount(bsSgcjsjdBuiProInfo.getCentralArrangedFunds() stageStatistics.setPlanInvestmentAmount(bsSgcjsjdBuiProInfo.getCentralArrangedFunds()
.add(bsSgcjsjdBuiProInfo.getProvincialFunding()).add(bsSgcjsjdBuiProInfo.getCityLevelFunds()) .add(bsSgcjsjdBuiProInfo.getProvincialFunding()).add(bsSgcjsjdBuiProInfo.getCityLevelFunds())
.add(bsSgcjsjdBuiProInfo.getCountyLevelFunds()).add(bsSgcjsjdBuiProInfo.getTownshipInvestments())); .add(bsSgcjsjdBuiProInfo.getCountyLevelFunds()).add(bsSgcjsjdBuiProInfo.getTownshipInvestments()));
}
return stageStatistics; return stageStatistics;
} }

Loading…
Cancel
Save