|
@@ -102,6 +102,8 @@ public class ExamCourseServiceImpl implements ExamCourseService {
|
|
info.setCourseLevel(entity.getCourseLevel());
|
|
info.setCourseLevel(entity.getCourseLevel());
|
|
info.setCourseEnable(entity.getCourseEnable());
|
|
info.setCourseEnable(entity.getCourseEnable());
|
|
info.setWeixinAnswerEnabled(entity.getWeixinAnswerEnabled());
|
|
info.setWeixinAnswerEnabled(entity.getWeixinAnswerEnabled());
|
|
|
|
+ info.setPassScoreLine(entity.getPassScoreLine());
|
|
|
|
+ info.setGoodScoreLine(entity.getGoodScoreLine());
|
|
return info;
|
|
return info;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -125,4 +127,14 @@ public class ExamCourseServiceImpl implements ExamCourseService {
|
|
log.warn("updateWeixinAnswerEnabled examId={} courseCode={} enabled={} effectCount={}", examId, courseCode, enabled, effect);
|
|
log.warn("updateWeixinAnswerEnabled examId={} courseCode={} enabled={} effectCount={}", examId, courseCode, enabled, effect);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public void settingScoreLine(Long examId, Long courseId, Integer passScoreLine, Integer goodScoreLine) {
|
|
|
|
+ if (examId == null || courseId == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ int effect = examCourseRelationRepo.updateScoreLine(examId, courseId, passScoreLine, goodScoreLine, new Date());
|
|
|
|
+ log.warn("updateScoreLine examId:{} courseId:{} passScoreLine:{} goodScoreLine:{} effectCount={}",
|
|
|
|
+ examId, courseId, passScoreLine, goodScoreLine, effect);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|