DELETE FROM T_BAS_IMPORTTEMPLATE WHERE FID IN (1264499683473099776);
DELETE FROM T_BAS_IMPORTTEMPLATE_L WHERE FID IN (1264499683473099776);
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FID IN (1264499683473099776);

INSERT INTO T_BAS_IMPORTTEMPLATE
(FID, FCREATETIME, FMODIFYTIME, FMODIFIERID, FNUMBER, FBIZOBJECT, FSTATUS, FCREATORID, FENABLE, FCOMMENT, FMASTERID, FTEMPLATETYPE, FENABLEIMPORT, FNAME)
VALUES(1264499683473099776,{ts'2021-10-11 16:14:13'}, {ts'2021-10-11 16:18:45'},1,'er_bd_kdinvoicecloudcfgct_IMPT_S','er_bd_kdinvoicecloudcfgct','C',1,'1',' ',1264499683473099776,'IMPT','1','发票云配置(集团)引入模板');

INSERT INTO T_BAS_IMPORTTEMPLATE_L
(FPKID, FID, FLOCALEID, FNAME, FCOMMENT)
VALUES('1ZA2AJKK=RP5',1264499683473099776,'zh_CN','发票云配置(集团)引入模板','发票云配置(集团)引入模板');
INSERT INTO T_BAS_IMPORTTEMPLATE_L
(FPKID, FID, FLOCALEID, FNAME, FCOMMENT)
VALUES('1ZA2AJKK=RP6',1264499683473099776,'zh_TW','發票雲配置(集團)引入模板','發票雲配置(集團)引入模板');

INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397568,1264499218316286976,3,'id',NULL,'0',' ','0','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397570,1264499218316286976,14,'taxnumnotmatch_ci',NULL,'1',' ','1','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286979,1264499218316286976,15,'buyernamele5_ci',NULL,'1',' ','1','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397571,1264499218316286976,16,'checknotpass_ci',NULL,'1',' ','1','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286980,1264499218316286976,4,'number',NULL,'1',' ','1','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397572,1264499218316286976,5,'name',NULL,'1',' ','1','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286981,1264499218316286976,6,'taxregnum',NULL,'1',' ','1','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397573,1264499218316286976,7,'firmname',NULL,'1',' ','1','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286982,1264499218316286976,9,'client_id',NULL,'0',' ','1','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397574,1264499218316286976,10,'clients',NULL,'0',' ','1','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286983,1264499218316286976,11,'clientkey',NULL,'0',' ','1','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397575,1264499218316286976,17,'status',NULL,'0',' ','0','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286984,1264499218316286976,18,'enable',NULL,'0',' ','0','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397576,1264499218316286976,19,'creator',NULL,'0',' ','0','1','number','name');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286985,1264499218316286976,20,'useorg',NULL,'0',' ','0','1','number','name');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397577,1264499218316286976,21,'client_secret',NULL,'0',' ','0','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286986,1264499218316286976,22,'encrypt_key',NULL,'0',' ','0','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397578,1264499218316286976,23,'createtime',NULL,'0',' ','0','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286987,1264499218316286976,24,'modifytime',NULL,'0',' ','0','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397579,1264499218316286976,25,'modifier',NULL,'0',' ','0','1','number','name');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286988,1264499218316286976,26,'org',NULL,'0',' ','0','1','number','name');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397580,1264499218316286976,27,'sourcedata',NULL,'0',' ','0','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286989,1264499218316286976,28,'bitindex',NULL,'0',' ','0','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397581,1264499218316286976,29,'srcindex',NULL,'0',' ','0','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286990,1264499218316286976,30,'sync',NULL,'0',' ','0','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397582,1264499218316286976,31,'createorg',NULL,'0',' ','0','1','number','name');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286991,1264499218316286976,32,'ctrlstrategy',NULL,'0',' ','0','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499217947298816,0,1,'er_bd_kdinvoicecloudcfgct',NULL,'0',' ','0','0',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286976,1264499217947298816,2,'billhead',NULL,'0',' ','0','0',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286977,1264499218316286976,8,'deductibleoftaxpayer',NULL,'1',' ','1','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316397569,1264499218316286976,12,'reimed_ci',NULL,'1',' ','1','1',' ',' ');
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY 
(FID,FENTRYID,FPARENTENTRYID,FSEQ,FFIELDKEY,FFIELDNAME,FMUSTINPUT,FDESCRIPTION,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP) VALUES 
(1264499683473099776,1264499218316286978,1264499218316286976,13,'namenotmatch_ci',NULL,'1',' ','1','1',' ',' ');