|
@@ -306,11 +306,11 @@ public class ExamRegistrationServiceImpl extends BaseServiceImpl<Long, ExamRegis
|
|
|
@Override
|
|
|
public void updateExamRegistration(ExamRegistration examRegistration) {
|
|
|
if (Objects.isNull(examRegistration.getId())) {
|
|
|
- throw new BizException("请指定学员报名信息");
|
|
|
+ throw new BizException("学员报名信息有误");
|
|
|
}
|
|
|
ExamRegistration er = examRegistrationDao.get(examRegistration.getId().longValue());
|
|
|
if (Objects.isNull(er)) {
|
|
|
- throw new BizException("学员报名信息不存在");
|
|
|
+ throw new BizException("学员报名信息有误");
|
|
|
}
|
|
|
examRegistration.setStatus(null);
|
|
|
examRegistrationDao.update(examRegistration);
|