|
@@ -26,7 +26,7 @@ public interface ExamSubjectDao
|
|
+ "where es.exam_id=?1", nativeQuery = true)
|
|
+ "where es.exam_id=?1", nativeQuery = true)
|
|
public void updateUploadCountByExamId(int examId);
|
|
public void updateUploadCountByExamId(int examId);
|
|
|
|
|
|
- @Query("select s from ExamSubject s where s.pk.examId=?1 order by s.code")
|
|
|
|
|
|
+ @Query("select s from ExamSubject s where s.pk.examId=?1 order by s.pk.code")
|
|
public List<ExamSubject> findByExamId(int examId);
|
|
public List<ExamSubject> findByExamId(int examId);
|
|
|
|
|
|
@Query("select s from ExamSubject s where s.pk.examId=?1 and s.pk.code in (?2)")
|
|
@Query("select s from ExamSubject s where s.pk.examId=?1 and s.pk.code in (?2)")
|