deason 2 years ago
parent
commit
fa2b2c6171

+ 3 - 0
examcloud-core-examwork-service/src/main/java/cn/com/qmth/examcloud/core/examwork/service/impl/ExamStudentServiceImpl.java

@@ -30,6 +30,7 @@ import cn.com.qmth.examcloud.core.examwork.service.bean.ExamStudentInfo;
 import cn.com.qmth.examcloud.core.oe.admin.api.ExamRecordCloudService;
 import cn.com.qmth.examcloud.core.oe.admin.api.request.CheckExamIsStartedReq;
 import cn.com.qmth.examcloud.core.oe.admin.api.response.CheckExamIsStartedResp;
+import cn.com.qmth.examcloud.support.Constants;
 import cn.com.qmth.examcloud.task.api.DataSyncCloudService;
 import cn.com.qmth.examcloud.task.api.request.SyncExamStudentReq;
 import cn.com.qmth.examcloud.web.helpers.GlobalHelper;
@@ -359,6 +360,8 @@ public class ExamStudentServiceImpl implements ExamStudentService {
             relation.setCourseName(saved.getCourseName());
             relation.setCourseEnable(courseBean.getEnable());
             relation.setWeixinAnswerEnabled(true);
+            relation.setPassScoreLine(Constants.OE_PASSS_CORE_LINE);
+            relation.setGoodScoreLine(Constants.OE_GOOD_SCORE_LINE);
             examCourseRelationRepo.save(relation);
         } else {
             relation.setCourseLevel(saved.getCourseLevel());