Commit 0728dca8 by liyanlin

fix

parent 52d825d1
...@@ -253,6 +253,12 @@ public class CostApiServiceImpl implements CostApiService { ...@@ -253,6 +253,12 @@ public class CostApiServiceImpl implements CostApiService {
costDomain.setAccountingSubjectNo(costTypeDomain.getAccountingSubjectNo()); costDomain.setAccountingSubjectNo(costTypeDomain.getAccountingSubjectNo());
costDomain.setNsAccountingSubjectId(costTypeDomain.getNsAccountingSubjectId()); costDomain.setNsAccountingSubjectId(costTypeDomain.getNsAccountingSubjectId());
//costDomain.setAccountingSubjectName() //costDomain.setAccountingSubjectName()
if(costDomain.getCostForm() == 1) {
List<CostDetailDomain> costDetailDomainList = costDetailDao.selectListByCostNo(costDomain.getCostNo());
CostDetailDomain costDetailDomain = costDetailDomainList.get(0);
BeanUtils.copyProperties(costDomain, costDetailDomain, "id", "detailNo", "costNo","createUserid","createUsername");
costDetailDao.updateById(costDetailDomain);
}
} }
//汇率 //汇率
BigDecimal toRmbRate; BigDecimal toRmbRate;
......
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