DELETE FROM T_CR_CodeRule WHERE FID = '1FJC4H2RD0PF';
INSERT INTO T_CR_CodeRule(FEXAMPLE,FAPPMODE,FISADDVIEW,FISAPPCONDITION,FMASTERID,FISUNIQUE,FRULETYPE,FISMODIFIABLE,FCREATETIME,FBIZOBJECTID,FENABLE,FISUPDATERECOVER,FISAPPORG,FISSERIALNUMBER,FDISABLERID,FISCHECKCODE,FID,FCREATORID,FSPLITSIGN,FCTRLMODE,FDISABLEDATE,FISLOG,FSTATUS,FNUMBER,FEXAMPLELENGTH,FMODIFIERID,FISNONBREAK,FMODIFYTIME) VALUES (' ','2','1','0','1FJC4H2RD0PF','0',NULL,'0',{ts'2021-03-03  17:11:52'},'tctb_draft_main','1','0','0','1',NULL,'0','1FJC4H2RD0PF',0,'-','1',NULL,'0','C','1FJC2MP2Y5PY',' ',0,'0',{ts'2021-03-03  17:11:52'}); 

DELETE FROM T_CR_CodeRule_L WHERE FPKID = '1FJC4H2RGO2=';
INSERT INTO T_CR_CodeRule_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('1FJC4H2RD0PF','1FJC4H2RGO2=','zh_CN','底稿单据'); 

DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '1FJC4H3DRZ10';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FISVISABLE,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('1FJC4H2RD0PF',1,'1',' ','0','1FJC4H3DRZ10','1',1,'1','1',0,8,'X',' ','1',' ','0',' '); 
DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '1FJC4H3DRZ11';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FISVISABLE,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('1FJC4H2RD0PF',1,'9','-','1','1FJC4H3DRZ11','1',1,'1',' ',1,8,'yyyyMM',' ','1',' ','1',' '); 
DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '1FJC4H3DRZ12';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FISVISABLE,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('1FJC4H2RD0PF',1,'16','-','0','1FJC4H3DRZ12','1',1,'1',' ',2,6,' ',' ','1',' ','1',' '); 
