select id, waybill_id, bill_code, goods_code, goods_name, goods_model, gross_weight, net_weight, cargo_qty, abnormal_qty, unit, weight, price, currency, nation_area, tax_no, hscode, brand, material, purpose, ingredients, manufacturer, supplier, function, length, width, height, volume, barcode, extra_data, order_num, del_flag, create_by, create_time, update_by, update_time, remark from emis_waybill_declare_goods insert into emis_waybill_declare_goods id, waybill_id, bill_code, goods_code, goods_name, goods_model, gross_weight, net_weight, cargo_qty, abnormal_qty, unit, weight, price, currency, nation_area, tax_no, hscode, brand, material, purpose, ingredients, manufacturer, supplier, function, length, width, height, volume, barcode, extra_data, order_num, del_flag, create_by, create_time, update_by, update_time, remark, #{id}, #{waybillId}, #{billCode}, #{goodsCode}, #{goodsName}, #{goodsModel}, #{grossWeight}, #{netWeight}, #{cargoQty}, #{abnormalQty}, #{unit}, #{weight}, #{price}, #{currency}, #{nationArea}, #{taxNo}, #{hscode}, #{brand}, #{material}, #{purpose}, #{ingredients}, #{manufacturer}, #{supplier}, #{function}, #{length}, #{width}, #{height}, #{volume}, #{barcode}, #{extraData}, #{orderNum}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update emis_waybill_declare_goods waybill_id = #{waybillId}, bill_code = #{billCode}, goods_code = #{goodsCode}, goods_name = #{goodsName}, goods_model = #{goodsModel}, gross_weight = #{grossWeight}, net_weight = #{netWeight}, cargo_qty = #{cargoQty}, abnormal_qty = #{abnormalQty}, unit = #{unit}, weight = #{weight}, price = #{price}, currency = #{currency}, nation_area = #{nationArea}, tax_no = #{taxNo}, hscode = #{hscode}, brand = #{brand}, material = #{material}, purpose = #{purpose}, ingredients = #{ingredients}, manufacturer = #{manufacturer}, supplier = #{supplier}, function = #{function}, length = #{length}, width = #{width}, height = #{height}, volume = #{volume}, barcode = #{barcode}, extra_data = #{extraData}, 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_declare_goods where id = #{id} delete from emis_waybill_declare_goods where id in #{id} update emis_waybill_declare_goods set del_flag='1' where waybill_id = #{waybillId}