|
@@ -116,10 +116,10 @@ public class ExamReviewServiceImpl extends BaseServiceImpl<Long, ExamReview> imp
|
|
|
public void add(ExamReview examReview) {
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
sysUserDao.lockUser(sysUser.getId());
|
|
|
- ExamRoom examRoom = examRoomDao.get(examReview.getExamRoomId());
|
|
|
+ /*ExamRoom examRoom = examRoomDao.get(examReview.getExamRoomId());
|
|
|
if(Objects.isNull(examRoom)){
|
|
|
throw new BizException("考场信息错误");
|
|
|
- }
|
|
|
+ }*/
|
|
|
Long examRegistrationId = examReview.getExamRegistrationId();
|
|
|
ExamReview byRegistrationId = examReviewDao.findByRegistrationId(examRegistrationId,sysUser.getId());
|
|
|
if(byRegistrationId != null){
|