概算预算不保存净利润

master
OathK1per 2021-12-07 15:00:16 +08:00
parent 05b27780a0
commit b897847b45
1 changed files with 2 additions and 2 deletions

View File

@ -247,8 +247,8 @@ public class ProjectSettleService {
projectSettleNetProfit.setProjectId(project.getId());
projectSettleNetProfit.setType(ProjectSettleProfitMargin.TYPE_NET_PROFIT);
projectSettleNetProfit.setAmount(settleBean.getNetProfit());
projectSettleNetProfit.setBudget(budgetBean.getNetProfitBudgetTotal());
projectSettleNetProfit.setEstimate(estimateBean.getNetProfitEstimateTotal());
projectSettleNetProfit.setBudget(BigDecimal.ZERO);
projectSettleNetProfit.setEstimate(BigDecimal.ZERO);
projectSettleNetProfit.setTime(time);
projectSettleProfitMarginRepository.saveAndFlush(projectSettleNetProfit);
}