select id,barcode, wu_pin_type, name, material_specification, material_xh, ying_ju_type, responsibility_unit, person_liable, put_int, create_name, create_time, storage_time, inbound_no, storage_location, buying_time, price, remark, warehouse, archives_id,unit_id,total from material_registration insert into material_registration id, barcode, wu_pin_type, name, material_specification, material_xh, ying_ju_type, responsibility_unit, person_liable, put_int, create_name, create_time, storage_time, inbound_no, storage_location, buying_time, price, remark, warehouse, archives_id, unit_id, total, #{id}, #{barcode}, #{wuPinType}, #{name}, #{materialSpecification}, #{materialXh}, #{yingJuType}, #{responsibilityUnit}, #{personLiable}, #{putInt}, #{createName}, #{createTime}, #{storageTime}, #{inboundNo}, #{storageLocation}, #{buyingTime}, #{price}, #{remark}, #{warehouse}, #{archivesId}, #{unitId}, #{total}, update material_registration wu_pin_type = #{wuPinType}, name = #{name}, material_specification = #{materialSpecification}, material_xh = #{materialXh}, ying_ju_type = #{yingJuType}, responsibility_unit = #{responsibilityUnit}, person_liable = #{personLiable}, put_int = #{putInt}, create_name = #{createName}, create_time = #{createTime}, storage_time = #{storageTime}, inbound_no = #{inboundNo}, storage_location = #{storageLocation}, buying_time = #{buyingTime}, price = #{price}, remark = #{remark}, warehouse = #{warehouse}, archives_id = #{archivesId}, unit_id = #{unitId}, total = #{total}, where id = #{id} delete from material_registration where id = #{id} delete from material_registration where id in #{id}