select id,barcode, wu_pin_type, name, material_specification, material_xh, ying_ju_type, responsibility_unit, person_liable, material_total, material_inventory, in_use_total, create_name, create_time, warehouse, unit_id, person_liable_id, createid from material_archives insert into material_archives id, barcode, wu_pin_type, name, material_specification, material_xh, ying_ju_type, responsibility_unit, person_liable, material_total, material_inventory, in_use_total, create_name, create_time, warehouse, unit_id, person_liable_id, createid, #{id}, #{barcode}, #{wuPinType}, #{name}, #{materialSpecification}, #{materialXh}, #{yingJuType}, #{responsibilityUnit}, #{personLiable}, #{materialTotal}, #{materialInventory}, #{inUseTotal}, #{createName}, #{createTime}, #{warehouse}, #{unitId}, #{personLiableId}, #{createid}, update material_archives barcode = #{barcode}, wu_pin_type = #{wuPinType}, name = #{name}, material_specification = #{materialSpecification}, material_xh = #{materialXh}, ying_ju_type = #{yingJuType}, responsibility_unit = #{responsibilityUnit}, person_liable = #{personLiable}, material_total = #{materialTotal}, material_inventory = #{materialInventory}, in_use_total = #{inUseTotal}, create_name = #{createName}, create_time = #{createTime}, warehouse = #{warehouse}, unit_id = #{unitId}, person_liable_id = #{personLiableId}, createid = #{createid}, where id = #{id} delete from material_archives where id = #{id} delete from material_archives where id in #{id}