|
@@ -641,8 +641,7 @@ public class MarkServiceImpl implements MarkService {
|
|
|
unansweredCount++;
|
|
|
}
|
|
|
}
|
|
|
- library.setUnansweredCount(unansweredCount);
|
|
|
- libraryDao.saveAndFlush(library);
|
|
|
+ libraryDao.updateUnansweredCount(library.getId(), unansweredCount);
|
|
|
}
|
|
|
// 保存特殊标记
|
|
|
if (result.getSpecialTagList() != null && !result.isUnselective()) {
|
|
@@ -1413,7 +1412,7 @@ public class MarkServiceImpl implements MarkService {
|
|
|
ss.setScore(score);
|
|
|
ss.setMainScore(score);
|
|
|
}
|
|
|
- if (group.getArbitrateThreshold() > 0) {
|
|
|
+ if (group.getArbitrateThreshold() != null && group.getArbitrateThreshold() > 0) {
|
|
|
ss.setUnansweredCount(0);
|
|
|
} else {
|
|
|
if (MarkStatus.TRIAL.equals(group.getStatus())) {
|