 --调度区域
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2OPGEY2Q/K7D';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2OM4GIR6/EYI',1,'16',' ','0','2OPGEY2Q/K7D',1,'1',' ',0,4,'1',' ','1',' ',' ','0',' '); 


DELETE FROM T_CR_CodeRule WHERE FID = '2OM4GIR6/EYI';
INSERT INTO T_CR_CodeRule(FEXAMPLE,FAPPMODE,FISADDVIEW,FISAPPCONDITION,FISUNIQUE,FMASTERID,FISMODIFIABLE,FCREATETIME,FBIZOBJECTID,FISUPDATERECOVER,FENABLE,FISAPPORG,FISSERIALNUMBER,FISCHECKCODE,FID,FCTRLMODE,FSPLITSIGN,FISLOG,FSTATUS,FNUMBER,FEXAMPLELENGTH,FISFAST,FMODIFIERID,FISNONBREAK,FMODIFYTIME,FCREATORID) VALUES (' ','2','1','0','0','2OM4GIR6/EYI','0',{ts'2018-08-08  18:08:08'},'fmm_dispatcharea','0','1','0','1','0','2OM4GIR6/EYI','1','-','0','C','FMM_DISPATCHAREA_S',' ','1',1,'0',{ts'2018-08-08  18:08:08'},0); 

DELETE FROM T_CR_CodeRule_l WHERE FPKID = '2OM4GIR6/FLS';
INSERT INTO T_CR_CodeRule_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('2OM4GIR6/EYI','2OM4GIR6/FLS','zh_CN','调度区域S'); 
DELETE FROM T_CR_CodeRule_l WHERE FPKID = '2OPGEY1ZZQEQ';
INSERT INTO T_CR_CodeRule_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('2OM4GIR6/EYI','2OPGEY1ZZQEQ','zh_TW','調度區域S'); 



DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2OPH9IRT40O2';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2OM4KQUCU46O',1,'16',' ','0','2OPH9IRT40O2',1,'1',' ',0,6,'1',' ','1',' ',' ','0',' '); 


DELETE FROM T_CR_CodeRule WHERE FID = '2OM4KQUCU46O';
INSERT INTO T_CR_CodeRule(FEXAMPLE,FAPPMODE,FISADDVIEW,FISAPPCONDITION,FISUNIQUE,FMASTERID,FISMODIFIABLE,FCREATETIME,FBIZOBJECTID,FISUPDATERECOVER,FENABLE,FISAPPORG,FISSERIALNUMBER,FISCHECKCODE,FID,FCTRLMODE,FSPLITSIGN,FISLOG,FSTATUS,FNUMBER,FEXAMPLELENGTH,FISFAST,FMODIFIERID,FISNONBREAK,FMODIFYTIME,FCREATORID) VALUES (' ','2','1','0','0','2OM4KQUCU46O','0',{ts'2018-08-08  18:08:08'},'fmm_pershrpool','0','1','0','1','0','2OM4KQUCU46O','1','-','0','C','FMM_PERSHRPOOL_S',' ','1',1,'0',{ts'2018-08-08  18:08:08'},0); 

DELETE FROM T_CR_CodeRule_l WHERE FPKID = '2OM4KQUCU3IE';
INSERT INTO T_CR_CodeRule_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('2OM4KQUCU46O','2OM4KQUCU3IE','zh_CN','人力资源池'); 
DELETE FROM T_CR_CodeRule_l WHERE FPKID = '2OPH8IC6RM79';
INSERT INTO T_CR_CodeRule_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('2OM4KQUCU46O','2OPH8IC6RM79','zh_TW','人力資源池'); 


--工作类型的管控策略
DELETE FROM T_BD_DefaultCtrlStrategy WHERE FID = 1495651052547050496;
INSERT INTO T_BD_DefaultCtrlStrategy(FID,FCTRLVIEW,FDEFAULTMANAGESTRATEGY,FDATATYPE,FDISABLEDATE,FMASTERID,FSTATUS,FAPPSYSTEMID,FNUMBER,FDEFAULTCTRLSTRATEGY,FBASEDATAID,FCREATETIME,FENABLE,FMODIFIERID,FPLUGIN,FMODIFYTIME,FCREATORID,FISSYSTEM,FDISABLERID) VALUES (1495651052547050496,16,'1','2',NULL,1495651052547050496,'A','064+L=UVGI9P',' ','5','fmm_worktype',{ts'2018-08-08  18:08:08'},'1',1,' ',{ts'2018-08-08  18:08:08'},1,'0',0);