提交修改
This commit is contained in:
parent
d49ae0b390
commit
c66dd78d00
@ -2,26 +2,23 @@ package com.heyu.api.schedule;
|
||||
|
||||
import com.heyu.api.data.entity.calca.ScheduleJobEntity;
|
||||
import com.heyu.api.data.service.calca.ScheduleJobService;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.quartz.CronTrigger;
|
||||
import org.quartz.Scheduler;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Component
|
||||
// @Component
|
||||
@Slf4j
|
||||
public class ScheduleConfigBean {
|
||||
|
||||
@Autowired
|
||||
//@Autowired
|
||||
private Scheduler scheduler;
|
||||
|
||||
|
||||
@Autowired
|
||||
//@Autowired
|
||||
private ScheduleJobService scheduleJobService;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user