deason 6 năm trước cách đây
mục cha
commit
86db88eeff

+ 2 - 0
examcloud-core-questions-service/src/main/java/cn/com/qmth/examcloud/core/questions/service/impl/ExportPaperServiceImpl.java

@@ -658,6 +658,8 @@ public class ExportPaperServiceImpl implements ExportPaperService {
             }
         }
 
+        log.info("[WriteExcel] " + filePath);
+
         File file = new File(filePath);
         OutputStream out = new FileOutputStream(file);
         workBook.write(out);

+ 1 - 0
examcloud-core-questions-starter/src/main/java/cn/com/qmth/examcloud/core/questions/starter/IndexController.java

@@ -141,6 +141,7 @@ public class IndexController {
 //        courses.add(new Course("工程力学", "423002"));
 //        courses.add(new Course("工程造价案例分析", "282003"));
 
+        //exportPaperService.downQuestionDistribute(courses.get(0).getCode(), response);
         exportPaperService.downQuestionDistributes(courses);
     }