|
@@ -379,11 +379,12 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
- public Object updateTypeOther(Integer id, String typeOther,String remarks) {
|
|
|
|
|
|
|
+ public Object updateTypeOther(Integer id, String typeOther,String remarks,String orderNo) {
|
|
|
ExpenseAccount ea = new ExpenseAccount();
|
|
ExpenseAccount ea = new ExpenseAccount();
|
|
|
ea.setId(id);
|
|
ea.setId(id);
|
|
|
if (StringUtils.isNotEmpty(typeOther))ea.setTypeOther(typeOther);
|
|
if (StringUtils.isNotEmpty(typeOther))ea.setTypeOther(typeOther);
|
|
|
if (StringUtils.isNotEmpty(remarks))ea.setRemarks(remarks);
|
|
if (StringUtils.isNotEmpty(remarks))ea.setRemarks(remarks);
|
|
|
|
|
+ if (StringUtils.isNotEmpty(orderNo))ea.setOrderNo(orderNo);
|
|
|
expenseAccountMapper.updateByPrimaryKeySelective(ea);
|
|
expenseAccountMapper.updateByPrimaryKeySelective(ea);
|
|
|
if (StringUtils.isNotEmpty(typeOther)){
|
|
if (StringUtils.isNotEmpty(typeOther)){
|
|
|
MainExpenseAccount mainExpenseAccount = expenseAccountMapper.selectbySonId(id);
|
|
MainExpenseAccount mainExpenseAccount = expenseAccountMapper.selectbySonId(id);
|