select id, goods_code, goods_name, goods_name_en, goods_cat, goods_type, goods_model, barcode, nation_area, pic_url, owner_code, is_real_goods, is_big_cat, brand, material, gross_weight, net_weight, single_volume, single_length, single_width, single_height, pkg_pcs, pkg_volume, pkg_length, pkg_width, pkg_height, tax_no, hs_code, is_code, unit, unit1, unit2, price, currency, rule_nation, manuf_enterprise, ebc_code, ciq_code, function, ingredients, purpose, product_validity, cebp_mode, supplier, serial_number, status, status_message, goods_sn2, goods_no2, lic_no, material_path, pd, sale_url, port_code, order_num, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_goods
insert into emis_goods
id,
goods_code,
goods_name,
goods_name_en,
goods_cat,
goods_type,
goods_model,
barcode,
nation_area,
pic_url,
owner_code,
is_real_goods,
is_big_cat,
brand,
material,
gross_weight,
net_weight,
single_volume,
single_length,
single_width,
single_height,
pkg_pcs,
pkg_volume,
pkg_length,
pkg_width,
pkg_height,
tax_no,
hs_code,
is_code,
unit,
unit1,
unit2,
price,
currency,
rule_nation,
manuf_enterprise,
ebc_code,
ciq_code,
function,
ingredients,
purpose,
product_validity,
cebp_mode,
supplier,
serial_number,
status,
status_message,
goods_sn2,
goods_no2,
lic_no,
material_path,
pd,
sale_url,
port_code,
order_num,
remark,
tenant_id,
del_flag,
create_by,
create_time,
update_by,
update_time,
create_site,
update_site,
#{id},
#{goodsCode},
#{goodsName},
#{goodsNameEn},
#{goodsCat},
#{goodsType},
#{goodsModel},
#{barcode},
#{nationArea},
#{picUrl},
#{ownerCode},
#{isRealGoods},
#{isBigCat},
#{brand},
#{material},
#{grossWeight},
#{netWeight},
#{singleVolume},
#{singleLength},
#{singleWidth},
#{singleHeight},
#{pkgPcs},
#{pkgVolume},
#{pkgLength},
#{pkgWidth},
#{pkgHeight},
#{taxNo},
#{hsCode},
#{isCode},
#{unit},
#{unit1},
#{unit2},
#{price},
#{currency},
#{ruleNation},
#{manufEnterprise},
#{ebcCode},
#{ciqCode},
#{function},
#{ingredients},
#{purpose},
#{productValidity},
#{cebpMode},
#{supplier},
#{serialNumber},
#{status},
#{statusMessage},
#{goodsSn2},
#{goodsNo2},
#{licNo},
#{materialPath},
#{pd},
#{saleUrl},
#{portCode},
#{orderNum},
#{remark},
#{tenantId},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{createSite},
#{updateSite},
update emis_goods
goods_code = #{goodsCode},
goods_name = #{goodsName},
goods_name_en = #{goodsNameEn},
goods_cat = #{goodsCat},
goods_type = #{goodsType},
goods_model = #{goodsModel},
barcode = #{barcode},
nation_area = #{nationArea},
pic_url = #{picUrl},
owner_code = #{ownerCode},
is_real_goods = #{isRealGoods},
is_big_cat = #{isBigCat},
brand = #{brand},
material = #{material},
gross_weight = #{grossWeight},
net_weight = #{netWeight},
single_volume = #{singleVolume},
single_length = #{singleLength},
single_width = #{singleWidth},
single_height = #{singleHeight},
pkg_pcs = #{pkgPcs},
pkg_volume = #{pkgVolume},
pkg_length = #{pkgLength},
pkg_width = #{pkgWidth},
pkg_height = #{pkgHeight},
tax_no = #{taxNo},
hs_code = #{hsCode},
is_code = #{isCode},
unit = #{unit},
unit1 = #{unit1},
unit2 = #{unit2},
price = #{price},
currency = #{currency},
rule_nation = #{ruleNation},
manuf_enterprise = #{manufEnterprise},
ebc_code = #{ebcCode},
ciq_code = #{ciqCode},
function = #{function},
ingredients = #{ingredients},
purpose = #{purpose},
product_validity = #{productValidity},
cebp_mode = #{cebpMode},
supplier = #{supplier},
serial_number = #{serialNumber},
status = #{status},
status_message = #{statusMessage},
goods_sn2 = #{goodsSn2},
goods_no2 = #{goodsNo2},
lic_no = #{licNo},
material_path = #{materialPath},
pd = #{pd},
sale_url = #{saleUrl},
port_code = #{portCode},
order_num = #{orderNum},
remark = #{remark},
tenant_id = #{tenantId},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
create_site = #{createSite},
update_site = #{updateSite},
where id = #{id}
delete from emis_goods where id = #{id}
delete from emis_goods where id in
#{id}