zouxuan 5 年之前
父节点
当前提交
a47d58d331

+ 4 - 0
edu-user/edu-user-biz/src/main/java/com/keao/edu/user/service/impl/StudentExamResultServiceImpl.java

@@ -289,6 +289,10 @@ public class StudentExamResultServiceImpl extends BaseServiceImpl<Long, StudentE
 					redisTemplate.delete(recordNotify.getRecordId());
 					Long registrationId = Long.parseLong(recordId);
 					StudentExamResult studentExamResult = studentExamResultDao.findByRegistrationId(registrationId);
+					Integer isFinishedExam = studentExamResult.getIsFinishedExam();
+					if(isFinishedExam != 5 && isFinishedExam != 0){
+						return;
+					}
 					String videoUrl = studentExamResult.getVideoUrl();
 					if(StringUtils.isNotEmpty(videoUrl)){
 						videoUrl += "," + jsonObject.get("fileUrl");