select id, distinctions, name, weight, unit_price, money, types, remark, food_id, time, createtime, updatetime from bdgl_food_kind insert into bdgl_food_kind distinctions, name, weight, unit_price, money, types, remark, food_id, time, createtime, updatetime, #{distinctions}, #{name}, #{weight}, #{unitPrice}, #{money}, #{types}, #{remark}, #{foodId}, #{time}, #{createtime}, #{updatetime}, update bdgl_food_kind distinctions = #{distinctions}, name = #{name}, weight = #{weight}, unit_price = #{unitPrice}, money = #{money}, types = #{types}, remark = #{remark}, food_id = #{foodId}, time = #{time}, createtime = #{createtime}, updatetime = #{updatetime}, where id = #{id} delete from bdgl_food_kind where id = #{id} delete from bdgl_food_kind where id in #{id} delete from bdgl_food_kind where food_id = #{id}