|
@@ -10,6 +10,7 @@ import java.util.stream.Collectors;
|
|
|
|
|
|
import javax.persistence.criteria.Predicate;
|
|
|
|
|
|
+import org.apache.commons.collections4.CollectionUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.domain.Page;
|
|
@@ -233,7 +234,7 @@ public class ExamRecordForMarkingCloudServiceProvider extends ControllerSupport
|
|
|
List<ExamRecordForMarkingEntity> examRecordForMarkingList = examRecordForMarkingService
|
|
|
.queryValidExamRecordInfoByStuIds(examId, courseId, stuIdList, req.getBatchNum());
|
|
|
|
|
|
- if (null == examRecordForMarkingList) {
|
|
|
+ if (CollectionUtils.isEmpty(examRecordForMarkingList)) {
|
|
|
resp.setExamRecordForMarkingBeanList(null);
|
|
|
return resp;
|
|
|
}
|