|
|
@@ -432,19 +432,19 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
|
|
|
StringBuffer types=new StringBuffer();
|
|
|
for (SonExpenseAccount e : mainExpenseAccount.getSonList()) {
|
|
|
if (e.getType()!=0){
|
|
|
- types=types.append(EATypes.getDescByCode(e.getType()));
|
|
|
+ types.append(EATypes.getDescByCode(e.getType()));
|
|
|
}else {
|
|
|
- types=types.append(e.getTypeOther());
|
|
|
+ types.append(e.getTypeOther());
|
|
|
}
|
|
|
if (e.getType()==2){
|
|
|
if (e.getSecondaryType()==0){
|
|
|
- types=types.append("-").append(e.getSecondaryTypeOther());
|
|
|
+ types.append("-").append(e.getSecondaryTypeOther());
|
|
|
}else{
|
|
|
String descByCode = EAsecondaryTypes.getDescByCode(e.getSecondaryType());
|
|
|
- types=types.append("-").append(descByCode);
|
|
|
+ types.append("-").append(descByCode);
|
|
|
}
|
|
|
}
|
|
|
- types=types.append(",");
|
|
|
+ types.append(",");
|
|
|
}
|
|
|
expenseAccountMapper.updateSonTypeOther(id,types.substring(0,types.length()-1));
|
|
|
}
|