Browse Source

管乐迷作业新增课件

zouxuan 1 year ago
parent
commit
fa7a9c3e1e

+ 3 - 2
mec-biz/src/main/java/com/ym/mec/biz/dal/dto/StudentLessonTrainingDetailWrapper.java

@@ -97,16 +97,17 @@ public class StudentLessonTrainingDetailWrapper {
         @ApiModelProperty("标准练习次数")
         private Integer times;
 
-
         @ApiModelProperty("声部id")
         private Long subjectId;
 
         @ApiModelProperty("声部名称")
         private String subjectName;
 
-
         @ApiModelProperty("作业分组")
         private Integer group;
+
+        @ApiModelProperty("播放地址")
+        private String content;
         
         public String jsonString() {
             return JSON.toJSONString(this);

+ 1 - 0
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentLessonTrainingDetailServiceImpl.java

@@ -236,6 +236,7 @@ public class StudentLessonTrainingDetailServiceImpl extends ServiceImpl<StudentL
                         CbsMaterialWrapper.MaterialDto materialDto = materialDtoMap.get(studentLessonTrainingDetail.getMusicScoreId());
                         if (materialDto != null) {
                             studentLessonTrainingDetail.setMusicScoreName(materialDto.getName());
+                            studentLessonTrainingDetail.setContent(materialDto.getContent());
                         }
                     }
                 }