select id, distinction, time, name, amount, price, consumption, food_id, creattime, updatetime from bdgl_food_procurement
insert into bdgl_food_procurement
distinction,time,name,amount,price,consumption,food_id,creattime,updatetime,#{distinction},#{time},#{name},#{amount},#{price},#{consumption},#{foodId},#{creattime},#{updatetime},
update bdgl_food_procurement
distinction = #{distinction},time = #{time},name = #{name},amount = #{amount},price = #{price},consumption = #{consumption},food_id = #{foodId},creattime = #{creattime},updatetime = #{updatetime},
where id = #{id}
delete from bdgl_food_procurement where id = #{id}
delete from bdgl_food_procurement where id in
#{id}
delete from bdgl_food_procurement where food_id = #{id}