|
@@ -782,7 +782,7 @@ public class GenPaperService {
|
|
|
Double score = 0d;
|
|
|
BigDecimal b1 = new BigDecimal(Double.toString(score));
|
|
|
for (PaperDetail pd : details) {
|
|
|
- BigDecimal b2 = new BigDecimal(pd.getScore() == null ? 0 : pd.getScore());
|
|
|
+ BigDecimal b2 = new BigDecimal(Double.toString(pd.getScore() == null ? 0 : pd.getScore()));
|
|
|
b1 = b1.add(b2);
|
|
|
}
|
|
|
paper.setId(UUID.randomUUID().toString());
|