|
@@ -113,6 +113,8 @@ public class TExamServiceImpl extends ServiceImpl<TExamMapper, TExam> implements
|
|
|
if(tExam.getExamType() == null){
|
|
if(tExam.getExamType() == null){
|
|
|
if(examPaper.getPaperType() == ExamPaperTypeEnum.Survey.getCode()){
|
|
if(examPaper.getPaperType() == ExamPaperTypeEnum.Survey.getCode()){
|
|
|
tExam.setExamType("3"); // 调查问卷
|
|
tExam.setExamType("3"); // 调查问卷
|
|
|
|
|
+ }else if(tExamAddParam.getChapterId() != null){
|
|
|
|
|
+ tExam.setExamType("2"); // 章节测验
|
|
|
}else{
|
|
}else{
|
|
|
tExam.setExamType("1"); // 普通考试
|
|
tExam.setExamType("1"); // 普通考试
|
|
|
}
|
|
}
|