Parcourir la source

单曲评测难度

Eric il y a 2 ans
Parent
commit
540092fe4e

+ 4 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/ActivityPlanServiceImpl.java

@@ -533,7 +533,10 @@ public class ActivityPlanServiceImpl extends ServiceImpl<ActivityPlanDao, Activi
 
                 for (ActivityMusicVo item : activityVo.getActivityMusicVoList()) {
 
-                    item.setEvaluationDifficulty(evaluationDifficulty);
+                    if (StringUtils.isEmpty(item.getEvaluationDifficulty())) {
+
+                        item.setEvaluationDifficulty(evaluationDifficulty);
+                    }
                 }
             }