|
@@ -146,11 +146,11 @@ public class FeedbackServiceImpl extends ServiceImpl<IFeedbackMapper, Feedback>
|
|
|
for (FeedbackOption feedbackOption : list) {
|
|
|
BigDecimal value = map.get(feedbackOption.getId());
|
|
|
if(value == null){
|
|
|
- feedbackOption.setScore("暂无评分");
|
|
|
+ feedbackOption.setScore(null);
|
|
|
continue;
|
|
|
}
|
|
|
BigDecimal bigDecimal = value.setScale(1, RoundingMode.HALF_UP);
|
|
|
- feedbackOption.setScore(bigDecimal.toString());
|
|
|
+ feedbackOption.setScore(bigDecimal);
|
|
|
}
|
|
|
}
|
|
|
|