|
@@ -127,8 +127,8 @@
|
|
|
where find_in_set(mt.id_,t.music_tag_) and mt.del_flag_ = 0 and mt.state_ = 1) as musicTagNames
|
|
|
,(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 w
|
|
|
- here f.music_sheet_id_ = t.id_ and f.favorite_flag_ = 1) as favoriteCount
|
|
|
+ ,(select count(1) from music_favorite f
|
|
|
+ where f.music_sheet_id_ = t.id_ and f.favorite_flag_ = 1) as favoriteCount
|
|
|
from music_sheet t
|
|
|
left join album_music_relate amr on t.id_ = amr.music_sheet_id_
|
|
|
<where>
|