|
@@ -159,6 +159,10 @@
|
|
|
,msa.sort_number_ as accompanimentSortNumber
|
|
|
,msa.create_time_ as accompanimentCreateTime
|
|
|
,su.username_ as userName
|
|
|
+ ,(select group_concat(mt.name_) from music_tag mt
|
|
|
+ where find_in_set(mt.id_,t.music_tag_) and mt.del_flag_ = 0) 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
|
|
|
FROM music_sheet t
|
|
|
left join music_sheet_accompaniment msa on msa.music_sheet_id_ = t.id_
|
|
|
left join sys_user su on t.create_by_ = su.id_
|
|
@@ -185,6 +189,8 @@
|
|
|
<result column="hotFlag" jdbcType="TINYINT" property="hotFlag"/>
|
|
|
<result column="musicPrice" jdbcType="DECIMAL" property="musicPrice"/>
|
|
|
<result column="audioFileUrl" jdbcType="VARCHAR" property="audioFileUrl"/>
|
|
|
+ <result column="musicTagNames" jdbcType="VARCHAR" property="musicTagNames"/>
|
|
|
+ <result column="subjectNames" jdbcType="VARCHAR" property="subjectNames"/>
|
|
|
<result column="xmlFileUrl" jdbcType="VARCHAR" property="xmlFileUrl"/>
|
|
|
<result column="hasBeat" jdbcType="TINYINT" property="hasBeat"/>
|
|
|
<result column="createTime" jdbcType="TIMESTAMP" property="createTime"/>
|