|
@@ -14,7 +14,7 @@ import com.mongodb.client.FindIterable;
|
|
|
import com.mongodb.client.MongoCollection;
|
|
|
import com.mongodb.client.MongoCursor;
|
|
|
|
|
|
-import cn.com.qmth.dp.examcloud.oe.modules.get_student_one_question_answer.GetStduentOneAnswerService;
|
|
|
+import cn.com.qmth.dp.examcloud.oe.modules.export_data.ExportData;
|
|
|
import cn.com.qmth.examcloud.commons.logging.ExamCloudLog;
|
|
|
import cn.com.qmth.examcloud.commons.logging.ExamCloudLogFactory;
|
|
|
import cn.com.qmth.examcloud.commons.util.JsonUtil;
|
|
@@ -43,10 +43,9 @@ public class Task {
|
|
|
public void start() {
|
|
|
try {
|
|
|
|
|
|
- GetStduentOneAnswerService bean = SpringContextHolder
|
|
|
- .getBean(GetStduentOneAnswerService.class);
|
|
|
+ ExportData bean = SpringContextHolder.getBean(ExportData.class);
|
|
|
+ bean.start();
|
|
|
|
|
|
- bean.start(741L, 1, "01", "28");
|
|
|
} catch (Exception e) {
|
|
|
log.error("unexpected", e);
|
|
|
throw new RuntimeException(e);
|