|
@@ -1049,8 +1049,8 @@ public class BatchServiceImpl extends ServiceImpl<BatchDao, BatchEntity> impleme
|
|
|
|
|
|
|
|
|
|
|
|
- if (VerifyStatus.CANCEL.equals(batch.getVerifyStatus()) || exam.getEnableSyncVerify() == null
|
|
|
- || !exam.getEnableSyncVerify()) {
|
|
|
+
|
|
|
+
|
|
|
concurrentService.getReadWriteLock(LockType.STUDENT + "-" + student.getId()).writeLock().lock();
|
|
|
try {
|
|
|
|
|
@@ -1077,7 +1077,7 @@ public class BatchServiceImpl extends ServiceImpl<BatchDao, BatchEntity> impleme
|
|
|
} finally {
|
|
|
concurrentService.getReadWriteLock(LockType.STUDENT + "-" + student.getId()).writeLock().unlock();
|
|
|
}
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
for (OmrGroupEntity g : gs) {
|