select id, waybill_id, bill_code, attach_type, file_name, file_url, file_siez, file_desc, order_num, del_flag, create_by, create_time, update_by, update_time, remark from emis_waybill_attachment insert into emis_waybill_attachment id, waybill_id, bill_code, attach_type, file_name, file_url, file_siez, file_desc, order_num, del_flag, create_by, create_time, update_by, update_time, remark, #{id}, #{waybillId}, #{billCode}, #{attachType}, #{fileName}, #{fileUrl}, #{fileSiez}, #{fileDesc}, #{orderNum}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update emis_waybill_attachment waybill_id = #{waybillId}, bill_code = #{billCode}, attach_type = #{attachType}, file_name = #{fileName}, file_url = #{fileUrl}, file_siez = #{fileSiez}, file_desc = #{fileDesc}, order_num = #{orderNum}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where id = #{id} delete from emis_waybill_attachment where id = #{id} delete from emis_waybill_attachment where id in #{id}