|
@@ -84,9 +84,6 @@ public class ExamCertificationServiceImpl extends BaseServiceImpl<Long, ExamCert
|
|
String signInTime = needCheckingDetailDto.getSignInTime();
|
|
String signInTime = needCheckingDetailDto.getSignInTime();
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
Integer waitNum = examRoomStudentRelationDao.sumWaitNum(needCheckingDetailDto.getExamRoomId(),signInTime,sysUser.getId(),needCheckingDetailDto.getExamRoomStudentRelationId());
|
|
Integer waitNum = examRoomStudentRelationDao.sumWaitNum(needCheckingDetailDto.getExamRoomId(),signInTime,sysUser.getId(),needCheckingDetailDto.getExamRoomStudentRelationId());
|
|
- if(waitNum > 0){
|
|
|
|
- waitNum = waitNum - 1;
|
|
|
|
- }
|
|
|
|
needCheckingDetailDto.setWaitNum(waitNum);
|
|
needCheckingDetailDto.setWaitNum(waitNum);
|
|
needCheckingDetailDto.setDesc(sysConfigService.findConfigValue("exam_room_desc",needCheckingDetailDto.getTenantId()));
|
|
needCheckingDetailDto.setDesc(sysConfigService.findConfigValue("exam_room_desc",needCheckingDetailDto.getTenantId()));
|
|
ExamRegistration examRegistration = examRegistrationDao.get(examRegistrationId);
|
|
ExamRegistration examRegistration = examRegistrationDao.get(examRegistrationId);
|