DELETE FROM t_tctb_template_type WHERE FID = 'drawback';
INSERT INTO t_tctb_template_type(FID,FUNIQUETYPE,FMAINTABLE,FNUMBER,FNAME) VALUES ('drawback','unique','tcetr_declare_main','drawback','出口退税'); 

DELETE FROM t_tctb_template_type_det WHERE FENTRYID = '2BG/VKJ5DVNF';
INSERT INTO t_tctb_template_type_det(FID,FENTITYID,FENTRYID,FSEQ,FENTITYNAME) VALUES ('drawback','tcetr_drawback_in_detail','2BG/VKJ5DVNF',1,'外贸企业出口退税进货明细申报表'); 
DELETE FROM t_tctb_template_type_det WHERE FENTRYID = '2BG/VKJ5DVNG';
INSERT INTO t_tctb_template_type_det(FID,FENTITYID,FENTRYID,FSEQ,FENTITYNAME) VALUES ('drawback','tcetr_drawback_out_detail','2BG/VKJ5DVNG',2,'外贸企业出口退税出口明细申报表'); 
DELETE FROM t_tctb_template_type_det WHERE FENTRYID = '2C9/X+GZW900';
INSERT INTO t_tctb_template_type_det(FID,FENTITYID,FENTRYID,FSEQ,FENTITYNAME) VALUES ('drawback','tcetr_declare_main','2C9/X+GZW900',3,'出口退税主表'); 

