|
@@ -2572,17 +2572,18 @@ public class StudentServiceImpl extends ServiceImpl<StudentDao, StudentEntity> i
|
|
update(lw);
|
|
update(lw);
|
|
}
|
|
}
|
|
|
|
|
|
- @Transactional
|
|
|
|
- @Override
|
|
|
|
- public void resetFileAndImageCheckStatus(Long examId, String subjectCode, String examNumber) {
|
|
|
|
- LambdaUpdateWrapper<StudentEntity> lw = new LambdaUpdateWrapper<>();
|
|
|
|
- lw.set(StudentEntity::getImageCheckStatus, ImageCheckStatus.WAITING);
|
|
|
|
- lw.set(StudentEntity::getFileUploadStatus, UploadStatus.WAITING_UPLOAD);
|
|
|
|
- lw.eq(StudentEntity::getExamId, examId);
|
|
|
|
- lw.eq(StudentEntity::getSubjectCode, subjectCode);
|
|
|
|
- lw.eq(StudentEntity::getExamNumber, examNumber);
|
|
|
|
- update(lw);
|
|
|
|
- }
|
|
|
|
|
|
+ // @Transactional
|
|
|
|
+ // @Override
|
|
|
|
+ // public void resetFileAndImageCheckStatus(Long examId, String subjectCode,
|
|
|
|
+ // String examNumber) {
|
|
|
|
+ // LambdaUpdateWrapper<StudentEntity> lw = new LambdaUpdateWrapper<>();
|
|
|
|
+ // lw.set(StudentEntity::getImageCheckStatus, ImageCheckStatus.WAITING);
|
|
|
|
+ // lw.set(StudentEntity::getFileUploadStatus, UploadStatus.WAITING_UPLOAD);
|
|
|
|
+ // lw.eq(StudentEntity::getExamId, examId);
|
|
|
|
+ // lw.eq(StudentEntity::getSubjectCode, subjectCode);
|
|
|
|
+ // lw.eq(StudentEntity::getExamNumber, examNumber);
|
|
|
|
+ // update(lw);
|
|
|
|
+ // }
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public boolean existUncheck(Long examId, String subjectCode) {
|
|
public boolean existUncheck(Long examId, String subjectCode) {
|