DELETE FROM T_CR_CodeRule WHERE FID = '1S9/6NVSR/7Q';
INSERT INTO T_CR_CodeRule(FID,FCTRLMODE,FSPLITSIGN,FEXAMPLE,FDISABLEDATE,FAPPMODE,FISADDVIEW,FMASTERID,FSTATUS,FNUMBER,FRULETYPE,FEXAMPLELENGTH,FCREATETIME,FBIZOBJECTID,FMODIFIERID,FISUPDATERECOVER,FENABLE,FMODIFYTIME,FCREATORID,FDISABLERID) VALUES ('1S9/6NVSR/7Q','1','-',' ',NULL,'2','1','1S9/6NVSR/7Q','C','1S9+=F3EAXN+',NULL,' ',{ts'2021-07-24  00:00:00'},'fpm_report',13466739,'0','1',{ts'2021-09-28  00:00:00'},0,NULL);

DELETE FROM T_CR_CodeRule_L WHERE FPKID = '1S9/6NVWCSJN';
INSERT INTO T_CR_CodeRule_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('1S9/6NVSR/7Q','1S9/6NVWCSJN','zh_CN','计划编制表编码规则');

DELETE FROM T_CR_CodeRuleEntry WHERE FID = '1S9/6NVSR/7Q';
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '1Y43B9WW+D+F';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FISVISABLE,FLENGTH,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('1S9/6NVSR/7Q',1,'8',' ','1','1Y43B9WW+D+F',1,'1','3',0,'1',8,' ','1',' ','reportorg.number','0',' ');
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '1Y43B9WW+D+G';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FISVISABLE,FLENGTH,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('1S9/6NVSR/7Q',1,'9','-','1','1Y43B9WW+D+G',1,'1',' ',1,'1',8,'yyyyMMdd','1',' ',' ','1',' ');
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '1Y43B9WW+D+H';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FISVISABLE,FLENGTH,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('1S9/6NVSR/7Q',1,'16','-','0','1Y43B9WW+D+H',1,'1',' ',2,'1',4,' ','1',' ',' ','1',' ');