|
@@ -201,10 +201,10 @@ public interface ExamStudentDao extends PagingAndSortingRepository<ExamStudent,
|
|
public List<ExamStudent> findByExamIdAndStudentCodeAndSubjectCode(int examId, String studentCode, String subjectCode);
|
|
public List<ExamStudent> findByExamIdAndStudentCodeAndSubjectCode(int examId, String studentCode, String subjectCode);
|
|
|
|
|
|
@Query("select sum(s.sheetCount) from ExamStudent s where s.examId=?1 ")
|
|
@Query("select sum(s.sheetCount) from ExamStudent s where s.examId=?1 ")
|
|
- public long sumSheetCountByExamId(Integer examId);
|
|
|
|
|
|
+ public Long sumSheetCountByExamId(Integer examId);
|
|
|
|
|
|
@Query("select sum(s.sheetCount) from ExamStudent s where s.examId=?1 and s.subjectCode=?2 ")
|
|
@Query("select sum(s.sheetCount) from ExamStudent s where s.examId=?1 and s.subjectCode=?2 ")
|
|
- public long sumSheetCountByExamIdAndSubjectCode(int examId, String subjectCode);
|
|
|
|
|
|
+ public Long sumSheetCountByExamIdAndSubjectCode(int examId, String subjectCode);
|
|
|
|
|
|
@Query("select distinct m.subjectCode from ExamStudent m where m.examId=?1 and m.subjectiveStatus in (?2) and m.upload=true and m.absent=false and m.breach=false ")
|
|
@Query("select distinct m.subjectCode from ExamStudent m where m.examId=?1 and m.subjectiveStatus in (?2) and m.upload=true and m.absent=false and m.breach=false ")
|
|
Set<String> findSubjectUnInspectedByExamId(int examId, SubjectiveStatus... status);
|
|
Set<String> findSubjectUnInspectedByExamId(int examId, SubjectiveStatus... status);
|