<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
    "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yonge.cooleshow.biz.dal.dao.MusicSheetAccompanimentDao">

	<resultMap id="BaseResultMap" type="com.yonge.cooleshow.biz.dal.entity.MusicSheetAccompaniment">
	     <id column="id_" jdbcType="BIGINT" property="id" />
		 <result column="music_sheet_id_" jdbcType="BIGINT" property="musicSheetId" />
		 <result column="music_subject_" jdbcType="VARCHAR" property="musicSubjectId" />
		 <result column="audio_file_url_" jdbcType="VARCHAR" property="audioFileUrl" />
		 <result column="sort_number_" jdbcType="TINYINT" property="sortNumber" />
		 <result column="speed_" jdbcType="TINYINT" property="speed" />
		 <result column="create_time_" jdbcType="TIMESTAMP" property="createTime" />
		 <result column="create_by_" jdbcType="BIGINT" property="createBy" />
	</resultMap>

	<sql id="Base_Column_List">
		id_, music_sheet_id_, music_subject_, audio_file_url_, sort_number_,speed_, create_time_, create_by_
	</sql>

	<delete id="delByMusicSheetId">
		delete from music_sheet_accompaniment where music_sheet_id_ = #{musicSheetId}
    </delete>
</mapper>