Bladeren bron

注释掉无用的代码

syh 4 jaren geleden
bovenliggende
commit
7b6e984205

+ 25 - 25
module-job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/handler/KuaiShouAlarmRuleHourlyCheckJob.java

@@ -1,25 +1,25 @@
-package cn.com.ctop.job.kuaishou.handler;
-
-import cn.com.ctop.alarm.modules.service.IAlarmEventSendService;
-import com.xxl.job.core.handler.annotation.XxlJob;
-import org.quartz.JobExecutionException;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Component;
-
-@Component
-public class KuaiShouAlarmRuleHourlyCheckJob {
-    @Autowired
-    private IAlarmEventSendService alarmEventSendService;
-
-    /**
-     * 定时获取成本数据
-     *
-     * @throws JobExecutionException
-     */
-    @XxlJob("kuaiShouAlarmRuleHourlyCheckJob")
-    public void execute() throws Exception {
-        //检查频率 HOUR - 每小时;HALF_HOUR-每半小时
-        alarmEventSendService.matchAlarmRules("HOUR");
-    }
-}
-
+//package cn.com.ctop.job.kuaishou.handler;
+//
+//import cn.com.ctop.alarm.modules.service.IAlarmEventSendService;
+//import com.xxl.job.core.handler.annotation.XxlJob;
+//import org.quartz.JobExecutionException;
+//import org.springframework.beans.factory.annotation.Autowired;
+//import org.springframework.stereotype.Component;
+//
+//@Component
+//public class KuaiShouAlarmRuleHourlyCheckJob {
+//    @Autowired
+//    private IAlarmEventSendService alarmEventSendService;
+//
+//    /**
+//     * 定时获取成本数据
+//     *
+//     * @throws JobExecutionException
+//     */
+//    @XxlJob("kuaiShouAlarmRuleHourlyCheckJob")
+//    public void execute() throws Exception {
+//        //检查频率 HOUR - 每小时;HALF_HOUR-每半小时
+//        alarmEventSendService.matchAlarmRules("HOUR");
+//    }
+//}
+//

+ 25 - 25
module-job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/handler/KuaiShouAlarmRuleMinuteCheckJob.java

@@ -1,25 +1,25 @@
-package cn.com.ctop.job.kuaishou.handler;
-
-import cn.com.ctop.alarm.modules.service.IAlarmEventSendService;
-import com.xxl.job.core.handler.annotation.XxlJob;
-import org.quartz.JobExecutionException;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Component;
-
-@Component
-public class KuaiShouAlarmRuleMinuteCheckJob {
-    @Autowired
-    private IAlarmEventSendService alarmEventSendService;
-
-    /**
-     * 定时获取成本数据
-     *
-     * @throws JobExecutionException
-     */
-    @XxlJob("kuaiShouAlarmRuleMinuteCheckJob")
-    public void execute(String param) throws Exception {
-        //检查频率 HOUR - 每小时;HALF_HOUR-每半小时
-        alarmEventSendService.matchAlarmRules("HALF_HOUR");
-    }
-}
-
+//package cn.com.ctop.job.kuaishou.handler;
+//
+//import cn.com.ctop.alarm.modules.service.IAlarmEventSendService;
+//import com.xxl.job.core.handler.annotation.XxlJob;
+//import org.quartz.JobExecutionException;
+//import org.springframework.beans.factory.annotation.Autowired;
+//import org.springframework.stereotype.Component;
+//
+//@Component
+//public class KuaiShouAlarmRuleMinuteCheckJob {
+//    @Autowired
+//    private IAlarmEventSendService alarmEventSendService;
+//
+//    /**
+//     * 定时获取成本数据
+//     *
+//     * @throws JobExecutionException
+//     */
+//    @XxlJob("kuaiShouAlarmRuleMinuteCheckJob")
+//    public void execute(String param) throws Exception {
+//        //检查频率 HOUR - 每小时;HALF_HOUR-每半小时
+//        alarmEventSendService.matchAlarmRules("HALF_HOUR");
+//    }
+//}
+//