|
@@ -98,6 +98,8 @@ public class StudentApplyServiceImpl extends ServiceImpl<StudentApplyDao, Studen
|
|
}
|
|
}
|
|
if (req.getTeachingId() != null) {
|
|
if (req.getTeachingId() != null) {
|
|
List<CategoryVO> listExamSite = examSiteService.listExamSite(req.getTeachingId(), Boolean.FALSE);
|
|
List<CategoryVO> listExamSite = examSiteService.listExamSite(req.getTeachingId(), Boolean.FALSE);
|
|
|
|
+ if(listExamSite.isEmpty())
|
|
|
|
+ return new PageResult<>();
|
|
List<Long> examSiteIds = listExamSite.stream().map(CategoryVO::getId).collect(Collectors.toList());
|
|
List<Long> examSiteIds = listExamSite.stream().map(CategoryVO::getId).collect(Collectors.toList());
|
|
if (!examSiteIds.isEmpty()) {
|
|
if (!examSiteIds.isEmpty()) {
|
|
req.setExamSiteIds(examSiteIds);
|
|
req.setExamSiteIds(examSiteIds);
|