select quote_id, quote_name, quote_code, use_site_code, use_site, trans_line_code, trans_line, fee_type, prod_code, prod_name, soon_piece_type, rec_pay_type, bill_type, other_type1, other_type2, carry_type, status, disp_area_id, disp_area_site, disp_area_name, disp_area_site_id, send_area_id, send_area_name, send_area_site, 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
insert into emis_quote_price
quote_id,
quote_name,
quote_code,
use_site_code,
use_site,
trans_line_code,
trans_line,
fee_type,
prod_code,
prod_name,
soon_piece_type,
rec_pay_type,
bill_type,
other_type1,
other_type2,
carry_type,
status,
disp_area_id,
disp_area_site,
disp_area_name,
disp_area_site_id,
send_area_id,
send_area_name,
send_area_site,
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},
#{quoteName},
#{quoteCode},
#{useSiteCode},
#{useSite},
#{transLineCode},
#{transLine},
#{feeType},
#{prodCode},
#{prodName},
#{soonPieceType},
#{recPayType},
#{billType},
#{otherType1},
#{otherType2},
#{carryType},
#{status},
#{dispAreaId},
#{dispAreaSite},
#{dispAreaName},
#{dispAreaSiteId},
#{sendAreaId},
#{sendAreaName},
#{sendAreaSite},
#{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_code = #{quoteCode},
use_site_code = #{useSiteCode},
use_site = #{useSite},
trans_line_code = #{transLineCode},
trans_line = #{transLine},
fee_type = #{feeType},
prod_code = #{prodCode},
prod_name = #{prodName},
soon_piece_type = #{soonPieceType},
rec_pay_type = #{recPayType},
bill_type = #{billType},
other_type1 = #{otherType1},
other_type2 = #{otherType2},
carry_type = #{carryType},
status = #{status},
disp_area_id = #{dispAreaId},
disp_area_site = #{dispAreaSite},
disp_area_name = #{dispAreaName},
disp_area_site_id = #{dispAreaSiteId},
send_area_id = #{sendAreaId},
send_area_name = #{sendAreaName},
send_area_site = #{sendAreaSite},
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},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
create_site = #{createSite},
update_site = #{updateSite},
where quote_id = #{quoteId}
delete from emis_quote_price where quote_id = #{quoteId}
delete from emis_quote_price where quote_id in
#{quoteId}