Commit 55927982 by huluobin

update

parent fd03ecb9
...@@ -73,11 +73,10 @@ public class CostDetailServiceImpl extends ServiceImpl<CostDetailDao, CostDetail ...@@ -73,11 +73,10 @@ public class CostDetailServiceImpl extends ServiceImpl<CostDetailDao, CostDetail
if (req.getTypeNo() != null) { if (req.getTypeNo() != null) {
CostTypeDomain costTypeDomain = costTypeDao.selectByNo(req.getTypeNo()); CostTypeDomain costTypeDomain = costTypeDao.selectByNo(req.getTypeNo());
costDetailDomain.setTypeName(costTypeDomain.getTypeName()); costDetailDomain.setTypeName(costTypeDomain.getTypeName());
}
if (req.getAccountingSubjectNo() != null) { AccountingSubject accountingSubject = accountingSubjectMapper.selectByNo(costTypeDomain.getAccountingSubjectNo());
AccountingSubject accountingSubject = accountingSubjectMapper.selectByNo(req.getAccountingSubjectNo());
costDetailDomain.setAccountingSubjectName(accountingSubject.getName()); costDetailDomain.setAccountingSubjectName(accountingSubject.getName());
} }
......
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