|
@@ -389,7 +389,10 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
|
|
|
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);
|
|
|
|
|
|
|
+ if (StringUtils.isNotEmpty(orderNo)){
|
|
|
|
|
+ ea.setOrderNo(orderNo);
|
|
|
|
|
+ ea.setTargetType(1);
|
|
|
|
|
+ }
|
|
|
expenseAccountMapper.updateByPrimaryKeySelective(ea);
|
|
expenseAccountMapper.updateByPrimaryKeySelective(ea);
|
|
|
if (StringUtils.isNotEmpty(typeOther)){
|
|
if (StringUtils.isNotEmpty(typeOther)){
|
|
|
MainExpenseAccount mainExpenseAccount = expenseAccountMapper.selectbySonId(id);
|
|
MainExpenseAccount mainExpenseAccount = expenseAccountMapper.selectbySonId(id);
|