select id, album_id, material_id, link, sort from cms_album_material
insert into cms_album_material
album_id,material_id,link,sort,#{albumId},#{materialId},#{link},#{sort},
update cms_album_material
album_id = #{albumId},material_id = #{materialId},link = #{link},sort = #{sort},
where id = #{id}
delete from cms_album_material where id = #{id}
delete from cms_album_material where id in
#{id}