select sbr.*,
bs.manage_tags as manageTags
from sc_breast_rating sbr
left join bas_sheep bs on sbr.sheep_id = bs.id
insert into sc_breast_rating
sheep_id,depth,length,position,adbere,spacing,score,comment,technician,create_by,create_time,#{sheepId},#{depth},#{length},#{position},#{adbere},#{spacing},#{score},#{comment},#{technician},#{createBy},#{createTime},
update sc_breast_rating
sheep_id = #{sheepId},depth = #{depth},length = #{length},position = #{position},adbere = #{adbere},spacing = #{spacing},score = #{score},comment = #{comment},technician = #{technician},create_by = #{createBy},create_time = #{createTime},
where id = #{id}
delete
from sc_breast_rating
where id = #{id}
delete from sc_breast_rating where id in
#{id}