|
|
@ -312,7 +312,22 @@ public class BigScreenController extends BaseController {
|
|
|
|
|
|
|
|
|
|
|
|
Date thirtyMinutesAgo = DateUtil.offsetMinute(new Date(), -NumKit.checkInt(time));
|
|
|
|
Date thirtyMinutesAgo = DateUtil.offsetMinute(new Date(), -NumKit.checkInt(time));
|
|
|
|
QueryWrapper<MetaAlarmInfo> queryWrapper = new QueryWrapper<>();
|
|
|
|
QueryWrapper<MetaAlarmInfo> queryWrapper = new QueryWrapper<>();
|
|
|
|
queryWrapper.gt("alarm_response_time", DateUtil.format(thirtyMinutesAgo, "yyyyMMddHHmmss"));
|
|
|
|
queryWrapper.gt("alarm_response_time", DateUtil.format(thirtyMinutesAgo, "yyyyMMddHHmmss"))
|
|
|
|
|
|
|
|
.and(wrapper -> wrapper.like("alarm_response_unit", "射阳县公安局临海派出所").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局临海派出所第一警务区").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局临海派出所第二警务区").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局临海派出所第三警务区").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局临海派出所第四警务区").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局临港派出所").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局临港派出所社区警务责任区").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局临港派出所第一警务区").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局临港派出所第二警务区").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局临港派出所第一警务区").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局扁担港边防派出所").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局扁担港边防派出所第一警务区").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局黄沙河边防派出所").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局黄沙河边防派出所第一警务区").or()
|
|
|
|
|
|
|
|
.like("alarm_response_unit", "射阳县公安局黄沙河边防派出所第三警务区"));
|
|
|
|
List<MetaAlarmInfo> metaAlarmInfos = alarmInfoService.list(queryWrapper);
|
|
|
|
List<MetaAlarmInfo> metaAlarmInfos = alarmInfoService.list(queryWrapper);
|
|
|
|
return AjaxResult.success(metaAlarmInfos);
|
|
|
|
return AjaxResult.success(metaAlarmInfos);
|
|
|
|
} catch (Exception e) {
|
|
|
|
} catch (Exception e) {
|
|
|
|