zouxuan 2 éve
szülő
commit
cdfed95fec

+ 1 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/ImNetworkRoomMember.java

@@ -69,6 +69,6 @@ public class ImNetworkRoomMember implements Serializable {
 
     @ApiModelProperty(value = "当前用户伴奏信息")
     @TableField(exist = false)
-    private List<CourseScheduleStudentMusicSheetResult> musicSheetResults;
+    private List<CourseScheduleStudentMusicSheetResult> scheduleStudentMusicScores;
 }
 

+ 3 - 3
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/ImNetworkRoomServiceImpl.java

@@ -121,7 +121,7 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
                     filter(e -> e.getUserId().equals(userId)).collect(Collectors.toList());
             String toJSONString = JSON.toJSONString(musicScores, SerializerFeature.DisableCircularReferenceDetect);
             List<CourseScheduleStudentMusicSheetResult> lists = JSON.parseArray(toJSONString, CourseScheduleStudentMusicSheetResult.class);
-            roomMember.setMusicSheetResults(lists);
+            roomMember.setScheduleStudentMusicScores(lists);
         }
         joinRoomResult.setUserInfo(roomMember);
         //获取教室剩余时长
@@ -194,7 +194,7 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
                     filter(e -> e.getUserId().equals(userId)).collect(Collectors.toList());
             String toJSONString = JSON.toJSONString(musicScores, SerializerFeature.DisableCircularReferenceDetect);
             List<CourseScheduleStudentMusicSheetResult> lists = JSON.parseArray(toJSONString, CourseScheduleStudentMusicSheetResult.class);
-            roomMember.setMusicSheetResults(lists);
+            roomMember.setScheduleStudentMusicScores(lists);
         }
         joinRoomResult.setUserInfo(roomMember);
         //获取教室剩余时长
@@ -229,7 +229,7 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
             roomMemberList.forEach(e -> {
                 Long userId = Long.parseLong(imGroupService.analysisImUserId(e.getUserId()));
                 if (musicSheetResultMap.containsKey(userId)) {
-                    e.setMusicSheetResults(musicSheetResultMap.get(userId));
+                    e.setScheduleStudentMusicScores(musicSheetResultMap.get(userId));
                 }
             });
         }