|
@@ -213,7 +213,7 @@ public class ExamStudentServiceImpl implements ExamStudentService {
|
|
if (null == exam) {
|
|
if (null == exam) {
|
|
throw new StatusException("E-100020", "examId is wrong");
|
|
throw new StatusException("E-100020", "examId is wrong");
|
|
}
|
|
}
|
|
- } else if (StringUtils.isBlank(examName)) {
|
|
|
|
|
|
+ } else if (StringUtils.isNotBlank(examName)) {
|
|
exam = examRepo.findByNameAndRootOrgId(examName, rootOrgId);
|
|
exam = examRepo.findByNameAndRootOrgId(examName, rootOrgId);
|
|
if (null == exam) {
|
|
if (null == exam) {
|
|
throw new StatusException("E-100005", "考试不存在");
|
|
throw new StatusException("E-100005", "考试不存在");
|