fix: 记账账户统计bug修复。
This commit is contained in:
@@ -1427,9 +1427,26 @@ public class StatisticAnalysisImpl implements IStatisticAnalysisService {
|
||||
|
||||
//修改名称加卡号
|
||||
for (AccountsVo accounts : accountsList) {
|
||||
|
||||
String typeName="";
|
||||
switch (accounts.getType()){
|
||||
case "1" :
|
||||
typeName="储蓄账户-";
|
||||
break;
|
||||
case "2" :
|
||||
typeName="信用卡账户-";
|
||||
break;
|
||||
case "3" :
|
||||
typeName="借贷账户-";
|
||||
break;
|
||||
case "5" :
|
||||
typeName="投资账户-";
|
||||
break;
|
||||
case "6" :
|
||||
typeName="POS机账户-";
|
||||
break;
|
||||
}
|
||||
if(accounts.getCode()!=null){
|
||||
accounts.setNameCode(accounts.getName()+"("+ StringUtils.getLastNumberChars(4,accounts.getCode()+")"));
|
||||
accounts.setNameCode(typeName+accounts.getName()+"("+ StringUtils.getLastNumberChars(4,accounts.getCode()+")"));
|
||||
}else {
|
||||
accounts.setNameCode(accounts.getName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user