select quote_id, quote_code, quote_name, quote_type, customer_code, cust_no, use_site_code, trans_line_code, fee_type, currency, prod_code, rec_pay_type, bill_type, other_type1, other_type2, carry_type, status, disp_area_id, disp_area_name, disp_area_site, disp_area_site_code, disp_area_site_id, send_area_id, send_area_name, send_area_site, send_area_site_code, send_area_site_id, carries_number, discards_number, least_price, price_type, start_date, end_date, priority_level, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_quote_price a insert into emis_quote_price quote_id, quote_code, quote_name, quote_type, customer_code, cust_no, use_site_code, trans_line_code, fee_type, currency, prod_code, rec_pay_type, bill_type, other_type1, other_type2, carry_type, status, disp_area_id, disp_area_name, disp_area_site, disp_area_site_code, disp_area_site_id, send_area_id, send_area_name, send_area_site, send_area_site_code, send_area_site_id, carries_number, discards_number, least_price, price_type, start_date, end_date, priority_level, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site, #{quoteId}, #{quoteCode}, #{quoteName}, #{quoteType}, #{customerCode}, #{custNo}, #{useSiteCode}, #{transLineCode}, #{feeType}, #{currency}, #{prodCode}, #{recPayType}, #{billType}, #{otherType1}, #{otherType2}, #{carryType}, #{status}, #{dispAreaId}, #{dispAreaName}, #{dispAreaSite}, #{dispAreaSiteCode}, #{dispAreaSiteId}, #{sendAreaId}, #{sendAreaName}, #{sendAreaSite}, #{sendAreaSiteCode}, #{sendAreaSiteId}, #{carriesNumber}, #{discardsNumber}, #{leastPrice}, #{priceType}, #{startDate}, #{endDate}, #{priorityLevel}, #{remark}, #{tenantId}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{createSite}, #{updateSite}, update emis_quote_price quote_name = #{quoteName}, quote_type = #{quoteType}, customer_code = #{customerCode}, cust_no = #{custNo}, use_site_code = #{useSiteCode}, trans_line_code = #{transLineCode}, fee_type = #{feeType}, currency = #{currency}, prod_code = #{prodCode}, rec_pay_type = #{recPayType}, bill_type = #{billType}, other_type1 = #{otherType1}, other_type2 = #{otherType2}, carry_type = #{carryType}, status = #{status}, disp_area_id = #{dispAreaId}, disp_area_name = #{dispAreaName}, disp_area_site = #{dispAreaSite}, disp_area_site_code = #{dispAreaSiteCode}, disp_area_site_id = #{dispAreaSiteId}, send_area_id = #{sendAreaId}, send_area_name = #{sendAreaName}, send_area_site = #{sendAreaSite}, send_area_site_code = #{sendAreaSiteCode}, send_area_site_id = #{sendAreaSiteId}, carries_number = #{carriesNumber}, discards_number = #{discardsNumber}, least_price = #{leastPrice}, price_type = #{priceType}, start_date = #{startDate}, end_date = #{endDate}, priority_level = #{priorityLevel}, remark = #{remark}, tenant_id = #{tenantId}, del_flag = #{delFlag}, update_by = #{updateBy}, update_time = #{updateTime}, update_site = #{updateSite}, where quote_id = #{quoteId} update emis_quote_price set del_flag='1' where quote_id = #{quoteId} update emis_quote_price set del_flag='1' where quote_id in #{quoteId}