Browse Source

酷乐秀曲目来源改为内容平台

zouxuan 11 tháng trước cách đây
mục cha
commit
7e93436f71

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

@@ -202,8 +202,8 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
             }
             studentMusicScore.setMusicScoreName(sheetApplication.getName());
             //管乐迷的历史问题,原音和伴奏反过来
-            studentMusicScore.setMp3Url(sheetApplication.getUrl());
-            studentMusicScore.setUrl(sheetApplication.getMp3Url());
+            studentMusicScore.setMp3Url(sheetApplication.getMp3Url());
+            studentMusicScore.setUrl(sheetApplication.getUrl());
             result.add(studentMusicScore);
         }
         return result;

+ 1 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/CourseCoursewareMapper.xml

@@ -42,7 +42,7 @@
                 and t.client_type_ = #{param.clientType}
             </if>
             <if test="param.idAndName != null and param.idAndName != ''">
-                and  (ms.music_sheet_name_ like '%${param.idAndName}%' or ms.cbs_music_sheet_id_ = '${param.idAndName}')
+                and  (ms.music_sheet_name_ LIKE CONCAT('%',#{param.idAndName},'%') or ms.cbs_music_sheet_id_ = #{param.idAndName})
             </if>
             <if test="param.musicTagIdList != null and param.musicTagIdList.size() != 0">
                 and