案件数量趋势统计修改

master
徐杰盟 2024-10-12 15:06:13 +08:00
parent 2894f9cb94
commit fd0238ba1c
1 changed files with 2 additions and 2 deletions

View File

@ -235,7 +235,7 @@ public class SzCaseController extends AbstractCommonFileController{
.filter(item -> .filter(item ->
{ {
calendar.setTime(item.getCaseDate()); calendar.setTime(item.getCaseDate());
return calendar.get(Calendar.MONTH) == finalI; return calendar.get(Calendar.MONTH) + 1 == finalI;
}) })
.count(); .count();
vos.add(new SzCaseStatisticsVo(i,null,Integer.valueOf(String.valueOf(count)))); vos.add(new SzCaseStatisticsVo(i,null,Integer.valueOf(String.valueOf(count))));