DELETE FROM T_CR_CodeRule WHERE FID = '04KZRJK17H8D';
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 ('04KZRJK17H8D','-','1',' ','2',null,'04KZRJK17H8D','C',' ',null,' ',{ts'2019-08-09  08:47:29'},'cas_exchangebill','1',13466739,'0',{ts'2019-08-09  08:47:29'},13466739,null); 
DELETE FROM T_CR_CodeRule_L WHERE FPKID = '04KZRJK17PAH';
INSERT INTO T_CR_CodeRule_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('04KZRJK17H8D','04KZRJK17PAH','zh_CN','外币兑换单编码规则'); 
DELETE FROM T_CR_CodeRule_L WHERE FPKID = '04KZRJK17PAG';
INSERT INTO T_CR_CodeRule_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('04KZRJK17H8D','04KZRJK17PAG','zh_TW','外幣兌換單編碼規則'); 
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '04KZRJMCVW17';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('04KZRJK17H8D',1,'1',' ','0','04KZRJMCVW17',1,'1',' ',0,8,'1','WBDH',' ','1',' ','0',' '); 
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '04KZRJMCVW18';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('04KZRJK17H8D',1,'16','-','0','04KZRJMCVW18',1,'1','1',1,6,'1',' ',' ','1',' ','1',' '); 

