|
@@ -761,7 +761,7 @@ public class StudentApplyServiceImpl extends ServiceImpl<StudentApplyDao, Studen
|
|
}
|
|
}
|
|
// 2.查询考试日期的待排考的考生
|
|
// 2.查询考试日期的待排考的考生
|
|
List<StudentApplyEntity> toBeLayoutStudentList = this.baseMapper.listTimePeriod(
|
|
List<StudentApplyEntity> toBeLayoutStudentList = this.baseMapper.listTimePeriod(
|
|
- noCancelTimePeroidList.stream().map(item -> item.getId()).collect(Collectors.toList()),
|
|
|
|
|
|
+ noCancelTimePeroidList.stream().map(BaseEntity::getId).collect(Collectors.toList()),
|
|
Boolean.FALSE);
|
|
Boolean.FALSE);
|
|
if (toBeLayoutStudentList == null || toBeLayoutStudentList.isEmpty()) {
|
|
if (toBeLayoutStudentList == null || toBeLayoutStudentList.isEmpty()) {
|
|
log.warn("没有待排考的考生");
|
|
log.warn("没有待排考的考生");
|
|
@@ -783,7 +783,6 @@ public class StudentApplyServiceImpl extends ServiceImpl<StudentApplyDao, Studen
|
|
}
|
|
}
|
|
} catch (StatusException e) {
|
|
} catch (StatusException e) {
|
|
log.error(e.getMessage());
|
|
log.error(e.getMessage());
|
|
- e.printStackTrace();
|
|
|
|
} finally {
|
|
} finally {
|
|
try {
|
|
try {
|
|
// 解锁前检查当前线程是否持有该锁
|
|
// 解锁前检查当前线程是否持有该锁
|
|
@@ -855,6 +854,7 @@ public class StudentApplyServiceImpl extends ServiceImpl<StudentApplyDao, Studen
|
|
public List<ExamRoomEntity> listExamRoom(Long examSiteId) {
|
|
public List<ExamRoomEntity> listExamRoom(Long examSiteId) {
|
|
LambdaQueryWrapper<ExamRoomEntity> wrapper = new LambdaQueryWrapper<>();
|
|
LambdaQueryWrapper<ExamRoomEntity> wrapper = new LambdaQueryWrapper<>();
|
|
wrapper.eq(ExamRoomEntity::getExamSiteId, examSiteId);
|
|
wrapper.eq(ExamRoomEntity::getExamSiteId, examSiteId);
|
|
|
|
+ wrapper.eq(ExamRoomEntity::getEnable, Boolean.TRUE);
|
|
wrapper.orderByAsc(ExamRoomEntity::getCode);
|
|
wrapper.orderByAsc(ExamRoomEntity::getCode);
|
|
return examRoomService.list(wrapper);
|
|
return examRoomService.list(wrapper);
|
|
}
|
|
}
|