|
@@ -821,7 +821,7 @@ public class ExamApplyServiceImpl extends ServiceImpl<ExamApplyMapper, ExamApply
|
|
|
Transport.send(msg);
|
|
Transport.send(msg);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
|
- return false;
|
|
|
|
|
|
|
+ throw new CustomException("邮件发送失败!请检查邮箱配置");
|
|
|
}
|
|
}
|
|
|
iExamApplySiteTimeService.update(new LambdaUpdateWrapper<ExamApplySiteTime>()
|
|
iExamApplySiteTimeService.update(new LambdaUpdateWrapper<ExamApplySiteTime>()
|
|
|
.in(ExamApplySiteTime::getId, bo.getIds())
|
|
.in(ExamApplySiteTime::getId, bo.getIds())
|