刘俊驰 5 ماه پیش
والد
کامیت
739071d422
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      cooleshow-user/user-biz/src/main/resources/config/mybatis/MusicSheetMapper.xml

+ 2 - 2
cooleshow-user/user-biz/src/main/resources/config/mybatis/MusicSheetMapper.xml

@@ -1444,7 +1444,7 @@
         </where>
         ) t
         <if test="param.recentFlag != null and param.recentFlag == 1">
-            left join sys_music_compare_record msar on t.id_ = msar.music_sheet_id_ and t.provider_type_ = #{param.providerType}
+            left join sys_music_compare_record msar on t.id_ = msar.music_sheet_id_ and msar.provider_type_ = #{param.providerType}
         </if>
         <if test="param.albumId != null and param.providerType.code == 'TENANT'">
             left join tenant_album_music tam on t.id_ = tam.music_sheet_id_ and tam.del_flag_ = 0  and tam.tenant_album_id_ = #{param.albumId}
@@ -1454,7 +1454,7 @@
             left join album_music_relate amr on t.id_ = amr.music_sheet_id_ and amr.album_id_ = #{param.albumId}
         </if>
         <if test="param.favoriteFlag != null and param.favoriteFlag == 1">
-            left join music_favorite mf on t.id_ = mf.music_sheet_id_ and mf.user_id_ = #{param.userId} and mf.client_type_ = #{param.clientType} and t.provider_type_ = #{param.providerType}
+            left join music_favorite mf on t.id_ = mf.music_sheet_id_ and mf.user_id_ = #{param.userId} and mf.client_type_ = #{param.clientType} and mf.provider_type_ = #{param.providerType}
         </if>
         <where>