|
@@ -90,5 +90,11 @@ public interface ExamStudentDao
|
|
|
|
|
|
public ExamStudent findByExamIdAndSubjectCodeStartingWithAndStudentCode(Integer examId,
|
|
|
String subjectCode, String studentCode);
|
|
|
+
|
|
|
+ @Query(value="select s.id from eb_exam_student s where 1=1 and s.id in (select m.student_id from m_library m where 1=1 and m.marker_id in (select m.id from eb_marker m where 1=1 and m.login_name = ?1 ))",nativeQuery=true)
|
|
|
+ public List<String[]> findIdsByMarkLogin(String markLogin);
|
|
|
+
|
|
|
+ @Query(value="select s.id from eb_exam_student s where 1=1 and s.id in (select m.student_id from m_library m where 1=1 and m.marker_id in (select m.id from eb_marker m where 1=1 and m.name = ?1))",nativeQuery=true)
|
|
|
+ public List<String[]> findIdsByMarkName(String markName);
|
|
|
|
|
|
}
|