|
|
@ -7,6 +7,7 @@ import com.hnac.hzims.common.logs.annotation.OperationAnnotation; |
|
|
|
import com.hnac.hzims.common.logs.enums.BusinessType; |
|
|
|
import com.hnac.hzims.common.logs.enums.BusinessType; |
|
|
|
import com.hnac.hzims.common.logs.enums.OperatorType; |
|
|
|
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.AbnormalAlarmService; |
|
|
|
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; |
|
|
|
import com.hnac.hzims.operational.alert.vo.AlarmReustVo; |
|
|
|
import com.hnac.hzims.operational.alert.vo.AlarmReustVo; |
|
|
@ -39,6 +40,7 @@ import java.util.List; |
|
|
|
@RequestMapping("/abnormal/alarm") |
|
|
|
@RequestMapping("/abnormal/alarm") |
|
|
|
public class AbnormalAlarmController extends BladeController { |
|
|
|
public class AbnormalAlarmController extends BladeController { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private final AbnormalAlarmService alarmService; |
|
|
|
|
|
|
|
|
|
|
|
private final HistoryAbnormalAlarmService service; |
|
|
|
private final HistoryAbnormalAlarmService service; |
|
|
|
/** |
|
|
|
/** |
|
|
@ -154,4 +156,14 @@ public class AbnormalAlarmController extends BladeController { |
|
|
|
return R.data(service.alarmData(page,query)); |
|
|
|
return R.data(service.alarmData(page,query)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
|
|
|
|
@RequestMapping(value = "/syncMonAlar", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
|
|
|
|
@ApiOperationSupport(order = 10) |
|
|
|
|
|
|
|
@ApiOperation(value = "当月告警数据记录", notes = "传入imsDutyMainEntity") |
|
|
|
|
|
|
|
public R syncMonAlar() { |
|
|
|
|
|
|
|
alarmService.alarmDataHandle("1"); |
|
|
|
|
|
|
|
return R.status(true); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|