|
@@ -395,7 +395,7 @@ public class AlarmCountService extends ServiceImpl<AlarmCountMapper, AlarmCount>
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
Date begindate = sdf.parse(startDate);
|
|
|
Date enddate = sdf.parse(endDate);
|
|
|
- AlarmSnap alarmSnap = alarmSnapService.getById(snapId);
|
|
|
+ AlarmSnap alarmSnap = alarmSnapService.getById(Long.valueOf(snapId));
|
|
|
if (alarmSnap == null)
|
|
|
return new HashMap<>();
|
|
|
|