--补充需要新增的业务类型和需要升级的业务类型关联的行类型

--新增业务类型
--114
DELETE FROM t_bd_biztype WHERE FID = 1271737635408233472;
INSERT INTO t_bd_biztype(FID,FISPURCHASE,FDISABLEDATE,FISSALE,FDESCRIPTION,FMASTERID,FSTATUS,FISINVENTORY,FNAME,FNUMBER,FDOMAIN,FCREATETIME,FMODIFIERID,FENABLE,FISPRESET,FMODIFYTIME,FBIZCATEGORY,FCREATORID,FDISABLERID) VALUES (1271737635408233472,'0',NULL,'0',' ',1271737635408233472,'C','0','采购费用','114','1',{ts'2021-10-21  00:00:00'},1269353619363201024,'1','1',{ts'2021-10-21  00:00:00'},'BZ',1269353619363201024,0); 
DELETE FROM t_bd_biztype_L WHERE FPKID = '2+6RPD06DPCC';
INSERT INTO t_bd_biztype_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1271737635408233472,'2+6RPD06DPCC','zh_CN',' ','采购费用'); 
DELETE FROM t_bd_biztype_L WHERE FPKID = '2+6RPD06DPCD';
INSERT INTO t_bd_biztype_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1271737635408233472,'2+6RPD06DPCD','zh_TW',' ','采購費用'); 

--214
DELETE FROM t_bd_biztype WHERE FID = 1271739425939833856;
INSERT INTO t_bd_biztype(FID,FISPURCHASE,FDISABLEDATE,FISSALE,FDESCRIPTION,FMASTERID,FSTATUS,FISINVENTORY,FNAME,FNUMBER,FDOMAIN,FCREATETIME,FMODIFIERID,FENABLE,FISPRESET,FMODIFYTIME,FBIZCATEGORY,FCREATORID,FDISABLERID) VALUES (1271739425939833856,'0',NULL,'0',' ',1271739425939833856,'C','0','销售费用','214','0',{ts'2021-10-21  00:00:00'},1269353619363201024,'1','1',{ts'2021-10-21  00:00:00'},'BZ',1269353619363201024,0); 
DELETE FROM t_bd_biztype_L WHERE FPKID = '2+6S0EWJDE7W';
INSERT INTO t_bd_biztype_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1271739425939833856,'2+6S0EWJDE7W','zh_CN',' ','销售费用'); 
DELETE FROM t_bd_biztype_L WHERE FPKID = '2+6S0EWJDE7X';
INSERT INTO t_bd_biztype_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1271739425939833856,'2+6S0EWJDE7X','zh_TW',' ','銷售費用'); 

--701
DELETE FROM t_bd_biztype WHERE FID = 1271752771216916480;
INSERT INTO t_bd_biztype(FID,FISPURCHASE,FDISABLEDATE,FISSALE,FDESCRIPTION,FMASTERID,FSTATUS,FISINVENTORY,FNAME,FNUMBER,FDOMAIN,FCREATETIME,FMODIFIERID,FENABLE,FISPRESET,FMODIFYTIME,FBIZCATEGORY,FCREATORID,FDISABLERID) VALUES (1271752771216916480,'0',NULL,'0',' ',1271752771216916480,'C','0','重复制造','701','3',{ts'2021-10-21  00:00:00'},1269353619363201024,'1','1',{ts'2021-10-21  00:00:00'},'BZ',1269353619363201024,0); 
DELETE FROM t_bd_biztype_L WHERE FPKID = '2+6UIOHYOJIJ';
INSERT INTO t_bd_biztype_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1271752771216916480,'2+6UIOHYOJIJ','zh_CN',' ','重复制造'); 
DELETE FROM t_bd_biztype_L WHERE FPKID = '2+6UIOHYOJIK';
INSERT INTO t_bd_biztype_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1271752771216916480,'2+6UIOHYOJIK','zh_TW',' ','重複製造'); 

--更新业务类型WX110和WX1101的编码
UPDATE t_bd_biztype SET fnumber = '801' WHERE FID = 1002795213917594624;
UPDATE t_bd_biztype SET fnumber = '8011' WHERE FID = 1006426561370713088;

--新增业务类型关联的行类型
--1131
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271735990561588224;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (1265070311276050432,'1',1271735990561588224,'1',1,1194154714137152512); 

--1132
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271736644814290944;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (1265070777053509632,'1',1271736644814290944,'1',1,1194154714137152512); 

--114
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271737635425010688;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (1271737635408233472,'1',1271737635425010688,'1',1,1194156052984154112); 

--214
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271739425956611072;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (1271739425939833856,'1',1271739425956611072,'1',1,1194156052984154112); 

--3101
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271741412429316096;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (1098492265111761920,'1',1271741412429316096,'1',1,1194150915045641216); 

--360
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271743032294687744;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (762938467998124032,'1',1271743032294687744,'1',1,1194150915045641216); 

--3601
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271743524697587712;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (762938821385013248,'1',1271743524697587712,'1',1,1194150915045641216); 

--4051
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271744564482327552;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (990500657985463296,'1',1271744564482327552,'1',1,1194150915045641216); 

--601
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271746181369741312;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (1213802446967548928,'1',1271746181369741312,'1',1,1194150915045641216); 

--602
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271746552674698240;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (1213805834924993536,'1',1271746552674698240,'1',1,1194150915045641216); 

--603
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271746860855377920;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (1213806064873521152,'1',1271746860855377920,'1',1,1194150915045641216); 

--701
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271752771233693696;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (1271752771216916480,'1',1271752771233693696,'1',1,1194150915045641216); 

--801
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271759638374694912;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (1002795213917594624,'1',1271759638374694912,'1',1,1194150915045641216); 

--8011
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271759968508363776;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (1006426561370713088,'1',1271759968508363776,'1',1,1194150915045641216); 

--120
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271781340634726400;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (688851903525902336,'1',1271781340634726400,'1',1,1194150915045641216); 

--220
DELETE FROM t_bd_linetypeentry WHERE FENTRYID = 1271781776934618112;
INSERT INTO t_bd_linetypeentry(FID,FISPRESET,FENTRYID,FISDEFAULT,FSEQ,FLINETYPEID) VALUES (688859852319184896,'1',1271781776934618112,'1',1,1194150915045641216); 
