select id, durg_name, durg_brand, manufacturer, specifications, product_introduction, store_house, unit_id, amount, put_in, put_out, overdue, remarks, admin_id, create_time, update_time, unit_name, user_name,bar_code from bdgl_consume_archives
insert into bdgl_consume_archives
durg_name,
durg_brand,
manufacturer,
specifications,
product_introduction,
store_house,
unit_id,
amount,
put_in,
put_out,
overdue,
remarks,
admin_id,
create_time,
update_time,
unit_name,
user_name,
bar_code,
#{durgName},
#{durgBrand},
#{manufacturer},
#{specifications},
#{productIntroduction},
#{storeHouse},
#{unitId},
#{amount},
#{putIn},
#{putOut},
#{overdue},
#{remarks},
#{adminId},
#{createTime},
#{updateTime},
#{unitName},
#{userName},
#{barCode},
update bdgl_consume_archives
durg_name = #{durgName},
durg_brand = #{durgBrand},
manufacturer = #{manufacturer},
specifications = #{specifications},
product_introduction = #{productIntroduction},
store_house = #{storeHouse},
unit_id = #{unitId},
amount = #{amount},
put_in = #{putIn},
put_out = #{putOut},
overdue = #{overdue},
remarks = #{remarks},
admin_id = #{adminId},
create_time = #{createTime},
update_time = #{updateTime},
unit_name = #{unitName},
user_name = #{userName},
bar_code=#{barCode},
where id = #{id}
delete from bdgl_consume_archives where id = #{id}
delete from bdgl_consume_archives where id in
#{id}