deason 5 years ago
parent
commit
3cf1ed4f5d

+ 1 - 1
src/main/java/cn/com/qmth/dp/examcloud/oe/modules/get_student_answer_by_identity_number/GetStduentAnswerByIdentityNumberService.java

@@ -43,7 +43,7 @@ public class GetStduentAnswerByIdentityNumberService {
 
 	private int sqlIndex = 1;
 
-	@Async
+	// @Async
 	public void start(Long examId, String courseCode, String identityNumber) throws Exception {
 		String packageName = this.getClass().getPackage().getName();
 		String packagePath = packageName.replaceAll("\\.", "/");

+ 1 - 1
src/main/java/cn/com/qmth/dp/examcloud/oe/modules/update_correct_answer/FixCorrectAnswerAndResetScoreService.java

@@ -41,7 +41,7 @@ public class FixCorrectAnswerAndResetScoreService {
     @Autowired
     MongoTemplate mongoTemplate;
 
-    @Async
+    // @Async
     public void start() {
         String absolutePath= PropertiesUtil.getString("fixAnswer.data.path");
 //        ClassPathResource classPathResource = new ClassPathResource("temp1.txt");

+ 1 - 1
src/main/java/cn/com/qmth/dp/examcloud/oe/modules/update_correct_answer/ResetScoreService.java

@@ -32,7 +32,7 @@ public class ResetScoreService {
 
     private static final Long MARKING_TYPE_KEY = 24L;// 阅卷方式KEY
 
-    @Async
+    // @Async
     public void start() {
         String absolutePath = PropertiesUtil.getString("fixAnswer.data.path");
 //        ClassPathResource classPathResource = new ClassPathResource("temp1.txt");