/** 业务单元引入模板 */
DELETE FROM T_BAS_IMPORTTEMPLATE WHERE FID = 1021012548306087936;
INSERT INTO T_BAS_IMPORTTEMPLATE(FID,FENABLESETNULL,FENABLEIMPORT,FMASTERID,FEXCHANGENAMEANDMARK,FSTATUS,FNUMBER,FTEMPLATETYPE,FNAME,FCREATETIME,FHIDEFIELDROW,FMODIFIERID,FENABLE,FAPPLYSCOPE,FSPLITSUBENTRIES,FFORUPDATEMULTILANGFIELDS,FPLUGIN,FMODIFYTIME,FCOMMENT,FCREATORID,FBIZOBJECT) VALUES (1021012548306087936,'1','1',1021012548306087936,'0','C','bos_org_IMPT_S','IMPT','业务单元',{ts'2018-08-08  00:00:00'},'0',
1,'1','0','0','0','[{"FPK":"","Type":0,"Description":"组织引入模板插件","RowKey":0,"ClassName":"kd.bos.org.opplugin.impt.OrgImportTemplatePlugin","DisplayName":"","Enabled":true,"BizAppId":"","Inherit":false}]',{ts'2018-08-08  00:00:00'},' ',1,'bos_org');

DELETE FROM T_BAS_IMPORTTEMPLATE_L WHERE FID = 1021012548306087936;
INSERT INTO T_BAS_IMPORTTEMPLATE_L(FID,FPKID,FLOCALEID,FCOMMENT,FNAME) VALUES (1021012548306087936,'16DJSZHDS9J2','zh_CN','系统预置模板','业务单元');

DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FID = 1021012548306087936;
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1485349070003258369;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'0',' ',1485349070003258369,'0','职能类型是“16：主数据控制”的视图方案才可以修改，其他视图方案的组织全部自动设置为管控单元。',' ','0','1',' ',1160848534048619520,'isctrlunit',33,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1463632054779428864;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'0','number',1463632054779428864,'0',' ','name','1','1',' ',1160848534048619520,'viewparent',32,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471677952;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471677952,'0',' ',' ','0','0',' ',1021012210438138880,'billhead',2,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210438138880;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210438138880,'0',' ',' ','0','0',' ',0,'bos_org',1,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1463632054771041280;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'0','number',1463632054771041280,'1','[01：行政组织视图默认方案] [02：采购业务视图默认方案] [03：销售业务视图默认方案] [04：生产业务视图默认方案] [05：库存业务视图默认方案] [06：质检业务视图默认方案] [07：结算业务视图默认方案] [08：资金业务视图默认方案] [09：资产业务视图默认方案] [10：核算组织视图默认方案] [11：HR业务视图默认方案] [12：共享中心视图默认方案] [13：预算业务视图默认方案] [14：控制单元视图默认方案] [15：业务单元视图默认方案] [16：主数据控制视图默认方案] [21：组织规划业务视图默认方案] [22：组织绩效中心视图默认方案] [23：编制/预算业务视图默认方案] [24：人才招聘业务视图默认方案] [25：人事业务视图默认方案] [26：考勤业务视图默认方案] [27：薪酬管理业务视图默认方案] [28：定调薪业务视图默认方案] [29：算发薪业务视图方案] [30：个税业务视图默认方案] [31：社保公积金业务视图默认方案] [32：长期激励业务视图默认方案] [33：奖金业务视图默认方案] [34：人才管理业务视图方案] [35：培训学习业务视图默认方案] [36：个人绩效业务视图默认方案] [37：HR共享服务业务视图默认方案] [38：人力成本业务视图方案] [39：假期业务视图默认方案] [40：税务业务视图默认方案]','name','1','1',' ',1160848534048619520,'view',31,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471693317;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130','number',1021012210471693317,'0','[Orgform01：集团] [Orgform01-100：集团公司] [Orgform02：公司] [Orgform03：分公司] [Orgform04：事业部] [Orgform05：工厂] [Orgform06：部门]','name','1','1',' ',1021012210471677952,'orgpattern',6,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1160848534048642048;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1160848534048642048,'0','新增时为空；更新时须引出组织结构的“内码”',' ','1','1',' ',1160848534048619520,'structure.id',30,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471693312;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471693312,'0',' ',' ','0','1',' ',1021012210471677952,'id',3,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471677953;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471677953,'1',' ',' ','1','1',' ',1021012210471677952,'number',4,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471693313;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471693313,'1',' ',' ','1','1',' ',1021012210471677952,'name',5,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471693318;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471693318,'0',' ',' ','0','1',' ',1021012210471677952,'fcomment',7,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471693315;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471693315,'0',' ',' ','0','1',' ',1021012210471677952,'postcode',11,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471677956;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471677956,'0',' ',' ','0','1',' ',1021012210471677952,'contactphone',12,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471693316;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471693316,'0',' ',' ','0','1',' ',1021012210471677952,'contactaddress',13,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471677957;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471677957,'0',' ',' ','0','1',' ',1021012210471677952,'simplename',14,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471693347;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471693347,'0',' ',' ','0','1',' ',1021012210471677952,'uniformsocialcreditcode',15,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471677988;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471677988,'0',' ',' ','0','1',' ',1021012210471677952,'ffirmname',16,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471693348;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471693348,'0',' ',' ','0','1',' ',1021012210471677952,'ffirmtype',17,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471677989;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471677989,'0',' ',' ','0','1',' ',1021012210471677952,'frepresentative',18,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471693349;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471693349,'0',' ',' ','0','1',' ',1021012210471677952,'faddress',19,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471677990;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210471677990,'0',' ',' ','0','1',' ',1021012210471677952,'registeredcapital',20,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210480081920;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210480081920,'0',' ',' ','0','1',' ',1021012210471677952,'establishmentdate',21,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210480066560;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210480066560,'0',' ',' ','0','1',' ',1021012210471677952,'businessterm',22,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210480081921;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210480081921,'0',' ',' ','0','1',' ',1021012210471677952,'fbizscope',23,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210480066561;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210480066561,'0',' ',' ','0','1',' ',1021012210471677952,'ftaxregnum',24,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210480081922;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210480081922,'0',' ',' ','0','1',' ',1021012210471677952,'phone',25,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210480066562;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210480066562,'0',' ',' ','0','1',' ',1021012210471677952,'depositbank',26,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210480081923;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1021012210480081923,'0',' ',' ','0','1',' ',1021012210471677952,'bankaccount',27,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1160848534048619520;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130',' ',1160848534048619520,'0',' ',' ','1','0',' ',1021012210438138880,'structure',29,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471677954;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130','number',1021012210471677954,'0',' ','name','0','1',' ',1021012210471677952,'country',8,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471693314;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130','number',1021012210471693314,'0',' ','name','0','1',' ',1021012210471677952,'city',9,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1021012210471677955;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'130','number',1021012210471677955,'0',' ','name','0','1',' ',1021012210471677952,'timezone',10,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1463632054636822528;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1021012548306087936,'0',' ',1463632054636822528,'0',' ',' ','0','1',' ',1021012210471677952,'taxpayertype',28,NULL,' ');


/** 行政组织引入模板 */
DELETE FROM T_BAS_IMPORTTEMPLATE WHERE FID = 1025998177959970816;
INSERT INTO T_BAS_IMPORTTEMPLATE(FID,FENABLESETNULL,FENABLEIMPORT,FMASTERID,FEXCHANGENAMEANDMARK,FSTATUS,FNUMBER,FTEMPLATETYPE,FNAME,FCREATETIME,FHIDEFIELDROW,FMODIFIERID,FENABLE,FAPPLYSCOPE,FSPLITSUBENTRIES,FFORUPDATEMULTILANGFIELDS,FPLUGIN,FMODIFYTIME,FCOMMENT,FCREATORID,FBIZOBJECT) VALUES (1025998177959970816,'1','1',1025998177959970816,'0','C','bos_adminorg_IMPT_S','IMPT','行政组织',{ts'2018-08-08  00:00:00'},'0',1,'1','0','0','0','[{"FPK":"","Type":0,"Description":"行政组织引入模板插件","RowKey":0,"ClassName":"kd.bos.org.opplugin.impt.AdminOrgImportTemplatePlugin","DisplayName":"","Enabled":true,"BizAppId":"","Inherit":false}]',{ts'2018-08-08  00:00:00'},' ',1,'bos_adminorg');

DELETE FROM T_BAS_IMPORTTEMPLATE_L WHERE FID = 1025998177959970816;
INSERT INTO T_BAS_IMPORTTEMPLATE_L(FID,FPKID,FLOCALEID,FCOMMENT,FNAME) VALUES (1025998177959970816,'17/FB9UD5+TH','zh_CN','系统预置模板','行政组织');

DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FID = 1025998177959970816;
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1025997811453298690;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'130',' ',1025997811453298690,'0',' ',' ','0','1',' ',1025997811444910080,'fcomment',7,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1518966006494580738;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'0','number',1518966006494580738,'0',' ','name','0','1',' ',1025997811444910080,'parent',8,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1518966006494581763;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'0','number',1518966006494581763,'0',' ','fname','0','1',' ',1025997811444910080,'orgbizfunction',9,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1518966006637187073;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'0','number',1518966006637187073,'1','[01：行政组织视图默认方案]','name','1','1',' ',1463641313487405056,'view',12,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1463641313487405056;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'0',' ',1463641313487405056,'0',' ',' ','1','0',' ',1025997811419745280,'structure',10,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1025997811419745280;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'130',' ',1025997811419745280,'0',' ',' ','0','0',' ',0,'bos_adminorg',1,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1463641313487406080;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'0',' ',1463641313487406080,'0','新增时为空；更新时须引出组织结构的“内码”',' ','1','1',' ',1463641313487405056,'structure.id',11,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1025997811453298689;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'130','number',1025997811453298689,'0','[Orgform01：集团] [Orgform01-100：集团公司] [Orgform02：公司] [Orgform03：分公司] [Orgform04：事业部] [Orgform05：工厂] [Orgform06：部门]','name','1','1',' ',1025997811444910080,'orgpattern',6,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1463641313487406081;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'0','number',1463641313487406081,'0',' ','name','1','1',' ',1463641313487405056,'viewparent',13,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1025997811444910080;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'130',' ',1025997811444910080,'0',' ',' ','0','0',' ',1025997811419745280,'billhead',2,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1025997811453299712;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'130',' ',1025997811453299712,'0',' ',' ','0','1',' ',1025997811444910080,'id',3,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1025997811453298688;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'130',' ',1025997811453298688,'1',' ',' ','1','1',' ',1025997811444910080,'number',4,NULL,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1025997811453299713;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FFIELDNAME,FSOURCEENTITY) VALUES (1025998177959970816,'130',' ',1025997811453299713,'1',' ',' ','1','1',' ',1025997811444910080,'name',5,NULL,' ');
