|
|
@ -96,6 +96,7 @@ public class TbsBudgetApplicationService { |
|
|
|
TbsBudgetTableVo.TopTheadHeader theadHeader = new TbsBudgetTableVo.TopTheadHeader(); |
|
|
|
theadHeader.setId(scheduleItemBudgetId+""); |
|
|
|
theadHeader.setLabel(budgetCode+"("+scheduleItemName+")"); |
|
|
|
//todo 调整
|
|
|
|
BigDecimal totalUsed = BigDecimal.ZERO; |
|
|
|
for (TbsBudgetCostItem costItem : tmpMap.get(scheduleItemBudgetId)) { |
|
|
|
totalUsed = totalUsed.add(costItem.getCenterGoodsAmount()); |
|
|
@ -221,6 +222,11 @@ public class TbsBudgetApplicationService { |
|
|
|
.map(TbsActivityCenterGoods::toBudgetCostItem).collect(Collectors.toList()); |
|
|
|
List<TbsBudgetCostItem> budgetUnMatchList = actUnMatchList.stream() |
|
|
|
.map(TbsActivityCenterGoods::toBudgetCostItem).collect(Collectors.toList()); |
|
|
|
//绑定录入时可用预算
|
|
|
|
for (TbsBudgetCostItem budgetCostItem : budgetMatchList) { |
|
|
|
BigDecimal currentItemAmount = counterMap.get(budgetCostItem.getScheduleItemBudgetId()); |
|
|
|
budgetCostItem.setScheduleItemAmount(currentItemAmount); |
|
|
|
} |
|
|
|
TbsBudgetTableVo tableVo = null; |
|
|
|
if(buildTableFlag){ |
|
|
|
//构建tableDTO
|
|
|
|