IF NOT EXISTS(SELECT 1 FROM T_BAS_IMPORTTEMPLATE WHERE FID = 1879122346690749440)
INSERT INTO t_bas_importtemplate(FID,FENABLEIMPORT,FMASTERID,FSTATUS,FNUMBER,FTEMPLATETYPE,FNAME,FCREATETIME,FMODIFIERID,FENABLE,FAPPLYSCOPE,FMODIFYTIME,FCOMMENT,FCREATORID,FBIZOBJECT) VALUES (1879122346690749440,'1',1879122346690749440,'C','bcm_enum_new_import_IMPT_S','IMPT','维度枚举值导入',{ts'2024-02-22  00:00:00'},1630437617600301056,'1','0',{ts'2024-02-22  00:00:00'},' ',1630437617600301056,'bcm_enum_new_import');

IF NOT EXISTS(SELECT 1 FROM T_BAS_IMPORTTEMPLATE_L WHERE FPKID = '3WTOYDFCR2BK')
INSERT INTO T_BAS_IMPORTTEMPLATE_L(FID,FPKID,FLOCALEID,FCOMMENT,FNAME) VALUES (1879122346690749440,'3WTOYDFCR2BK','zh_CN',' ','维度枚举值导入');

DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1879122120651318273;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FISIMPORT,FISFIELD,FIMPORTPROP,FPARENTENTRYID,FENTRYID,FFIELDKEY,FSEQ,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FFIELDNAME) VALUES (1879122346690749440,'0','0',' ',0,1879122120651318273,'bcm_enum_new_import',1,'0',' ',' ',NULL);
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1879122120701649927;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FISIMPORT,FISFIELD,FIMPORTPROP,FPARENTENTRYID,FENTRYID,FFIELDKEY,FSEQ,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FFIELDNAME) VALUES (1879122346690749440,'0','0',' ',1879122120651318273,1879122120701649927,'billhead',2,'0',' ',' ',NULL);
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1879122120710037515;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FISIMPORT,FISFIELD,FIMPORTPROP,FPARENTENTRYID,FENTRYID,FFIELDKEY,FSEQ,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FFIELDNAME) VALUES (1879122346690749440,'0','1',' ',1879122120701649927,1879122120710037515,'id',3,'0',' ',' ',NULL);
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1879122120718426112;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FISIMPORT,FISFIELD,FIMPORTPROP,FPARENTENTRYID,FENTRYID,FFIELDKEY,FSEQ,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FFIELDNAME) VALUES (1879122346690749440,'1','1',' ',1879122120701649927,1879122120718426112,'number',4,'1',' ',' ',NULL);
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1879122120726815744;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FISIMPORT,FISFIELD,FIMPORTPROP,FPARENTENTRYID,FENTRYID,FFIELDKEY,FSEQ,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FFIELDNAME) VALUES (1879122346690749440,'1','1',' ',1879122120701649927,1879122120726815744,'enumvalue',5,'1',' ',' ',NULL);
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1879122120735203328;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FISIMPORT,FISFIELD,FIMPORTPROP,FPARENTENTRYID,FENTRYID,FFIELDKEY,FSEQ,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FFIELDNAME) VALUES (1879122346690749440,'1','1','number',1879122120701649927,1879122120735203328,'parent',6,'0',' ','enumvalue,number',NULL);
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1887664747118104578;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FISIMPORT,FISFIELD,FIMPORTPROP,FPARENTENTRYID,FENTRYID,FFIELDKEY,FSEQ,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FFIELDNAME) VALUES (1879122346690749440,'1','1','number',1879122120701649927,1887664747118104578,'enumitemid',7,'1',' ','number,name',NULL);
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1879122120743591938;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FISIMPORT,FISFIELD,FIMPORTPROP,FPARENTENTRYID,FENTRYID,FFIELDKEY,FSEQ,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FFIELDNAME) VALUES (1879122346690749440,'1','1',' ',1879122120701649927,1879122120743591938,'datatype',8,'1',' ',' ',NULL);
