DELETE FROM t_tctb_template_type WHERE FID = 'jtysbbd_bd';
INSERT INTO t_tctb_template_type(FID,FUNIQUETYPE,FMAINTABLE,FNUMBER,FNAME) VALUES ('jtysbbd_bd','unique','tcvat_nsrxx','jtysbbd_bd','计提与申报比对（本地）'); 
DELETE FROM t_tctb_template_type WHERE FID = 'jtysbbd_jt';
INSERT INTO t_tctb_template_type(FID,FUNIQUETYPE,FMAINTABLE,FNUMBER,FNAME) VALUES ('jtysbbd_jt','unique','tcvat_nsrxx','jtysbbd_jt','计提与申报比对（集团）'); 

DELETE FROM t_tctb_template_type_det WHERE FENTRYID = '2WLUL+0N9SFB';
INSERT INTO t_tctb_template_type_det(FID,FENTITYID,FENTRYID,FSEQ,FENTITYNAME) VALUES ('jtysbbd_jt','tcvat_nsrxx','2WLUL+0N9SFB',1,'纳税申报表'); 
DELETE FROM t_tctb_template_type_det WHERE FENTRYID = '2WLUN2DRCZN9';
INSERT INTO t_tctb_template_type_det(FID,FENTITYID,FENTRYID,FSEQ,FENTITYNAME) VALUES ('jtysbbd_bd','tcvat_nsrxx','2WLUN2DRCZN9',1,'纳税申报表'); 
DELETE FROM t_tctb_template_type_det WHERE FENTRYID = '2XW=8LHM0QFW';
INSERT INTO t_tctb_template_type_det(FID,FENTITYID,FENTRYID,FSEQ,FENTITYNAME) VALUES ('jtysbbd_bd','tpo_declare_main_tsd','2XW=8LHM0QFW',2,'底稿体系主表'); 
DELETE FROM t_tctb_template_type_det WHERE FENTRYID = '2XW=8LHM0QFX';
INSERT INTO t_tctb_template_type_det(FID,FENTITYID,FENTRYID,FSEQ,FENTITYNAME) VALUES ('jtysbbd_bd','tpo_declare_detail_tsd','2XW=8LHM0QFX',3,'底稿体系数据子表(多维数据表)'); 
DELETE FROM t_tctb_template_type_det WHERE FENTRYID = '2XW=AE52UXPS';
INSERT INTO t_tctb_template_type_det(FID,FENTITYID,FENTRYID,FSEQ,FENTITYNAME) VALUES ('jtysbbd_jt','tpo_declare_main_tsd','2XW=AE52UXPS',2,'底稿体系主表'); 
DELETE FROM t_tctb_template_type_det WHERE FENTRYID = '2XW=AE52UXPT';
INSERT INTO t_tctb_template_type_det(FID,FENTITYID,FENTRYID,FSEQ,FENTITYNAME) VALUES ('jtysbbd_jt','tpo_declare_detail_tsd','2XW=AE52UXPT',3,'底稿体系数据子表(多维数据表)'); 
