-- 编码规则
DELETE FROM T_CR_CODERULE WHERE FID = '0YEPTCSH8F+Z';
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 ('0YEPTCSH8F+Z','-','1',' ','2',NULL,'0YEPTCSH8F+Z','C',' ',NULL,' ',{ts'2020-07-20  17:52:57'},'im_disassemblebill','1',13466739,'0',{ts'2020-07-20  17:52:57'},13466739,NULL); 

DELETE FROM T_CR_CODERULE_L WHERE FPKID = '0YEPTCSH8BMP';
INSERT INTO T_CR_CODERULE_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('0YEPTCSH8F+Z','0YEPTCSH8BMP','zh_CN','拆卸单编码规则'); 
DELETE FROM T_CR_CODERULE_L WHERE FPKID = '0YEPTCSH8BMO';
INSERT INTO T_CR_CODERULE_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('0YEPTCSH8F+Z','0YEPTCSH8BMO','zh_TW','拆卸單編碼規則'); 


DELETE FROM T_CR_CODERULEENTRY WHERE FENTRYID = '0ZDC29FL0484';
INSERT INTO T_CR_CODERULEENTRY(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('0YEPTCSH8F+Z',1,'1',' ','0','0ZDC29FL0484',1,'1',' ',0,8,'1','CXD',' ','1',' ','0',' '); 
DELETE FROM T_CR_CODERULEENTRY WHERE FENTRYID = '0ZDC29FL0485';
INSERT INTO T_CR_CODERULEENTRY(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('0YEPTCSH8F+Z',1,'2','-','1','0ZDC29FL0485',1,'1','1',1,8,'1','yyMMdd',' ','1','biztime','1',' '); 
DELETE FROM T_CR_CODERULEENTRY WHERE FENTRYID = '0ZDC29FL0486';
INSERT INTO T_CR_CODERULEENTRY(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('0YEPTCSH8F+Z',1,'16','-','0','0ZDC29FL0486',1,'1','1',2,8,'1',' ',' ','1',' ','1',' '); 
