|
@@ -1109,15 +1109,15 @@ public class ExamStudentServiceImpl extends BaseQueryService<ExamStudent> implem
|
|
return originTags;
|
|
return originTags;
|
|
}
|
|
}
|
|
|
|
|
|
- private boolean checkScore(MarkLibrary library, double score, List<Double> details) {
|
|
|
|
- if (library.getMarkerScore() == null) {
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
- if (library.getMarkerScore().doubleValue() != score) {
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
- return true;
|
|
|
|
- }
|
|
|
|
|
|
+// private boolean checkScore(MarkLibrary library, double score, List<Double> details) {
|
|
|
|
+// if (library.getMarkerScore() == null) {
|
|
|
|
+// return false;
|
|
|
|
+// }
|
|
|
|
+// if (library.getMarkerScore().doubleValue() != score) {
|
|
|
|
+// return false;
|
|
|
|
+// }
|
|
|
|
+// return true;
|
|
|
|
+// }
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public long countByExamIdAndManualAbsent(int examId, boolean manualAbsent) {
|
|
public long countByExamIdAndManualAbsent(int examId, boolean manualAbsent) {
|
|
@@ -1531,4 +1531,10 @@ public class ExamStudentServiceImpl extends BaseQueryService<ExamStudent> implem
|
|
public boolean updateTrial(Integer studentId, boolean trial) {
|
|
public boolean updateTrial(Integer studentId, boolean trial) {
|
|
return studentDao.updateTrial(studentId, trial) > 0;
|
|
return studentDao.updateTrial(studentId, trial) > 0;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @Transactional
|
|
|
|
+ @Override
|
|
|
|
+ public void scoreVerifyView(Integer userId, Integer studentId) {
|
|
|
|
+ studentDao.scoreVerifyTag(userId, new Date(), studentId);
|
|
|
|
+ }
|
|
}
|
|
}
|