| | |
| | | import com.aizuda.bpm.mybatisplus.mapper.FlwTaskActorMapper; |
| | | import com.aizuda.bpm.mybatisplus.mapper.FlwTaskMapper; |
| | | import com.ruoyi.system.service.ISysUserService; |
| | | import com.ruoyi.system.service.TSysLiveService; |
| | | import com.ruoyi.system.task.utils.SpringContextsUtil; |
| | | import org.quartz.Job; |
| | | import org.quartz.JobExecutionContext; |
| | |
| | | @Override |
| | | public abstract void execute(JobExecutionContext context) throws JobExecutionException; |
| | | |
| | | protected FlwTaskMapper flwTaskMapper; |
| | | protected FlwTaskActorMapper flwTaskActorMapper; |
| | | protected ISysUserService sysUserService; |
| | | protected TSysLiveService sysLiveService; |
| | | |
| | | public AbstractJob(){ |
| | | this.flwTaskMapper = SpringContextsUtil.getBean(FlwTaskMapper.class); |
| | | this.flwTaskActorMapper = SpringContextsUtil.getBean(FlwTaskActorMapper.class); |
| | | this.sysUserService = SpringContextsUtil.getBean(ISysUserService.class); |
| | | this.sysLiveService = SpringContextsUtil.getBean(TSysLiveService.class); |
| | | } |
| | | |
| | | |