|
@@ -126,7 +126,7 @@ public class ExamStudentController extends ControllerSupport {
|
|
|
@PathVariable Integer pageSize) {
|
|
|
Specification<ExamStudent> specification = (root, query, cb) -> {
|
|
|
List<Predicate> predicates = new ArrayList<>();
|
|
|
- predicates.add(cb.equal(root.get("rootOrgId"), examCriteria.getRootOrgId()));
|
|
|
+ predicates.add(cb.equal(root.get("rootOrgId"), getRootOrgId()));
|
|
|
|
|
|
if (null != examCriteria.getOrgId()) {
|
|
|
predicates.add(cb.equal(root.get("orgId"), examCriteria.getOrgId()));
|