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