Browse Source

年级班级

liujc 1 năm trước cách đây
mục cha
commit
cd2a6bc9ce

+ 2 - 0
mec-biz/src/main/java/com/ym/mec/biz/service/impl/UserMusicStarServiceImpl.java

@@ -102,6 +102,8 @@ public class UserMusicStarServiceImpl extends ServiceImpl<UserMusicStarMapper, U
                 Student student = studentMap.get(userMusicStar.getUserId().intValue());
                 if (student != null) {
                     userMusicStar.setSubjectId(student.getSubjectIdList());
+                    userMusicStar.setCurrentClass(student.getCurrentClass());
+                    userMusicStar.setCurrentGradeNum(student.getCurrentGradeNum());
                 }
             } else {
                 Teacher teacher = teacherMap.get(userMusicStar.getUserId().intValue());