|
@@ -106,7 +106,7 @@ public interface ExamSubjectDao
|
|
|
+ "where t.exam_id =?1 and t.total_score=0", nativeQuery = true)
|
|
|
long getZeroScoreCount(Integer examId);
|
|
|
|
|
|
- @Query(value = "select count(*) from eb_exam_subject t left join eb_mark_group f on t.exam_id=f.exam_id and t.subject_code=f.subject_code "
|
|
|
+ @Query(value = "select count(*) from eb_exam_subject t left join eb_mark_group f on t.exam_id=f.exam_id and t.code=f.subject_code "
|
|
|
+ "where t.exam_id =?1 and t.subjective_score is not null and t.subjective_score>0 and f.exam_id is null", nativeQuery = true)
|
|
|
public long getNoGroupCount(Integer id);
|
|
|
}
|