|
@@ -157,12 +157,17 @@
|
|
|
<select id="detail" resultMap="DetailResultMap">
|
|
|
SELECT
|
|
|
<include refid="Base_Column_List"/>
|
|
|
+ ,t.url_ as url
|
|
|
+ ,t.midi_url_ as midiUrl
|
|
|
+ ,t.metronome_url_ as metronomeUrl
|
|
|
,msa.id_ as accompanimentId
|
|
|
,msa.music_sheet_id_ as accompanimentMusicSheetId
|
|
|
,msa.music_subject_ as accompanimentMusicSubject
|
|
|
,msa.audio_file_url_ as accompanimentAudioFileUrl
|
|
|
,msa.sort_number_ as accompanimentSortNumber
|
|
|
,msa.create_time_ as accompanimentCreateTime
|
|
|
+ ,msa.metronome_url_ as accompanimentMetronomeUrl
|
|
|
+ ,msa.track_ as track
|
|
|
,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
|
|
@@ -203,6 +208,9 @@
|
|
|
<result column="updateTime" jdbcType="TIMESTAMP" property="updateTime"/>
|
|
|
<result column="updateBy" jdbcType="BIGINT" property="updateBy"/>
|
|
|
<result column="delFlag" jdbcType="BOOLEAN" property="delFlag"/>
|
|
|
+ <result column="url" jdbcType="BOOLEAN" property="url"/>
|
|
|
+ <result column="metronomeUrl" jdbcType="BOOLEAN" property="metronomeUrl"/>
|
|
|
+ <result column="midiUrl" jdbcType="BOOLEAN" property="midiUrl"/>
|
|
|
<result column="remark" jdbcType="VARCHAR" property="remark"/>
|
|
|
<result column="userName" jdbcType="VARCHAR" property="userName"/>
|
|
|
<collection property="background" ofType="com.yonge.cooleshow.biz.dal.entity.MusicSheetAccompaniment">
|
|
@@ -212,6 +220,8 @@
|
|
|
<result column="accompanimentAudioFileUrl" jdbcType="VARCHAR" property="audioFileUrl"/>
|
|
|
<result column="accompanimentSortNumber" jdbcType="TINYINT" property="sortNumber"/>
|
|
|
<result column="accompanimentCreateTime" jdbcType="TIMESTAMP" property="createTime"/>
|
|
|
+ <result column="accompanimentMetronomeUrl" jdbcType="VARCHAR" property="metronomeUrl"/>
|
|
|
+ <result column="track" jdbcType="VARCHAR" property="track"/>
|
|
|
</collection>
|
|
|
</resultMap>
|
|
|
|