|
@@ -470,6 +470,28 @@ public class ExamCloudServiceProvider extends ControllerSupport implements ExamC
|
|
|
return resp;
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "查询考试课程特殊设置")
|
|
|
+ @PostMapping("getExamCourseSetting")
|
|
|
+ @Override
|
|
|
+ public GetExamCourseResp getExamCourseSetting(GetExamCourseReq req) {
|
|
|
+ ExamCourseRelationEntity entity = examCourseRelationRepo.findByExamIdAndCourseId(req.getExamId(), req.getCourseId());
|
|
|
+
|
|
|
+ GetExamCourseResp resp = new GetExamCourseResp();
|
|
|
+ if (entity != null) {
|
|
|
+ ExamCourseRelationBean bean = new ExamCourseRelationBean();
|
|
|
+ bean.setExamId(entity.getExamId());
|
|
|
+ bean.setCourseId(entity.getCourseId());
|
|
|
+ bean.setCourseCode(entity.getCourseCode());
|
|
|
+ bean.setCourseLevel(entity.getCourseLevel());
|
|
|
+ bean.setCourseName(entity.getCourseName());
|
|
|
+ bean.setCourseEnable(entity.getCourseEnable());
|
|
|
+ bean.setPassScoreLine(entity.getPassScoreLine());
|
|
|
+ bean.setGoodScoreLine(entity.getGoodScoreLine());
|
|
|
+ resp.setBean(bean);
|
|
|
+ }
|
|
|
+ return resp;
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "查询考试课程的试卷类型集")
|
|
|
@PostMapping("getExamCoursePaperTypeList")
|
|
|
@Override
|