Commit e791b1d9 by huluobin

# 更新

parent 35769006
......@@ -109,8 +109,6 @@ public class CostPlanNewPayServiceImpl extends AbstractCostPlanService implement
costDomain.setTypeName(costDetailItem.getTypeName());
costDomain.setAccountingSubjectNo(costDetailItem.getAccountingSubjectNo());
costDomain.setAccountingSubjectName(costDetailItem.getAccountingSubjectName());
costDomain.setAmount(costDetailDomains.stream().map(CostDetailDomain::getAmount).reduce(BigDecimal.ZERO, BigDecimal::add));
costDomain.setDic(costDetailDomains.get(0).getDic());
......
......@@ -87,6 +87,7 @@ public class CostPlanTempServiceImpl implements CostPlanTempService {
costPlanTempDomain.setTypeId(costTypeDomain.getId());
costPlanTempDomain.setTypeNo(costTypeDomain.getTypeNo());
costPlanTempDomain.setTypeName(costTypeDomain.getTypeName());
AccountingSubject accountingSubject = accountingSubjectMapper.selectById(costTypeDomain.getAccountingSubjectId());
......@@ -176,6 +177,7 @@ public class CostPlanTempServiceImpl implements CostPlanTempService {
costPlanTempDomain.setTypeId(costTypeDomain.getId());
costPlanTempDomain.setTypeNo(costTypeDomain.getTypeNo());
costPlanTempDomain.setTypeName(costTypeDomain.getTypeName());
AccountingSubject accountingSubject = accountingSubjectMapper.selectById(costTypeDomain.getAccountingSubjectId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment