package com.ruoyi.quartz.task; import com.ruoyi.inspect.service.IArdVideoInspectTaskService; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Component; import javax.annotation.Resource; /** * @Description: 巡检任务 * @ClassName: PatrolInspectionTask * @Author: 刘苏义 * @Date: 2023年05月29日17:18 * @Version: 1.0 **/ @Component("PatrolInspectionTask") public class PatrolInspectionTask { @Resource IArdVideoInspectTaskService ardVideoInspectTaskService; /** * 定时巡检任务 * 刘苏义 * 2023/8/9 9:18:42 */ public void scanRun() { ardVideoInspectTaskService.autoTaskRun(); } }