|
@@ -1,5 +1,10 @@
|
|
package cn.com.qmth.examcloud.task.service.job;
|
|
package cn.com.qmth.examcloud.task.service.job;
|
|
|
|
|
|
|
|
+import java.util.List;
|
|
|
|
+
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
|
+
|
|
import cn.com.qmth.examcloud.api.commons.enums.NoticeReceiverRuleType;
|
|
import cn.com.qmth.examcloud.api.commons.enums.NoticeReceiverRuleType;
|
|
import cn.com.qmth.examcloud.api.commons.enums.NoticeStatus;
|
|
import cn.com.qmth.examcloud.api.commons.enums.NoticeStatus;
|
|
import cn.com.qmth.examcloud.examwork.api.NoticeCloudService;
|
|
import cn.com.qmth.examcloud.examwork.api.NoticeCloudService;
|
|
@@ -11,12 +16,6 @@ import cn.com.qmth.examcloud.examwork.api.response.GetNoticeRulePublishProgressL
|
|
import cn.com.qmth.examcloud.web.task.AbstractTask;
|
|
import cn.com.qmth.examcloud.web.task.AbstractTask;
|
|
import cn.com.qmth.examcloud.web.task.ScheduleJob;
|
|
import cn.com.qmth.examcloud.web.task.ScheduleJob;
|
|
import cn.com.qmth.examcloud.web.task.TaskTracker;
|
|
import cn.com.qmth.examcloud.web.task.TaskTracker;
|
|
-import org.apache.commons.logging.Log;
|
|
|
|
-import org.apache.commons.logging.LogFactory;
|
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
|
-
|
|
|
|
-import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* @author lideyin
|
|
* @author lideyin
|
|
@@ -30,7 +29,6 @@ public class DisposePublishingNoticeTask extends AbstractTask {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private NoticeCloudService noticeCloudService;
|
|
private NoticeCloudService noticeCloudService;
|
|
- private static final Log log = LogFactory.getLog(DisposePublishingNoticeTask.class);
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void run(ScheduleJob scheduleJob) throws Exception {
|
|
public void run(ScheduleJob scheduleJob) throws Exception {
|