浏览代码

代码修改

liweifan 3 年之前
父节点
当前提交
90a44fb3e5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cooleshow-user/user-biz/src/main/resources/config/mybatis/MusicSheetMapper.xml

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

@@ -128,7 +128,7 @@
         ,(select group_concat(s.name_) from subject s
             where find_in_set(s.id_,t.music_subject_) and s.del_flag_ = 0 ) as subjectNames
         ,(select count(1) from music_favorite f
-            where f.music_sheet_id_ = t.id_ and f.favorite_flag_ = 1) as favoriteCount
+            where f.music_sheet_id_ = t.id_) as favoriteCount
         from music_sheet t
         left join album_music_relate amr on t.id_ = amr.music_sheet_id_
         <where>