select id, tyre_factory, outer_tire_number, material_code, material_name, quality_status, unit, material_type, material_group, product_group, brand, category, size, pattern, cons_pattern, hierarchy, speed_level, load_index, rim_size, weight, section_width, outer_diameter, flattening, enhanced, inner_tube, pattern_depth, ctn, type, cert_info, customs_spe, fe_code, fe_desc, produce_factory, car_id, car_license, tyre_position, sensor_id, current_texture_depth, state, is_delete, create_time, create_id, create_by, create_name, modify_time, modify_id, modify_by, modify__name, remark from base_tyre insert into base_tyre id, tyre_factory, outer_tire_number, material_code, material_name, quality_status, unit, material_type, material_group, product_group, brand, category, size, pattern, cons_pattern, hierarchy, speed_level, load_index, rim_size, weight, section_width, outer_diameter, flattening, enhanced, inner_tube, pattern_depth, ctn, type, cert_info, customs_spe, fe_code, fe_desc, produce_factory, car_id, car_license, tyre_position, sensor_id, current_texture_depth, state, is_delete, create_time, create_id, create_by, create_name, modify_time, modify_id, modify_by, modify__name, remark, #{id}, #{tyreFactory}, #{outerTireNumber}, #{materialCode}, #{materialName}, #{qualityStatus}, #{unit}, #{materialType}, #{materialGroup}, #{productGroup}, #{brand}, #{category}, #{size}, #{pattern}, #{consPattern}, #{hierarchy}, #{speedLevel}, #{loadIndex}, #{rimSize}, #{weight}, #{sectionWidth}, #{outerDiameter}, #{flattening}, #{enhanced}, #{innerTube}, #{patternDepth}, #{ctn}, #{type}, #{certInfo}, #{customsSpe}, #{feCode}, #{feDesc}, #{produceFactory}, #{carId}, #{carLicense}, #{tyrePosition}, #{sensorId}, #{currentTextureDepth}, #{state}, #{isDelete}, #{createTime}, #{createId}, #{createBy}, #{createName}, #{modifyTime}, #{modifyId}, #{modifyBy}, #{modifyName}, #{remark}, insert into base_tyre (id, tyre_factory, outer_tire_number, material_code, material_name, quality_status, unit, material_type, material_group, product_group, brand, category, size, pattern, cons_pattern, hierarchy, speed_level, load_index, rim_size, weight, section_width, outer_diameter, flattening, enhanced, inner_tube, pattern_depth, ctn, type, cert_info, customs_spe, fe_code, fe_desc, produce_factory, car_id, car_license, tyre_position, sensor_id, current_texture_depth, state, is_delete, create_time, create_id, create_by, create_name ) values #{t.id}, #{t.tyreFactory}, #{t.outerTireNumber}, #{t.materialCode}, #{t.materialName}, #{t.qualityStatus}, #{t.unit}, #{t.materialType}, #{t.materialGroup}, #{t.productGroup}, #{t.brand}, #{t.category}, #{t.size}, #{t.pattern}, #{t.consPattern}, #{t.hierarchy}, #{t.speedLevel}, #{t.loadIndex}, #{t.rimSize}, #{t.weight}, #{t.sectionWidth}, #{t.outerDiameter}, #{t.flattening}, #{t.enhanced}, #{t.innerTube}, #{t.patternDepth}, #{t.ctn}, #{t.type}, #{t.certInfo}, #{t.customsSpe}, #{t.feCode}, #{t.feDesc}, #{t.produceFactory}, #{t.carId}, #{t.carLicense}, #{t.tyrePosition}, #{t.sensorId}, #{t.currentTextureDepth}, #{t.state}, #{t.isDelete}, #{t.createTime}, #{t.createId}, #{t.createBy}, #{t.createName} update base_tyre tyre_factory = #{tyreFactory}, outer_tire_number = #{outerTireNumber}, material_code = #{materialCode}, material_name = #{materialName}, quality_status = #{qualityStatus}, unit = #{unit}, material_type = #{materialType}, material_group = #{materialGroup}, product_group = #{productGroup}, brand = #{brand}, category = #{category}, size = #{size}, pattern = #{pattern}, cons_pattern = #{consPattern}, hierarchy = #{hierarchy}, speed_level = #{speedLevel}, load_index = #{loadIndex}, rim_size = #{rimSize}, weight = #{weight}, section_width = #{sectionWidth}, outer_diameter = #{outerDiameter}, flattening = #{flattening}, enhanced = #{enhanced}, inner_tube = #{innerTube}, pattern_depth = #{patternDepth}, ctn = #{ctn}, type = #{type}, cert_info = #{certInfo}, customs_spe = #{customsSpe}, fe_code = #{feCode}, fe_desc = #{feDesc}, produce_factory = #{produceFactory}, car_id = #{carId}, car_license = #{carLicense}, tyre_position = #{tyrePosition}, sensor_id = #{sensorId}, current_texture_depth = #{currentTextureDepth}, state = #{state}, is_delete = #{isDelete}, create_time = #{createTime}, create_id = #{createId}, create_by = #{createBy}, create_name = #{createName}, modify_time = #{modifyTime}, modify_id = #{modifyId}, modify_by = #{modifyBy}, modify__name = #{modifyName}, remark = #{remark}, where id = #{id} update base_tyre set car_license=null,car_id=null ,sensor_id=null ,tyre_position=null ,modify_time = #{modifyTime},modify_id = #{modifyId},modify_by = #{modifyBy},modify__name = #{modifyName},current_texture_depth = #{currentTextureDepth} where id = #{id} update base_tyre set is_delete = '1' where id = #{id} update base_tyre set is_delete = '1' where id in #{id}