liujie
2025-06-03 ced35443353a013091a70a240c846e4344fec19d
ruoyi-system/src/main/java/com/ruoyi/system/task/base/AbstractJob.java
@@ -13,22 +13,6 @@
import org.slf4j.LoggerFactory;
public abstract class AbstractJob implements Job{
   protected Logger logger = LoggerFactory.getLogger(getClass());
   @Override
   public abstract void execute(JobExecutionContext context) throws JobExecutionException;
   protected FlwTaskMapper flwTaskMapper;
   protected FlwTaskActorMapper flwTaskActorMapper;
   protected SmsUtil smsUtil;
   protected ISysUserService sysUserService;
   public AbstractJob(){
      this.flwTaskMapper = SpringContextsUtil.getBean(FlwTaskMapper.class);
      this.flwTaskActorMapper = SpringContextsUtil.getBean(FlwTaskActorMapper.class);
      this.smsUtil = SpringContextsUtil.getBean(SmsUtil.class);
      this.sysUserService = SpringContextsUtil.getBean(ISysUserService.class);
   }
    
}