-- 租赁变更单预置编码规则
DELETE FROM t_cr_coderule WHERE FID = '2/SDMGJACDNV';
INSERT INTO t_cr_coderule(FID,FSPLITSIGN,FCTRLMODE,FEXAMPLE,FAPPMODE,FISADDVIEW,FISAPPCONDITION,FMASTERID,FSTATUS,FNUMBER,FEXAMPLELENGTH,FISMODIFIABLE,FCREATETIME,FBIZOBJECTID,FENABLE,FMODIFIERID,FISUPDATERECOVER,FISNONBREAK,FMODIFYTIME,FISAPPORG,FISSERIALNUMBER,FCREATORID) VALUES ('2/SDMGJACDNV','-','1',' ','2','1','0','2/SDMGJACDNV','C','2/SDJEBR467R',' ','0',{ts'2021-11-08  00:00:00'},'fa_lease_change_bill','1',1152675720162577408,'1','1',{ts'2021-11-08  00:00:00'},'0','1',0);

DELETE FROM t_cr_coderule_l WHERE FPKID = '2/SDMGJAE4NR';
INSERT INTO t_cr_coderule_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('2/SDMGJACDNV','2/SDMGJAE4NR','zh_CN','租赁变更单');

DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '2/SDQKI7Z04J';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2/SDMGJACDNV',1,'8',' ','1','2/SDQKI7Z04J',1,'1','3',0,8,'1',' ',' ','1','org.number','0',' ');
DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '2/SDQKI7Z04K';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2/SDMGJACDNV',1,'1','-','0','2/SDQKI7Z04K',1,'1','1',1,8,'1','ZLBG',' ','1',' ','1',' ');
DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '2/SDQKI7Z04L';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2/SDMGJACDNV',1,'16','-','0','2/SDQKI7Z04L',1,'1',' ',2,8,'1',' ',' ','1',' ','1',' ');