fix:删掉没用的引入
This commit is contained in:
parent
a78af48e4e
commit
60e1ff1821
|
@ -1,16 +1,11 @@
|
||||||
package io.metersphere.job.sechedule;
|
package io.metersphere.job.sechedule;
|
||||||
|
|
||||||
import com.fit2cloud.quartz.anno.QuartzScheduled;
|
import com.fit2cloud.quartz.anno.QuartzScheduled;
|
||||||
import com.github.pagehelper.Page;
|
|
||||||
import com.github.pagehelper.PageHelper;
|
|
||||||
import io.metersphere.base.domain.IssuesDao;
|
import io.metersphere.base.domain.IssuesDao;
|
||||||
import io.metersphere.base.domain.TestPlanTestCase;
|
|
||||||
import io.metersphere.base.domain.TestPlanTestCaseWithBLOBs;
|
import io.metersphere.base.domain.TestPlanTestCaseWithBLOBs;
|
||||||
import io.metersphere.track.service.IssuesService;
|
import io.metersphere.track.service.IssuesService;
|
||||||
import io.metersphere.track.service.TestPlanTestCaseService;
|
import io.metersphere.track.service.TestPlanTestCaseService;
|
||||||
import org.springframework.scheduling.annotation.Scheduled;
|
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -21,8 +16,8 @@ public class IssuesJob {
|
||||||
@Resource
|
@Resource
|
||||||
private TestPlanTestCaseService testPlanTestCaseService;
|
private TestPlanTestCaseService testPlanTestCaseService;
|
||||||
|
|
||||||
//@QuartzScheduled(fixedDelay = 3600 * 1000)
|
@QuartzScheduled(fixedDelay = 3600 * 1000)
|
||||||
@Scheduled(fixedDelay = 120 * 1000)
|
//@Scheduled(fixedDelay = 120 * 1000)
|
||||||
public void IssuesCount() {
|
public void IssuesCount() {
|
||||||
/*int pageSize = 100;
|
/*int pageSize = 100;
|
||||||
int pages = 0;
|
int pages = 0;
|
||||||
|
|
Loading…
Reference in New Issue