select id, waybill_id, bill_code, sales_support, del_flag, create_by, create_time, update_by, update_time, create_site, update_site, remark
from emis_waybill_other
insert into emis_waybill_other
waybill_id,
bill_code,
sales_support,
del_flag,
create_by,
create_time,
update_by,
update_time,
create_site,
update_site,
remark,
#{waybillId},
#{billCode},
#{salesSupport},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{createSite},
#{updateSite},
#{remark},
update emis_waybill_other
waybill_id = #{waybillId},
bill_code = #{billCode},
sales_support = #{salesSupport},
del_flag = #{delFlag},
update_by = #{updateBy},
update_time = #{updateTime},
create_site = #{createSite},
update_site = #{updateSite},
remark = #{remark},
where id = #{id}
update emis_waybill_other set del_flag = '1' where id = #{id}
update emis_waybill_other set del_flag = '1' where waybill_id = #{waybillId}
update emis_waybill_other set del_flag = '1' where bill_code = #{billCode}