Commit 55927982 by huluobin

update

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