fix:账户交易记录,bug修复。
This commit is contained in:
@@ -59,12 +59,16 @@ public class AccountsDealRecordServiceImpl implements IAccountsDealRecordService
|
|||||||
//修改子类别
|
//修改子类别
|
||||||
for (AccountsDealRecordVo accountDeal : list) {
|
for (AccountsDealRecordVo accountDeal : list) {
|
||||||
if(accountDeal.getDealCategory().equals("1")){
|
if(accountDeal.getDealCategory().equals("1")){
|
||||||
|
if(accountDeal.getChildCategory()!=null){
|
||||||
String childCategoryName = DictUtils.getDictLabel("daily_expenses", accountDeal.getChildCategory());
|
String childCategoryName = DictUtils.getDictLabel("daily_expenses", accountDeal.getChildCategory());
|
||||||
accountDeal.setChildCategoryName(childCategoryName);
|
accountDeal.setChildCategoryName(childCategoryName);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if(accountDeal.getChildCategory()!=null){
|
||||||
String childCategoryName = DictUtils.getDictLabel("deal_category", accountDeal.getChildCategory());
|
String childCategoryName = DictUtils.getDictLabel("deal_category", accountDeal.getChildCategory());
|
||||||
accountDeal.setChildCategoryName(childCategoryName);
|
accountDeal.setChildCategoryName(childCategoryName);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user