select id, sheep_id, sheepfold, comment, technician, create_by, create_time from sc_castrate insert into sc_castrate sheep_id, sheepfold, comment, technician, create_by, create_time, #{sheepId}, #{sheepfold}, #{comment}, #{technician}, #{createBy}, #{createTime}, update sc_castrate sheep_id = #{sheepId}, sheepfold = #{sheepfold}, comment = #{comment}, technician = #{technician}, create_by = #{createBy}, create_time = #{createTime}, where id = #{id} delete from sc_castrate where id = #{id} delete from sc_castrate where id in #{id}