|
@@ -631,6 +631,7 @@ public class PaperServiceImpl implements PaperService{
|
|
|
unit.setNumber(i+1);
|
|
|
}
|
|
|
paperDetailUnitRepo.save(paperDetailUnitAll);
|
|
|
+ totalScore = CommonUtils.formatDouble(totalScore);
|
|
|
return totalScore;
|
|
|
}
|
|
|
|
|
@@ -660,6 +661,7 @@ public class PaperServiceImpl implements PaperService{
|
|
|
}
|
|
|
}
|
|
|
count = paperDetailUnits.size() + nestQusNum;
|
|
|
+ score = CommonUtils.formatDouble(score);
|
|
|
paperDetail.setScore(score);
|
|
|
paperDetail.setUnitCount(count);
|
|
|
allQuesCount += count;
|