package com.ruoyi.task.taskiml;

import com.ruoyi.bd.service.IBdDevcTrailUwbService;
import com.ruoyi.quartz.domain.SysJob;
import com.ruoyi.task.BaseTask;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 定时任务调度测试
 *
 * @author ruoyi
 */
@Component("objTailTask")
public class ObjTailTask extends BaseTask {

    @Autowired
    private IBdDevcTrailUwbService bdDevcTrailUwbService;

    @Override
    public void run(SysJob taskProperties) {
        bdDevcTrailUwbService.saveUwbTrail();
    }
}
