--用量概率计算日志编码规则
DELETE FROM T_CR_CodeRule WHERE FID = '2HHLY2=420JW';
INSERT INTO T_CR_CodeRule(FID,FSPLITSIGN,FCTRLMODE,FEXAMPLE,FAPPMODE,FDISABLEDATE,FMASTERID,FSTATUS,FNUMBER,FRULETYPE,FEXAMPLELENGTH,FCREATETIME,FBIZOBJECTID,FENABLE,FMODIFIERID,FISUPDATERECOVER,FMODIFYTIME,FCREATORID,FDISABLERID) VALUES ('2HHLY2=420JW','-','1',' ','2',NULL,'2HHLY2=420JW','C','2HHLS2+BKMKJ',NULL,' ',{ts'2018-08-08  18:08:08'},'mds_probabilitylog','1',1,'0',{ts'2018-08-08  18:08:08'},1,NULL); 

DELETE FROM T_CR_CodeRule_l WHERE FPKID = '2HHLY2=43X9K';
INSERT INTO T_CR_CodeRule_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('2HHLY2=420JW','2HHLY2=43X9K','zh_CN','用量概率计算日志'); 

--分录
DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '2HHMS=/R3XQC';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2HHLY2=420JW',1,'1',' ','0','2HHMS=/R3XQC',1,'1','1',0,8,'1','YLGL',' ','1',' ','0',' '); 
DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '2HHMS=/R3XQD';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2HHLY2=420JW',1,'9','-','1','2HHMS=/R3XQD',1,'1',' ',1,8,'1','yyyyMMdd',' ','1',' ','1',' '); 
DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '2HHMS=/R3XQE';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2HHLY2=420JW',1,'16','-','0','2HHMS=/R3XQE',1,'1',' ',2,8,'1',' ',' ','1',' ','1',' '); 
