parent
d34ae39d8d
commit
3cbe4d951f
|
@ -725,6 +725,7 @@ public class ProjectController extends BaseController {
|
||||||
//付款计划表
|
//付款计划表
|
||||||
List<ProjectBudgetPayPlan> budgetPayPlan = projectBudgetService.getBudgetPayPlan(project);
|
List<ProjectBudgetPayPlan> budgetPayPlan = projectBudgetService.getBudgetPayPlan(project);
|
||||||
model.put("budgetPayPlan", budgetPayPlan);
|
model.put("budgetPayPlan", budgetPayPlan);
|
||||||
|
model.put("budgetPayPlanTotal", budgetPayPlan.stream().filter(p->p.getPayAmount()!=null).map(p->p.getPayAmount()).reduce(BigDecimal.ZERO, BigDecimal::add));
|
||||||
//成本明细
|
//成本明细
|
||||||
List<ProjectBudgetCostDetail> budgetCostDetail = projectBudgetService.getBudgetCostDetail(project);
|
List<ProjectBudgetCostDetail> budgetCostDetail = projectBudgetService.getBudgetCostDetail(project);
|
||||||
model.put("costDetails", budgetCostDetail);
|
model.put("costDetails", budgetCostDetail);
|
||||||
|
|
Loading…
Reference in New Issue