fix: 日常支出统计,bug修复。

This commit is contained in:
tianyongbao
2024-07-16 15:25:21 +08:00
parent c1a2f4eaac
commit cd47fe4c75

View File

@@ -2266,14 +2266,6 @@ public class StatisticAnalysisImpl implements IStatisticAnalysisService {
}
ArrayList<Map<String, Object>> acccountsList = new ArrayList<>();
ArrayList<Map<String, Object>> tableAccountsList = new ArrayList<>();
for (AccountsDealRecordVo vo:accountsDealRecordVoList
) {
Map<String, Object> datamap = new HashMap<>();
datamap.put("time", vo.getName());
datamap.put("value", decimalFormat.format(vo.getAmount()));
tableAccountsList.add(datamap);
}
Collections.reverse(accountsDealRecordVoList);
for (AccountsDealRecordVo vo:accountsDealRecordVoList
) {
@@ -2284,7 +2276,6 @@ public class StatisticAnalysisImpl implements IStatisticAnalysisService {
}
//列表
map.put("acccountsList",acccountsList);
map.put("tableAccountsList",tableAccountsList);
return map;
}