|
@ -197,8 +197,8 @@ public class BsSgcjsjdBuiProInfoController extends BaseController |
|
|
if (townshipInvestments==null){ |
|
|
if (townshipInvestments==null){ |
|
|
townshipInvestments = BigDecimal.valueOf(BigDecimal.ROUND_UP); |
|
|
townshipInvestments = BigDecimal.valueOf(BigDecimal.ROUND_UP); |
|
|
} |
|
|
} |
|
|
BigDecimal total = centralArrangedFunds.add(cityLevelFunds).add(provincialFunding). |
|
|
String total = String.valueOf(centralArrangedFunds.add(cityLevelFunds).add(provincialFunding). |
|
|
add(countyLevelFunds).add(townshipInvestments); |
|
|
add(countyLevelFunds).add(townshipInvestments)); |
|
|
bsSgcjsjdBuiProInfo.setTotal(total); |
|
|
bsSgcjsjdBuiProInfo.setTotal(total); |
|
|
bsSgcjsjdBuiProInfo.setProjectStatus("0"); |
|
|
bsSgcjsjdBuiProInfo.setProjectStatus("0"); |
|
|
return toAjax(bsSgcjsjdBuiProInfoService.save(bsSgcjsjdBuiProInfo)); |
|
|
return toAjax(bsSgcjsjdBuiProInfoService.save(bsSgcjsjdBuiProInfo)); |
|
@ -233,8 +233,8 @@ public class BsSgcjsjdBuiProInfoController extends BaseController |
|
|
if (townshipInvestments==null){ |
|
|
if (townshipInvestments==null){ |
|
|
townshipInvestments = BigDecimal.valueOf(BigDecimal.ROUND_UP); |
|
|
townshipInvestments = BigDecimal.valueOf(BigDecimal.ROUND_UP); |
|
|
} |
|
|
} |
|
|
BigDecimal total = centralArrangedFunds.add(cityLevelFunds).add(provincialFunding). |
|
|
String total = String.valueOf(centralArrangedFunds.add(cityLevelFunds).add(provincialFunding). |
|
|
add(countyLevelFunds).add(townshipInvestments); |
|
|
add(countyLevelFunds).add(townshipInvestments)); |
|
|
bsSgcjsjdBuiProInfo.setTotal(total); |
|
|
bsSgcjsjdBuiProInfo.setTotal(total); |
|
|
|
|
|
|
|
|
return toAjax(bsSgcjsjdBuiProInfoService.updateById(bsSgcjsjdBuiProInfo)); |
|
|
return toAjax(bsSgcjsjdBuiProInfoService.updateById(bsSgcjsjdBuiProInfo)); |
|
|