select id, food_id, number from food_statistics insert into food_statistics food_id, number, #{foodId}, #{number}, update food_statistics food_id = #{foodId}, number = #{number}, where id = #{id} delete from food_statistics where id = #{id} delete from food_statistics where id in #{id}