|
@@ -144,7 +144,7 @@ public class FeedbackServiceImpl extends ServiceImpl<IFeedbackMapper, Feedback>
|
|
|
|
|
|
private void setScore(List<FeedbackOption> list,HashMap<Integer,BigDecimal> map){
|
|
private void setScore(List<FeedbackOption> list,HashMap<Integer,BigDecimal> map){
|
|
for (FeedbackOption feedbackOption : list) {
|
|
for (FeedbackOption feedbackOption : list) {
|
|
- BigDecimal value = map.get(feedbackOption.getTypeId());
|
|
|
|
|
|
+ BigDecimal value = map.get(feedbackOption.getId());
|
|
if(value == null){
|
|
if(value == null){
|
|
feedbackOption.setScore("暂无评分");
|
|
feedbackOption.setScore("暂无评分");
|
|
continue;
|
|
continue;
|