|
|
@@ -11,6 +11,7 @@ import com.tuoheng.admin.service.IMissionService; |
|
|
|
import com.tuoheng.admin.service.IThInspectionService; |
|
|
|
import com.tuoheng.common.utils.JsonResult; |
|
|
|
import com.tuoheng.common.utils.StringUtils; |
|
|
|
import com.xxl.job.core.handler.annotation.XxlJob; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.scheduling.annotation.Scheduled; |
|
|
@@ -35,7 +36,8 @@ public class ScheduledTask { |
|
|
|
private final static SimpleDateFormat dateformat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
|
|
|
|
|
|
|
|
|
|
|
@Scheduled(fixedRate = 1000) |
|
|
|
// @Scheduled(fixedRate = 1000) |
|
|
|
@XxlJob("lcAirportTaskHandler") |
|
|
|
public void scheduledTask() { |
|
|
|
|
|
|
|
log.info("执行定时执行飞行任务:" + LocalDateTime.now()); |