|
|
|
@ -154,7 +154,7 @@ public class AlarmHandleServiceImpl extends BaseServiceImpl<AlarmHandleMapper, A
|
|
|
|
|
public List<AlarmHandleEntity> handles(List<Long> types,Integer isEarly) { |
|
|
|
|
if(AbnormalAlarmConstant.INTELLIGENCE_ALARM.equals(isEarly)){ |
|
|
|
|
String end = DateUtil.format(new Date(),DateUtil.PATTERN_DATETIME); |
|
|
|
|
return this.baseMapper.handles(types,null,null); |
|
|
|
|
return this.baseMapper.handles(types,null,end); |
|
|
|
|
} |
|
|
|
|
String start = DateUtil.format(new Date(),DateUtil.PATTERN_DATE) + " 00:00:00"; |
|
|
|
|
String end = DateUtil.format(new Date(),DateUtil.PATTERN_DATETIME); |
|
|
|
|