package com.zcxk.rabbitmq;

import com.zcxk.quartz.service.DataAlarmDayJobService;
import com.zcxk.quartz.service.DataAlarmMonthJobService;
import com.zcxk.service.MonitorDataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @ClassName DataAlarmHandler
 * @Description: 数据报警处理
 * @Author lihui
 * @Date 2021/6/1
 * @Version V1.0
 **/
@Component
@Slf4j
public class DataAlarmHandler implements CommandLineRunner {

    @Resource
    private MonitorDataService monitorDataService;

    @Resource
    private DataAlarmDayJobService dataAlarmDayJobService;

    @Resource
    private DataAlarmMonthJobService dataAlarmMonthJobService;

    @Override
    public void run(String... args) throws Exception {
         //monitorDataService.getMonitorDataReportByHour();
    }
}
