fix:账户交易记录,bug修复。

This commit is contained in:
tianyongbao
2024-07-15 23:23:43 +08:00
parent c9062f21e7
commit 91d196bd0c

View File

@@ -59,12 +59,16 @@ public class AccountsDealRecordServiceImpl implements IAccountsDealRecordService
//修改子类别
for (AccountsDealRecordVo accountDeal : list) {
if(accountDeal.getDealCategory().equals("1")){
if(accountDeal.getChildCategory()!=null){
String childCategoryName = DictUtils.getDictLabel("daily_expenses", accountDeal.getChildCategory());
accountDeal.setChildCategoryName(childCategoryName);
}
}
else {
if(accountDeal.getChildCategory()!=null){
String childCategoryName = DictUtils.getDictLabel("deal_category", accountDeal.getChildCategory());
accountDeal.setChildCategoryName(childCategoryName);
}
}
}