|
@@ -60,8 +60,8 @@ public interface ExamStudentDao
|
|
public void updateManualAbsent(int id, boolean manualAbsent);
|
|
public void updateManualAbsent(int id, boolean manualAbsent);
|
|
|
|
|
|
@Modifying
|
|
@Modifying
|
|
- @Query("update ExamStudent s set s.manualAbsent=?3 and s.scanCheck=?4 where s.examId=?1 and s.examNumber=?2")
|
|
|
|
- public void updateManualAbsent(int examId, String examNumber, boolean manualAbsent, ScanCheck s);
|
|
|
|
|
|
+ @Query("update ExamStudent s set s.manualAbsent=?3 , s.scanCheck=?4 where s.examId=?1 and s.examNumber=?2")
|
|
|
|
+ public void updateManualAbsentAndScanCheck(int examId, String examNumber, boolean manualAbsent, ScanCheck s);
|
|
|
|
|
|
@Modifying
|
|
@Modifying
|
|
@Query("update ExamStudent s set s.manualAbsent=0 where s.examId=?1")
|
|
@Query("update ExamStudent s set s.manualAbsent=0 where s.examId=?1")
|