|  | @@ -22,6 +22,8 @@
 | 
	
		
			
				|  |  |  		<result column="speed_" property="speed" />
 | 
	
		
			
				|  |  |  		<result column="create_time_" property="createTime" />
 | 
	
		
			
				|  |  |  		<result column="update_time_" property="updateTime" />
 | 
	
		
			
				|  |  | +		<result column="is_show_fingering_" property="isShowFingering" />
 | 
	
		
			
				|  |  | +		<result column="memo_" property="memo" />
 | 
	
		
			
				|  |  |  	</resultMap>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	<delete id="deleteBySongId">
 | 
	
	
		
			
				|  | @@ -48,10 +50,10 @@
 | 
	
		
			
				|  |  |  		VALUES(#{examSongId},#{subjectId},#{mp3Url},#{speed},#{xmlUrl},NOW(),NOW())
 | 
	
		
			
				|  |  |  	</insert>
 | 
	
		
			
				|  |  |      <insert id="batchInsert">
 | 
	
		
			
				|  |  | -		INSERT INTO sys_music_score_accompaniment (exam_song_id_,subject_id_,mp3_url_,speed_,xml_url_,create_time_,update_time_)
 | 
	
		
			
				|  |  | +		INSERT INTO sys_music_score_accompaniment (exam_song_id_,subject_id_,mp3_url_,speed_,xml_url_,create_time_,update_time_,is_show_fingering_,memo_)
 | 
	
		
			
				|  |  |  		VALUES
 | 
	
		
			
				|  |  |  		<foreach collection="sysMusicScoreAccompaniments" item="item"  separator=",">
 | 
	
		
			
				|  |  | -			(#{sysMusicScoreId},#{item.subjectId},#{item.mp3Url},#{item.speed},#{item.xmlUrl},NOW(),NOW())
 | 
	
		
			
				|  |  | +			(#{sysMusicScoreId},#{item.subjectId},#{item.mp3Url},#{item.speed},#{item.xmlUrl},NOW(),NOW(),#{item.isShowFingering},#{item.memo})
 | 
	
		
			
				|  |  |  		</foreach>
 | 
	
		
			
				|  |  |  	</insert>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -59,6 +61,12 @@
 | 
	
		
			
				|  |  |  	<update id="update" parameterType="com.ym.mec.biz.dal.entity.SysMusicScoreAccompaniment">
 | 
	
		
			
				|  |  |  		UPDATE sys_music_score_accompaniment
 | 
	
		
			
				|  |  |  		<set>
 | 
	
		
			
				|  |  | +		<if test="isShowFingering != null">
 | 
	
		
			
				|  |  | +			is_show_fingering_ = #{isShowFingering},
 | 
	
		
			
				|  |  | +		</if>
 | 
	
		
			
				|  |  | +		<if test="memo != null">
 | 
	
		
			
				|  |  | +			memo_ = #{memo},
 | 
	
		
			
				|  |  | +		</if>
 | 
	
		
			
				|  |  |  		<if test="subjectId != null">
 | 
	
		
			
				|  |  |  			subject_id_ = #{subjectId},
 | 
	
		
			
				|  |  |  		</if>
 | 
	
	
		
			
				|  | @@ -87,6 +95,12 @@
 | 
	
		
			
				|  |  |  		<foreach collection="sysMusicScoreAccompaniments" item="item" separator=";">
 | 
	
		
			
				|  |  |  			UPDATE sys_music_score_accompaniment
 | 
	
		
			
				|  |  |  			<set>
 | 
	
		
			
				|  |  | +				<if test="item.isShowFingering != null">
 | 
	
		
			
				|  |  | +					is_show_fingering_ = #{item.isShowFingering},
 | 
	
		
			
				|  |  | +				</if>
 | 
	
		
			
				|  |  | +				<if test="item.memo != null">
 | 
	
		
			
				|  |  | +					memo_ = #{item.memo},
 | 
	
		
			
				|  |  | +				</if>
 | 
	
		
			
				|  |  |  				<if test="item.speed != null">
 | 
	
		
			
				|  |  |  					speed_ = #{item.speed},
 | 
	
		
			
				|  |  |  				</if>
 | 
	
	
		
			
				|  | @@ -188,6 +202,9 @@
 | 
	
		
			
				|  |  |  			<if test="subjectId != null">
 | 
	
		
			
				|  |  |  				AND sesa.subject_id_ = #{subjectId}
 | 
	
		
			
				|  |  |  			</if>
 | 
	
		
			
				|  |  | +			<if test="isShowFingering != null">
 | 
	
		
			
				|  |  | +				AND sesa.is_show_fingering_ = #{isShowFingering}
 | 
	
		
			
				|  |  | +			</if>
 | 
	
		
			
				|  |  |  			<if test="type != null and type == 'COMMON'">
 | 
	
		
			
				|  |  |  				AND ses.type_ = #{type}
 | 
	
		
			
				|  |  |  			</if>
 |