|
@@ -60,7 +60,7 @@ public class FireStatisticsServiceImpl implements FireStatisticsService {
|
|
|
Integer monthCount = fireStatisticsMapper.selectCountByRangeDate(startMax, endMax, address, fireType,i+1);
|
|
|
monthList.add(Arith.div(monthCount, distanceOfTwoDate));
|
|
|
Integer yearCount = fireStatisticsMapper.selectCountByRangeDate(null, null,address, fireType,i+1);
|
|
|
- yearList.add(Arith.div(yearCount, distanceOfTwoDate));
|
|
|
+ yearList.add(Arith.div(yearCount, distanceOfTwoDateYear));
|
|
|
}
|
|
|
list.add(thisYearList);
|
|
|
list.add(monthList);
|