|
@@ -900,7 +900,7 @@ public class ExamStudentServiceImpl implements ExamStudentService {
|
|
public ExamStudentInfo saveExamStudent(ExamStudentInfo examStudentInfo) {
|
|
public ExamStudentInfo saveExamStudent(ExamStudentInfo examStudentInfo) {
|
|
String paperType = examStudentInfo.getPaperType();
|
|
String paperType = examStudentInfo.getPaperType();
|
|
if (StringUtils.isBlank(paperType)) {
|
|
if (StringUtils.isBlank(paperType)) {
|
|
- paperType = "A";
|
|
|
|
|
|
+ paperType = "X";
|
|
} else if (!paperType.matches("[A-Z]")) {
|
|
} else if (!paperType.matches("[A-Z]")) {
|
|
throw new StatusException("E-100020", "paperType must be one of A-Z");
|
|
throw new StatusException("E-100020", "paperType must be one of A-Z");
|
|
}
|
|
}
|