|
@@ -346,7 +346,7 @@ public class ExamController extends ControllerSupport {
|
|
|
throw new StatusException("E-001120", "too many examTypes");
|
|
|
}
|
|
|
if (1 == examTypeList.size()) {
|
|
|
- predicates.add(cb.equal(root.get("examType"), examTypeList.get(0)));
|
|
|
+ predicates.add(cb.equal(root.get("examType"), etList.get(0)));
|
|
|
} else {
|
|
|
predicates.add(root.get("examType").in(etList));
|
|
|
}
|