|
@@ -9,6 +9,8 @@ package cn.com.qmth.examcloud.core.questions.starter;
|
|
|
|
|
|
import cn.com.qmth.examcloud.core.questions.base.enums.ExamFileType;
|
|
|
import cn.com.qmth.examcloud.core.questions.base.enums.ExportWay;
|
|
|
+import cn.com.qmth.examcloud.core.questions.dao.entity.Course;
|
|
|
+import cn.com.qmth.examcloud.core.questions.service.ExportPaperService;
|
|
|
import cn.com.qmth.examcloud.core.questions.service.ExtractConfigFileService;
|
|
|
import cn.com.qmth.examcloud.core.questions.service.bean.dto.ExportPaperInfoModel;
|
|
|
import cn.com.qmth.examcloud.core.questions.service.temp.CqdxService;
|
|
@@ -46,6 +48,7 @@ public class IndexController {
|
|
|
|
|
|
//exportExtractExcel(response);
|
|
|
//exportQuestionExcel();
|
|
|
+ //exportQuestionStatistic(response);
|
|
|
|
|
|
return "ok";
|
|
|
}
|
|
@@ -103,4 +106,41 @@ public class IndexController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ private void exportQuestionStatistic(HttpServletResponse response) throws Exception {
|
|
|
+ ExportPaperService exportPaperService = SpringContextHolder.getBean(ExportPaperService.class);
|
|
|
+
|
|
|
+ List<Course> courses = new ArrayList<>();
|
|
|
+ courses.add(new Course("英语1-sbsddssssdd", "W00001"));
|
|
|
+
|
|
|
+// courses.add(new Course("仓储与配送管理", "183007"));
|
|
|
+// courses.add(new Course("操作系统原理", "021008"));
|
|
|
+// courses.add(new Course("弹性理论", "051020"));
|
|
|
+// courses.add(new Course("电子商务信息安全", "193004"));
|
|
|
+// courses.add(new Course("供应链管理", "183010"));
|
|
|
+// courses.add(new Course("国际经济法学", "071014"));
|
|
|
+// courses.add(new Course("行政事业管理", "212003"));
|
|
|
+// courses.add(new Course("汇编语言", "021009"));
|
|
|
+// courses.add(new Course("基于INTERNET的管理信息系统", "163001"));
|
|
|
+// courses.add(new Course("计算机软件技术基础(1)", "041020"));
|
|
|
+// courses.add(new Course("建设工程计量", "282002"));
|
|
|
+// courses.add(new Course("软件工程", "021014"));
|
|
|
+// courses.add(new Course("商品学概论", "183002"));
|
|
|
+// courses.add(new Course("信息经济与信息管理", "011009"));
|
|
|
+// courses.add(new Course("中国法制史学", "071008"));
|
|
|
+// courses.add(new Course("财务会计", "061009"));
|
|
|
+// courses.add(new Course("成本会计", "061007"));
|
|
|
+// courses.add(new Course("大学语文", "001030"));
|
|
|
+// courses.add(new Course("法理学", "071002"));
|
|
|
+// courses.add(new Course("房地产开发与经营", "092005"));
|
|
|
+// courses.add(new Course("房屋建筑学(工业厂房)", "051018"));
|
|
|
+// courses.add(new Course("房屋建筑学(民用建筑)", "051017"));
|
|
|
+// courses.add(new Course("分析化学", "532004"));
|
|
|
+// courses.add(new Course("工程地质学", "051003"));
|
|
|
+// courses.add(new Course("工程概预算", "051015"));
|
|
|
+// courses.add(new Course("工程力学", "423002"));
|
|
|
+// courses.add(new Course("工程造价案例分析", "282003"));
|
|
|
+
|
|
|
+ exportPaperService.downQuestionDistribute(courses.get(0).getCode(), response);
|
|
|
+ }
|
|
|
+
|
|
|
}
|