|
|
@ -3,6 +3,9 @@ package com.hnac.hzims.operational.alert.controller; |
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
|
|
|
|
import com.hnac.hzims.common.logs.annotation.OperationAnnotation; |
|
|
|
|
|
|
|
import com.hnac.hzims.common.logs.enums.BusinessType; |
|
|
|
|
|
|
|
import com.hnac.hzims.common.logs.enums.OperatorType; |
|
|
|
import com.hnac.hzims.operational.alert.entity.HistoryAbnormalAlarmEntity; |
|
|
|
import com.hnac.hzims.operational.alert.entity.HistoryAbnormalAlarmEntity; |
|
|
|
import com.hnac.hzims.operational.alert.service.HistoryAbnormalAlarmService; |
|
|
|
import com.hnac.hzims.operational.alert.service.HistoryAbnormalAlarmService; |
|
|
|
import com.hnac.hzims.operational.alert.vo.AlarmParamVo; |
|
|
|
import com.hnac.hzims.operational.alert.vo.AlarmParamVo; |
|
|
@ -44,6 +47,8 @@ public class AbnormalAlarmController extends BladeController { |
|
|
|
@RequestMapping(value = "/statisticsTime", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
@RequestMapping(value = "/statisticsTime", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@ApiOperation(value = "统计通讯中断时间", notes = "传入imsDutyMainEntity") |
|
|
|
@ApiOperation(value = "统计通讯中断时间", notes = "传入imsDutyMainEntity") |
|
|
|
|
|
|
|
@OperationAnnotation(moduleName = "通讯告警统计",title = "通讯告警统计", operatorType = OperatorType.MOBILE, |
|
|
|
|
|
|
|
businessType = BusinessType.GENCODE,action = "统计通讯中断时间") |
|
|
|
public R<IPage<HistoryAbnormalAlarmVo>> statisticsTime(HistoryAlarmVo entity, Query query) { |
|
|
|
public R<IPage<HistoryAbnormalAlarmVo>> statisticsTime(HistoryAlarmVo entity, Query query) { |
|
|
|
IPage<HistoryAbnormalAlarmVo> pages = service.getAlarmTime(query,entity); |
|
|
|
IPage<HistoryAbnormalAlarmVo> pages = service.getAlarmTime(query,entity); |
|
|
|
return R.data(pages); |
|
|
|
return R.data(pages); |
|
|
|