|
@@ -2467,7 +2467,7 @@ public class MarkStudentServiceImpl extends ServiceImpl<MarkStudentMapper, MarkS
|
|
|
@Transactional
|
|
|
public int updateSubjectiveScoreByVersion(Long studentId, SubjectiveStatus status, Double score, String scoreList, Integer version) {
|
|
|
Objects.requireNonNull(status, "主观题状态不能为空");
|
|
|
- int update = this.baseMapper.updateSubjectiveScoreByVersion(studentId, status.name(), score, scoreList, version)
|
|
|
+ int update = this.baseMapper.updateSubjectiveScoreByVersion(studentId, status.name(), score, scoreList, version);
|
|
|
if (update == 0) {
|
|
|
throw ExceptionResultEnum.ERROR.exception("版本号发生改变,更新失败");
|
|
|
}
|