浏览代码

年级班级

liujc 1 年之前
父节点
当前提交
cd2a6bc9ce
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/UserMusicStarServiceImpl.java

+ 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());