|
@@ -310,7 +310,7 @@ public class ExamStudentService {
|
|
|
private Specification<ExamStudent> getSpecification(ExamStudentDTO examCriteria) {
|
|
|
Specification<ExamStudent> specification = (root, query, cb) -> {
|
|
|
List<Predicate> predicates = new ArrayList<>();
|
|
|
- predicates.add(cb.equal(root.get("exam").get("enable"),true));
|
|
|
+// predicates.add(cb.equal(root.get("exam").get("enable"),true));
|
|
|
if(!StringUtils.isEmpty(examCriteria.getRootOrgId())){
|
|
|
predicates.add(cb.equal(root.get("rootOrgId"),examCriteria.getRootOrgId()));
|
|
|
}
|