|
@@ -173,6 +173,8 @@ public class ExamController extends ControllerSupport {
|
|
|
Specification<ExamCourseRelationEntity> specification = (root, query, cb) -> {
|
|
|
List<Predicate> predicates = new ArrayList<>();
|
|
|
|
|
|
+ predicates.add(cb.equal(root.get("examId"), examId));
|
|
|
+
|
|
|
Predicate pr1 = cb.like(root.get("courseName"), toSqlSearchPattern(name));
|
|
|
Predicate pr2 = cb.like(root.get("courseCode"), toSqlSearchPattern(name));
|
|
|
|