|
@@ -382,7 +382,7 @@ public class MarkServiceImpl implements MarkService {
|
|
|
if (TrialMode.EXCLUSIVE.equals(systemCache.getTrialMode())) {
|
|
|
return taskLock.add(library.getStudentId(), marker.getId(), marker.getId());
|
|
|
} else {
|
|
|
- return taskLock.add(library.getStudentId(), 1, marker.getId());
|
|
|
+ return taskLock.add(library.getStudentId(), library.getId(), marker.getId());
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -615,7 +615,6 @@ public class MarkServiceImpl implements MarkService {
|
|
|
}
|
|
|
if (!TrialMode.EXCLUSIVE.equals(systemCache.getTrialMode())) {
|
|
|
checkStudentTrial(library, group);
|
|
|
- inspectedService.cancelByStudent(library.getStudentId());
|
|
|
}
|
|
|
updateMarkedCount(group);
|
|
|
return SubmitResult.success(library);
|