select id, in_no, in_child_no, goods_code, goods_name, cargo_qty, abnormal_qty, out_qty, unit, weight, price, currency, nation_area, tax_no, hscode, brand, material, purpose, ingredients, manufacturer, supplier, function, goods_model, gross_weight, net_weight, length, width, height, volume, barcode, order_num, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_warehouse_in_dtl insert into emis_warehouse_in_dtl id, in_no, in_child_no, goods_code, goods_name, cargo_qty, abnormal_qty, out_qty, unit, weight, price, currency, nation_area, tax_no, hscode, brand, material, purpose, ingredients, manufacturer, supplier, function, goods_model, gross_weight, net_weight, length, width, height, volume, barcode, order_num, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site, #{id}, #{inNo}, #{inChildNo}, #{goodsCode}, #{goodsName}, #{cargoQty}, #{abnormalQty}, #{outQty}, #{unit}, #{weight}, #{price}, #{currency}, #{nationArea}, #{taxNo}, #{hscode}, #{brand}, #{material}, #{purpose}, #{ingredients}, #{manufacturer}, #{supplier}, #{function}, #{goodsModel}, #{grossWeight}, #{netWeight}, #{length}, #{width}, #{height}, #{volume}, #{barcode}, #{orderNum}, #{remark}, #{tenantId}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{createSite}, #{updateSite}, update emis_warehouse_in_dtl in_no = #{inNo}, in_child_no = #{inChildNo}, goods_code = #{goodsCode}, goods_name = #{goodsName}, cargo_qty = #{cargoQty}, abnormal_qty = #{abnormalQty}, out_qty = #{outQty}, 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}, goods_model = #{goodsModel}, gross_weight = #{grossWeight}, net_weight = #{netWeight}, length = #{length}, width = #{width}, height = #{height}, volume = #{volume}, barcode = #{barcode}, 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_warehouse_in_dtl where id = #{id} delete from emis_warehouse_in_dtl where id in #{id}