-- Begin
-- 引入引出模板
 DELETE FROM T_BAS_IMPORTTEMPLATE WHERE FID = 1630301122549790720;
 INSERT INTO T_BAS_IMPORTTEMPLATE (FID,FNUMBER,FNAME,FSTATUS,FCREATORID,FMODIFIERID,FENABLE,FCREATETIME,FMODIFYTIME,FMASTERID,FBIZOBJECT,FTEMPLATETYPE,FENABLEIMPORT,FAPPLYSCOPE,FEXCHANGENAMEANDMARK,FHIDEFIELDROW,FENABLESETNULL,FSPLITSUBENTRIES,FFORUPDATEMULTILANGFIELDS,FPLUGIN) VALUES (1630301122549790720,'bd_inspect_cfg_EXPT_S_V2','物料质检信息引出模板_V2','C',1,1,'1',{ts'2018-08-08 18:08:08'},{ts'2018-08-08 18:08:08'},1630301122549790720,'bd_inspect_cfg','EXPT','1','0','0','0','1','0','0',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATE WHERE FID = 1630310229306522624;
 INSERT INTO T_BAS_IMPORTTEMPLATE (FID,FNUMBER,FNAME,FSTATUS,FCREATORID,FMODIFIERID,FENABLE,FCREATETIME,FMODIFYTIME,FMASTERID,FBIZOBJECT,FTEMPLATETYPE,FENABLEIMPORT,FAPPLYSCOPE,FEXCHANGENAMEANDMARK,FHIDEFIELDROW,FENABLESETNULL,FSPLITSUBENTRIES,FFORUPDATEMULTILANGFIELDS,FPLUGIN) VALUES (1630310229306522624,'bd_inspect_cfg_IMPT_S_V2','物料质检信息引入模板_V2','C',1,1,'1',{ts'2018-08-08 18:08:08'},{ts'2018-08-08 18:08:08'},1630310229306522624,'bd_inspect_cfg','IMPT','1','0','0','0','1','0','0',' ');

-- 字段选择
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340157569024;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340157569024,8,1630298340132403200,'modifier',' ','0','1','1',' ','number,name',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340140792832;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340140792832,3,1630298340132403200,'createorg',' ','1','1','1',' ','number,name',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630307873282079744;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630310229306522624,1630307873282079744,11,1630307873273690112,'entryqcp.id',' ','0','0','1',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340174347264;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340174347264,11,1630298340132403200,'auditdate',' ','0','1','1',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340149180416;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340149180416,6,1630298340132403200,'creator',' ','0','1','1',' ','number,name',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630307873156250624;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630310229306522624,1630307873156250624,4,1630307873139473408,'createorg','#OverrideEntry','1','1','1','number','name',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630307873097529344;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630310229306522624,1630307873097529344,1,0,'bd_inspect_cfg',' ','0','0','0',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340149181440;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340149181440,5,1630298340132403200,'masterid',' ','1','1','1',' ','number,name,createorg,ctrlstrategy,modelnum',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630307873147860992;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630310229306522624,1630307873147860992,3,1630307873139473408,'id',' ','0','0','1',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340577000448;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340577000448,14,1630298340568611840,'nocheckflag',' ','0','1','1',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340493113344;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340493113344,15,1630298340082072576,'entryqcp',' ','0','1','0',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340576999424;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340576999424,13,1630298340568611840,'inspecttype',' ','0','1','1',' ','number,name',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340165957632;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340165957632,10,1630298340132403200,'auditor',' ','0','1','1',' ','number,name',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340501502976;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340501502976,16,1630298340493113344,'supplier',' ','0','1','1',' ','number,name',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630307873139473408;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630310229306522624,1630307873139473408,2,1630307873097529344,'billhead',' ','0','0','0',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630307873365965824;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630310229306522624,1630307873365965824,7,1630307873357576192,'entryentity.id',' ','0','0','1',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630307873290467328;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630310229306522624,1630307873290467328,12,1630307873273690112,'supplier',' ','0','1','1','number','name',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630307873273690112;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630310229306522624,1630307873273690112,10,1630307873097529344,'entryqcp',' ','0','0','0',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340165958656;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340165958656,9,1630298340132403200,'modifytime',' ','0','1','1',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630307873357576192;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630310229306522624,1630307873357576192,6,1630307873097529344,'entryentity',' ','0','0','0',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630307873164638208;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630310229306522624,1630307873164638208,5,1630307873139473408,'masterid',' ','1','1','1','number','name',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340568611840;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340568611840,12,1630298340082072576,'entryentity',' ','0','1','0',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340132403200;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340132403200,2,1630298340082072576,'billhead',' ','0','1','0',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340082072576;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340082072576,1,0,'bd_inspect_cfg',' ','0','1','0',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340140791808;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340140791808,4,1630298340132403200,'ctrlstrategy',' ','0','1','1',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630307873374354432;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630310229306522624,1630307873374354432,9,1630307873357576192,'nocheckflag',' ','0','1','1',' ',' ',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630307873365964800;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630310229306522624,1630307873365964800,8,1630307873357576192,'inspecttype',' ','0','1','1','number','name',0,' ',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1630298340157570048;
 INSERT INTO T_BAS_IMPORTTEMPLATEENTRY (FID,FENTRYID,FSEQ,FPARENTENTRYID,FFIELDKEY,FDESCRIPTION,FMUSTINPUT,FISIMPORT,FISFIELD,FIMPORTPROP,FEXPORTPROP,FCOLWIDTH,FSOURCEENTITY,FSOURCENAME) VALUES (1630301122549790720,1630298340157570048,7,1630298340132403200,'createtime',' ','0','1','1',' ',' ',0,' ',' ');

-- 引入引出模板_多语言表
 DELETE FROM T_BAS_IMPORTTEMPLATE_L WHERE FPKID = '338NFR5S6KTA';
 INSERT INTO T_BAS_IMPORTTEMPLATE_L (FPKID,FID,FLOCALEID,FNAME,FCOMMENT) VALUES ('338NFR5S6KTA',1630310229306522624,'zh_CN','物料质检信息引入模板_V2',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATE_L WHERE FPKID = '338NFR5S6KTB';
 INSERT INTO T_BAS_IMPORTTEMPLATE_L (FPKID,FID,FLOCALEID,FNAME,FCOMMENT) VALUES ('338NFR5S6KTB',1630310229306522624,'zh_TW','物料質檢信息引入模板_V2',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATE_L WHERE FPKID = '338LRD3ZA0CM';
 INSERT INTO T_BAS_IMPORTTEMPLATE_L (FPKID,FID,FLOCALEID,FNAME,FCOMMENT) VALUES ('338LRD3ZA0CM',1630301122549790720,'zh_CN','物料质检信息引出模板_V2',' ');
 DELETE FROM T_BAS_IMPORTTEMPLATE_L WHERE FPKID = '338LRD3ZA0CN';
 INSERT INTO T_BAS_IMPORTTEMPLATE_L (FPKID,FID,FLOCALEID,FNAME,FCOMMENT) VALUES ('338LRD3ZA0CN',1630301122549790720,'zh_TW','物料質檢信息引出模板_V2',' ');

-- End