select f_id,
f_portofloadid,
f_distinationid,
f_portoftransshipment,
f_ETD,
f_ETA,
f_days,
f_begindate,
f_end,
f_teu,
f_dates,
f_status,
create_by,
create_time,
update_by,
update_time,
remark
from t_ctnprice
insert into t_ctnprice
f_portofloadid,
f_distinationid,
f_portoftransshipment,
f_ETD,
f_ETA,
f_days,
f_begindate,
f_end,
f_teu,
f_dates,
f_status,
create_by,
create_time,
update_by,
update_time,
remark,
#{fPortofloadid},
#{fDistinationid},
#{fPortoftransshipment},
#{fEtd},
#{fEta},
#{fDays},
#{fBegindate},
#{fEnd},
#{fTeu},
#{fDates},
#{fStatus},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update t_ctnprice
f_portofloadid = #{fPortofloadid},
f_distinationid = #{fDistinationid},
f_portoftransshipment = #{fPortoftransshipment},
f_portoftransshipment = null,
f_ETD = #{fEtd},
f_ETA = #{fEta},
f_days = #{fDays},
f_begindate = #{fBegindate},
f_end = #{fEnd},
f_teu = #{fTeu},
f_dates = #{fDates},
f_status = #{fStatus},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where f_id = #{fId}
delete
from t_ctnprice
where f_id = #{fId}
delete from t_ctnprice where f_id in
#{fId}