select id, customer_key, name, tall, weight, age, sex, phone, physical_signs_id, other_physical_signs, time_table, experience, occupation, blood_data, moisture_data, pre_sale_id, create_time, update_time, create_by, update_by, del_flag from sys_pre_sale_survey insert into sys_pre_sale_survey customer_key, name, tall, weight, age, sex, phone, physical_signs_id, other_physical_signs, time_table, experience, occupation, blood_data, moisture_data, pre_sale_id, question_type, create_time, update_time, create_by, update_by, del_flag, #{customerKey}, #{name}, #{tall}, #{weight}, #{age}, #{sex}, #{phone}, #{physicalSignsId}, #{otherPhysicalSigns}, #{timeTable}, #{experience}, #{occupation}, #{bloodData}, #{moistureData}, #{preSaleId}, #{questionType}, #{createTime}, #{updateTime}, #{createBy}, #{updateBy}, #{delFlag}, update sys_pre_sale_survey customer_key = #{customerKey}, name = #{name}, tall = #{tall}, weight = #{weight}, age = #{age}, sex = #{sex}, phone = #{phone}, physical_signs_id = #{physicalSignsId}, other_physical_signs = #{otherPhysicalSigns}, time_table = #{timeTable}, experience = #{experience}, occupation = #{occupation}, blood_data = #{bloodData}, moisture_date = #{moistureData}, pre_sale_id = #{preSaleId}, question_type = #{questionType}, create_time = #{createTime}, update_time = #{updateTime}, create_by = #{createBy}, update_by = #{updateBy}, del_flag = #{delFlag}, where id = #{id} update sys_pre_sale_survey set del_flag = 1 where id = #{id} update sys_pre_sale_survey set del_flag = 1 where id in #{id}