liujie
2025-05-28 1a4e7bbab3d15b36ebb4d7329ee31de62f092eb6
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);
   }
    
}