-- 0.启用新准入流程:开关初始化配置
DELETE FROM t_pur_updateparamconfig WHERE FID = 1474764834657637376;
INSERT INTO t_pur_updateparamconfig(FID,FPARAMMSG,FPARAMKEY,FPARAMVALUE,FPARAMNAME) VALUES (1474764834657637376,'Y标识启用；没有配置或者为N标识不启用','enableNewAccessFlow','N','启用新准入流程'); 


-- 1.新增准入节点:资质审查初始化
DELETE FROM t_srm_accessnode WHERE FID = 1457408538451168256;
INSERT INTO t_srm_accessnode(FID,FMANDATORY,FSERVICECLASS,FPRESET,FSTATUS,FBIZOBJECT,FNUMBER,FNAME) VALUES (1457408538451168256,'1',' ','1','1','srm_aptitudeexam','ZR001','资质审查'); 

DELETE FROM t_srm_accessnode_l WHERE FID = 1457408538451168256 AND FLOCALEID='zh_CN';
INSERT INTO t_srm_accessnode_l(FID,FPKID,FLOCALEID,FREMARK,FNAME) VALUES (1457408538451168256,'2K/=I26W=00X','zh_CN',' ','资质审查'); 
DELETE FROM t_srm_accessnode_l WHERE FID = 1457408538451168256 AND FLOCALEID='zh_TW';
INSERT INTO t_srm_accessnode_l(FID,FPKID,FLOCALEID,FREMARK,FNAME) VALUES (1457408538451168256,'2K/=I26W=00Y','zh_TW',' ','資質審查'); 

-- 2.新增准入节点:现场评审初始化
DELETE FROM t_srm_accessnode WHERE FID = 1457408892400101376;
INSERT INTO t_srm_accessnode(FID,FMANDATORY,FSERVICECLASS,FPRESET,FSTATUS,FBIZOBJECT,FNUMBER,FNAME) VALUES (1457408892400101376,'0','kd.scm.srm.service.nodeflow.SrmSceneNodeService','1','1','srm_sceneexam','ZR002','现场评审'); 

DELETE FROM t_srm_accessnode_l WHERE FID = 1457408892400101376 AND FLOCALEID='zh_CN';
INSERT INTO t_srm_accessnode_l(FID,FPKID,FLOCALEID,FREMARK,FNAME) VALUES (1457408892400101376,'2K/=KNSW/OF1','zh_CN',' ','现场评审'); 
DELETE FROM t_srm_accessnode_l WHERE FID = 1457408892400101376 AND FLOCALEID='zh_TW';
INSERT INTO t_srm_accessnode_l(FID,FPKID,FLOCALEID,FREMARK,FNAME) VALUES (1457408892400101376,'2K/=KNSW/OF2','zh_TW',' ','現場評審'); 

-- 3.新增准入节点:样品确认初始化
DELETE FROM t_srm_accessnode WHERE FID = 1457409203281906688;
INSERT INTO t_srm_accessnode(FID,FMANDATORY,FSERVICECLASS,FPRESET,FSTATUS,FBIZOBJECT,FNUMBER,FNAME) VALUES (1457409203281906688,'0','kd.scm.srm.service.nodeflow.SrmSampleNodeService','1','1','srm_sampleexam','ZR003','样品确认');

DELETE FROM t_srm_accessnode_l WHERE FID = 1457409203281906688 AND FLOCALEID='zh_CN';
INSERT INTO t_srm_accessnode_l(FID,FPKID,FLOCALEID,FREMARK,FNAME) VALUES (1457409203281906688,'2K/=MY4IPZ9+','zh_CN',' ','样品确认'); 
DELETE FROM t_srm_accessnode_l WHERE FID = 1457409203281906688 AND FLOCALEID='zh_TW';
INSERT INTO t_srm_accessnode_l(FID,FPKID,FLOCALEID,FREMARK,FNAME) VALUES (1457409203281906688,'2K/=MY4IPZ9/','zh_TW',' ','樣品確認'); 

-- 4.新增准入节点:物料试用初始化
DELETE FROM t_srm_accessnode WHERE FID = 1457409792900385792;
INSERT INTO t_srm_accessnode(FID,FMANDATORY,FSERVICECLASS,FPRESET,FSTATUS,FBIZOBJECT,FNUMBER,FNAME) VALUES (1457409792900385792,'0','kd.scm.srm.service.nodeflow.SrmMaterialNodeService','1','1','srm_materialexam','ZR004','物料试用'); 

DELETE FROM t_srm_accessnode_l WHERE FID = 1457409792900385792 AND FLOCALEID='zh_CN';
INSERT INTO t_srm_accessnode_l(FID,FPKID,FLOCALEID,FREMARK,FNAME) VALUES (1457409792900385792,'2K/=R7PK58=3','zh_CN',' ','物料试用'); 
DELETE FROM t_srm_accessnode_l WHERE FID = 1457409792900385792 AND FLOCALEID='zh_TW';
INSERT INTO t_srm_accessnode_l(FID,FPKID,FLOCALEID,FREMARK,FNAME) VALUES (1457409792900385792,'2K/=R7PK58=4','zh_TW',' ','物料試用');

-- 5.新增准入节点:物料试用初始化
DELETE FROM t_srm_accessnode WHERE FID = 1457410150699689984;
INSERT INTO t_srm_accessnode(FID,FMANDATORY,FSERVICECLASS,FPRESET,FSTATUS,FBIZOBJECT,FNUMBER,FNAME) VALUES (1457410150699689984,'1','kd.scm.srm.service.nodeflow.SrmSupApproveNodeService','1','1','srm_supapprove','ZR005','供应商生效'); 

DELETE FROM t_srm_accessnode_l WHERE FID = 1457410150699689984 AND FLOCALEID='zh_CN';
INSERT INTO t_srm_accessnode_l(FID,FPKID,FLOCALEID,FREMARK,FNAME) VALUES (1457410150699689984,'2K/=TUD88G2N','zh_CN',' ','供应商生效'); 
DELETE FROM t_srm_accessnode_l WHERE FID = 1457410150699689984 AND FLOCALEID='zh_TW';
INSERT INTO t_srm_accessnode_l(FID,FPKID,FLOCALEID,FREMARK,FNAME) VALUES (1457410150699689984,'2K/=TUD88G2O','zh_TW',' ','供應商生效'); 



