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