fix:删掉没用的引入

This commit is contained in:
wenyann 2021-06-25 17:59:56 +08:00 committed by 刘瑞斌
parent 42925f16dd
commit de4a57b4a8
1 changed files with 2 additions and 7 deletions

View File

@ -1,16 +1,11 @@
package io.metersphere.job.sechedule;
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.TestPlanTestCase;
import io.metersphere.base.domain.TestPlanTestCaseWithBLOBs;
import io.metersphere.track.service.IssuesService;
import io.metersphere.track.service.TestPlanTestCaseService;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import java.util.List;
@ -21,8 +16,8 @@ public class IssuesJob {
@Resource
private TestPlanTestCaseService testPlanTestCaseService;
//@QuartzScheduled(fixedDelay = 3600 * 1000)
@Scheduled(fixedDelay = 120 * 1000)
@QuartzScheduled(fixedDelay = 3600 * 1000)
//@Scheduled(fixedDelay = 120 * 1000)
public void IssuesCount() {
/*int pageSize = 100;
int pages = 0;