소스 검색

代码修改

liweifan 3 년 전
부모
커밋
b4baa3c067
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

@@ -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>