当前位置: 首页 > news >正文

网站优化公司有哪些服务器 wordpress 邮件设置

网站优化公司有哪些,服务器 wordpress 邮件设置,济南多语言网站建设,优化前网站现状分析方法#xff1a;把数据导入BOM清单的方法是#xff0c;把数据导入接口表中#xff0c;让其自动运行既可。上传文件的时候#xff0c;要注意使 用ASCII字符模式。1、自己建立一中转表drop table cux_bill_temp;create table cux_bill_temp(bill_sequence_id number,as…方法把数据导入BOM清单的方法是把数据导入接口表中让其自动运行既可。上传文件的时候要注意使      用ASCII字符模式。1、自己建立一中转表drop table cux_bill_temp;create table cux_bill_temp(bill_sequence_id  number,assembly_item_id number,organization_id number,assembly_item  varchar2(50),   --BOMcomponent_sequence_id   number,component_quantity   number, --组件数量item_num    number, --项目序列operation_seq_num   number, --工序序列component_item_id   number,component_item   varchar2(50),  --组件PLANNING_FACTOR   number,  --计划%d100component_yield_factor  number,  --产出率d1wip_supply_type   number,  --供应类型supply_type    varchar2(50),supply_subinventory   varchar2(50), --供应子库存OPTIONAL    number,  --可选的OPTIONAL_disp    varchar2(10), --可选的MUTUALLY_EXCLUSIVE_OPTIONS   number,  --互不相容MUTUALLY_EXCLUSIVE_O_disp  varchar2(10), --互不相容attribute1    varchar2(50),   --排序号row_num    number);2、删除中转表中的数据delete cux_bill_temp;3、把要导入的数据放在扩展名为*.csv的文件中且要相对应于中转表的字段本例中的文件名为bill.csv。另外的脚本文件为bill.ctl,其内容如下:options (skip1)  //跳过第一行一般第一行为其字段说明LOAD DATAINFILE bill.csv  //bill.csv为数据文件APPENDINTO TABLE cux_bill_tempFIELDS TERMINATED BY , OPTIONALLY ENCLOSED BY (与中转表相对应的字段列表)登录进入ORACLE数据库利用命令(sqlload 用户名/密码数据库名)载入文件bill.csv的数据入中转表。4、查看中转表中的记录数(以备导入数据后进行对比)select count(*) from cux_bill_temp;5、去除导入时在表bill.csv中的关键字段的空格字符以免影响导入。update cux_bill_tempset ASSEMBLY_ITEMreplace(ASSEMBLY_ITEM, ,),COMPONENT_ITEMreplace(COMPONENT_ITEM, ,);6、查看是否有重复的选项(既是否重复了Item)select assembly_item,component_item,min(row_num),count(*)from cux_bill_tempgroup by assembly_item,component_itemhaving count(*)1;如果有重复的Item,则要删除(或是重新合并)delete cux_bill_tempwhere row_num in (select min(row_num) from cux_bill_tempgroup by assembly_item,component_itemhaving count(*)1);以下步骤为选做(如有重复才做没有重复不做7-10)7、再重新建立一个临时表(对于有重复数据则只取一条数据现取row_num最小的一条)drop table cux_bill_a;create table cux_bill_aasselect assembly_item,component_item,component_quantity,PLANNING_FACTOR,component_yield_factor,supply_type,supply_subinventory,OPTIONAL_disp,MUTUALLY_EXCLUSIVE_O_disp,attribute1,min(row_num) row_numfrom cux_bill_tempgroup by assembly_item,component_item,component_quantity,PLANNING_FACTOR,component_yield_factor,supply_type,supply_subinventory,OPTIONAL_disp,MUTUALLY_EXCLUSIVE_O_disp,attribute1;8、删除cux_bill_temp表delete cux_bill_temp;9、再重cux_bill_a表中把数据导入给cux_bill_temp表完成把重复数据剔除的功能insert into cux_bill_temp(assembly_item,component_item,component_quantity,PLANNING_FACTOR,component_yield_factor,supply_type,supply_subinventory,OPTIONAL_disp,MUTUALLY_EXCLUSIVE_O_disp,attribute1,row_num)select assembly_item,component_item,component_quantity,PLANNING_FACTOR,component_yield_factor,supply_type,supply_subinventory,OPTIONAL_disp,MUTUALLY_EXCLUSIVE_O_disp,attribute1,row_numfrom cux_bill_a;10、删除表cux_bill_adrop table cux_bill_a;11、再检查一次表是否有重复的数据select assembly_item,component_item,min(row_num),count(*)from cux_bill_tempgroup by assembly_item,component_itemhaving count(*)1;12、查看在mtl_system_items表中既是在库存表中有没有不存在的Item.select distinct itemfrom (select distinct assembly_item itemfrom cux_bill_temp bwhere not exists (select null from mtl_system_items where segment1b.assembly_item and organization_id2)unionselect distinct component_item itemfrom cux_bill_temp bwhere not exists (select null from mtl_system_items where segment1b.component_item and organization_id2))order by item;13、如果在mtl_system_items中有不存在的物品ITEM时要把其删除(或是把这些物品Item导入到系统中)删除delete cux_bill_temp bwhere  not exists (select null from mtl_system_items where segment1b.component_item and organization_id2);delete cux_bill_temp awhere not exists  (select null from mtl_system_items where segment1a.assembly_item  and organization_id2);14、对没有物品Item的进行处理把其放入另一临时表cux_item_temp中(以备查询及导入mtl_system_items表中)delete cux_item_temp;insert into cux_item_temp(segment1,description)select distinct item,itemfrom (select distinct assembly_item itemfrom cux_bill_temp bwhere not exists (select null from mtl_system_items where segment1b.assembly_item and organization_id2)unionselect distinct component_item itemfrom cux_bill_temp bwhere not exists (select null from mtl_system_items where segment1b.component_item and organization_id2));将找到没有ITEM的BOM数据放到另一个表中以备下次ITEM导入后在导BOMcreate table cux_bom_temp1select distinct itemfrom (select distinct assembly_item itemfrom cux_bill_temp bwhere not exists (select null from mtl_system_items where segment1b.assembly_item and organization_id2)unionselect distinct component_item itemfrom cux_bill_temp bwhere not exists (select null from mtl_system_items where segment1b.component_item and organization_id2))-----------------------------------------------------------------------------------------------------------15、从表mtl_system_items中把物品的编码ID加入中转表cux_bill_temp表(从项目主组织)中update cux_bill_temp bset assembly_item_id(select inventory_item_id from mtl_system_itemswhere segment1b.assembly_item and organization_id2),component_item_id(select inventory_item_id from mtl_system_itemswhere segment1b.component_item and organization_id2);16、查看是否有没有物品ID的编码存在(既没有物品的ID被导入临时表cux_bill_temp中)select row_numfrom cux_bill_tempwhere assembly_item_id is null or component_item_id is null;17、对其中导入的数据进行处理update cux_bill_tempset OPTIONAL1where upper(OPTIONAL_disp) like Y%;update cux_bill_tempset OPTIONAL2where OPTIONAL is null;update cux_bill_tempset MUTUALLY_EXCLUSIVE_OPTIONS1where upper(MUTUALLY_EXCLUSIVE_O_DISP) like Y%;update cux_bill_tempset MUTUALLY_EXCLUSIVE_OPTIONS2where MUTUALLY_EXCLUSIVE_O_DISP is null;18、查看cux_bill_temp中的数据处理是否有漏select count(*)from cux_bill_tempwhere OPTIONAL is nullor MUTUALLY_EXCLUSIVE_OPTIONS is nullor assembly_item_id is nullor component_item_id is null;19、更新其内的WIP_SUPPLY_TYPE;update cux_bill_tempset WIP_SUPPLY_TYPE6where component_item like B%;20、删除表中的包(cux_bill_temp中)其相对应于表bom_bill_of_materials(既在表中已经存在了些选项包不必导入包头只需导入包内容既可)delete cux_bill_temp twhere exists (select null from bom_bill_of_materials where assembly_item_idt.assembly_item_id and organization_id2);21、利用已经写好的包写入数据(既写入接口表bom_bill_of_mtls_interface)exec cux_bom_temp.insert_bill_15(1);select count(*) from cux_bill_temp tempwhere exits (select null from bom_inventory_components  bwhere temp.bill_sequence_idb.bill_sequence_idand temp.component_item_idb.component_item_id);delete cux_bill_temp tempwhere exists (select null from bom_inventory_components  bwhere b.bill_sequence_idtemp.bill_sequence_idand b.component_item_idtemp.component_item_id);exec cux_bom_temp.insert_bill_10(1);22、对写入的数据在接口表中的情况进行查看select count(*) from bom_bill_of_mtls_interface;23、接着更新exec cux_bom_temp.insert_bill_15(1);select count(*) from cux_bill_temp where bill_sequence_id is null;exec cux_bom_temp.insert_bill_20(1);去提交请求select count(*) from bom_inventory_comps_interface;(导入成功后)对组件进行排序exec cux_bom_temp.update_bill_item_num4;select count(*) from bom_inventory_comps_interface;24、对于接口表中的数据进行导入delete bom_bill_of_mtls_interface;insert into bom_bill_of_mtls_interface(assembly_type,assembly_item_id,organization_id,process_flag,transaction_type)select  distinct 1,assembly_item_id,1,1,CREATEfrom cux_bill_temp;【责编:landss】--------------------next---------------------
http://www.zqtcl.cn/news/272348/

相关文章:

  • 郑州企业建站系统模板兰州需要做网站的公司有哪些
  • 怎样做网站卖东西 自己有货句容网络公司
  • 网站建设协议书 保密条款免费发布推广的网站
  • 网站首页外链上海网站建设联系方式
  • 陕西网站建设优化技术2023年1月热点新闻事件
  • 广东省建设银行招聘网站免费搭建个人网站
  • 知名商城网站建设公司wordpress主题 汉化
  • 网站上线做什么pc网站如何做移动适配
  • wap网站搭建北京北京网站建设
  • 放心的网站设计制作免费做logo设计的网站
  • 温州专业手机网站制作多少钱移动商城 网站建设方法方式
  • 周口网站开发wordpress
  • 如何查网站的备案号玉环在哪里做网站
  • 网站开发什么叫前端后端seo研究中心晴天
  • 邢台建筑类的建设网站代刷网站只做软件下载
  • 关于旅游的网站建设目的食品网站建设的目的
  • 开发php网站开发太湖网站建设推荐秒搜科技
  • 90设计网站怎么绑定手机号淘宝搜索排名
  • 无锡自助做网站哪些编程语言适合网站开发
  • 蒲城网站建设wzjseo北京专业推广公司
  • 阳春做网站外贸建站推广公司
  • 哪个网站的课件做的好源码之家关闭了
  • 各大网站热搜榜排名嵊州网站
  • 在哪找做网站的镇江网页设计工作室
  • 做网站的是干嘛的百度推广的几种方式
  • 临沧网站建设用eclipse做jsp网站
  • 做物流运输网站电话做网站看
  • 山东公司网站推广优化什么网站做宣传好
  • 企业网站模板设计外网vp(永久免费)加速器下载
  • 消费者联盟网站怎么做中山网站建设案例