|
|
|
@ -80,6 +80,7 @@ public class AlarmHandleServiceImpl extends BaseServiceImpl<AlarmHandleMapper, A
|
|
|
|
|
// 处理记录
|
|
|
|
|
AlarmHandleEntity entity = new AlarmHandleEntity(); |
|
|
|
|
entity.setAlarmId(param.getAlarmId()); |
|
|
|
|
entity.setType(param.getType()); |
|
|
|
|
entity.setDetailId(detail.getId()); |
|
|
|
|
entity.setAlarmTime(param.getAlarmTime()); |
|
|
|
|
entity.setAlarmContent(param.getAlarmContent()); |
|
|
|
@ -150,9 +151,9 @@ public class AlarmHandleServiceImpl extends BaseServiceImpl<AlarmHandleMapper, A
|
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public List<AlarmHandleEntity> handles(List<Long> types) { |
|
|
|
|
public List<AlarmHandleEntity> handles(List<Long> types,Integer alarm) { |
|
|
|
|
String start = DateUtil.format(new Date(),DateUtil.PATTERN_DATE) + " 00:00:00"; |
|
|
|
|
String end = DateUtil.format(new Date(),DateUtil.PATTERN_DATETIME); |
|
|
|
|
return this.baseMapper.handles(types,start,end); |
|
|
|
|
return this.baseMapper.handles(types,alarm,start,end); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|