select id, waybill_id, fee_code, fee_name, fee, real_fee, currency, quote_id, expr_id, calc_exp, initial_weight_fee, add_weight_price, bl_auto_gen, order_num, del_flag, create_by, create_time, update_by, update_time, remark from emis_waybill_feeitem
insert into emis_waybill_feeitem
waybill_id,
fee_code,
fee_name,
fee,
real_fee,
currency,
quote_id,
expr_id,
calc_exp,
initial_weight_fee,
add_weight_price,
bl_auto_gen,
order_num,
del_flag,
create_by,
create_time,
update_by,
update_time,
remark,
#{waybillId},
#{feeCode},
#{feeName},
#{fee},
#{realFee},
#{currency},
#{quoteId},
#{exprId},
#{calcExp},
#{initialWeightFee},
#{addWeightPrice},
#{blAutoGen},
#{orderNum},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update emis_waybill_feeitem
waybill_id = #{waybillId},
fee_code = #{feeCode},
fee_name = #{feeName},
fee = #{fee},
real_fee = #{realFee},
currency = #{currency},
quote_id = #{quoteId},
expr_id = #{exprId},
initial_weight_fee = #{initialWeightFee},
add_weight_price = #{addWeightPrice},
order_num = #{orderNum},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where id = #{id}
update emis_waybill_feeitem set del_flag='1' where id = #{id}
update emis_waybill_feeitem set del_flag='1' where id in
#{id}
update emis_waybill_feeitem set del_flag='1' where waybill_id = #{waybillId}