|
@@ -134,7 +134,7 @@ public class TCPaperStructServiceImpl extends ServiceImpl<TCPaperStructMapper, T
|
|
paperStructDtoNewList.add(paperStructDto);
|
|
paperStructDtoNewList.add(paperStructDto);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (totalScore < 100d) {
|
|
|
|
|
|
+ if (totalScore.doubleValue() < 100d) {
|
|
throw ExceptionResultEnum.ERROR.exception("试卷满分小于100分");
|
|
throw ExceptionResultEnum.ERROR.exception("试卷满分小于100分");
|
|
}
|
|
}
|
|
if (!CollectionUtils.isEmpty(paperStructDtoNewList)) {
|
|
if (!CollectionUtils.isEmpty(paperStructDtoNewList)) {
|