select id, waybill_id, goods_code, goods_name, cargo_qty, unit, weight, price, currency, nation_area, tax_no, hscode, brand, purpose, ingredients, function, goods_model, manufacturer, gross_weight, length, width, declared_value, declared_value_currency, barcode, height, volume, del_flag, create_by, create_time, update_by, update_time, remark from emis_waybill_cargo insert into emis_waybill_cargo id, waybill_id, goods_code, goods_name, cargo_qty, unit, weight, price, currency, nation_area, tax_no, hscode, brand, purpose, ingredients, function, goods_model, manufacturer, gross_weight, length, width, declared_value, declared_value_currency, barcode, height, volume, del_flag, create_by, create_time, update_by, update_time, remark, #{id}, #{waybillId}, #{goodsCode}, #{goodsName}, #{cargoQty}, #{unit}, #{weight}, #{price}, #{currency}, #{nationArea}, #{taxNo}, #{hscode}, #{brand}, #{purpose}, #{ingredients}, #{function}, #{goodsModel}, #{manufacturer}, #{grossWeight}, #{length}, #{width}, #{declaredValue}, #{declaredValueCurrency}, #{barcode}, #{height}, #{volume}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update emis_waybill_cargo waybill_id = #{waybillId}, goods_code = #{goodsCode}, goods_name = #{goodsName}, cargo_qty = #{cargoQty}, unit = #{unit}, weight = #{weight}, price = #{price}, currency = #{currency}, nation_area = #{nationArea}, tax_no = #{taxNo}, hscode = #{hscode}, brand = #{brand}, purpose = #{purpose}, ingredients = #{ingredients}, function = #{function}, goods_model = #{goodsModel}, manufacturer = #{manufacturer}, gross_weight = #{grossWeight}, length = #{length}, width = #{width}, declared_value = #{declaredValue}, declared_value_currency = #{declaredValueCurrency}, barcode = #{barcode}, height = #{height}, volume = #{volume}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where id = #{id} delete from emis_waybill_cargo where id = #{id} delete from emis_waybill_cargo where id in #{id}