-- 利润表 资产负债表 关闭主表字段的抽检条件字段开关 备份脚本
-- 主表
DELETE FROM t_tctb_datasource WHERE FID = 707149788835268608;
INSERT INTO t_tctb_datasource(FID,FBIZNAME,FISCHILD,FTYPE,FCONDITION,FORGTAKERELATION,FCREATEORGID,FSUBENTITYNAME,FUSERORG,FORGID,FMASTERID,FSTATUS,FCTRLSTRATEGY,FENTITYNAME,FGROUPID,FNUMBER,FCREATETIME,FMODIFIERID,FENABLE,FTAXTYPE,FMODIFYTIME,FCREATORID,FISSYSTEM) VALUES (707149788835268608,'利润表','0','2',' ','0',100000,'tdm_finance_lrb',100000,100000,707149788835268608,'C','5','tdm_finance_main',978216850016248832,' ',{ts'2020-11-10  00:00:00'},13466739,'1','YSCJ',{ts'2021-11-03  00:00:00'},1,'1'); 
DELETE FROM t_tctb_datasource WHERE FID = 707150230268987392;
INSERT INTO t_tctb_datasource(FID,FBIZNAME,FISCHILD,FTYPE,FCONDITION,FORGTAKERELATION,FCREATEORGID,FSUBENTITYNAME,FUSERORG,FORGID,FMASTERID,FSTATUS,FCTRLSTRATEGY,FENTITYNAME,FGROUPID,FNUMBER,FCREATETIME,FMODIFIERID,FENABLE,FTAXTYPE,FMODIFYTIME,FCREATORID,FISSYSTEM) VALUES (707150230268987392,'资产负债表','0','2',' ','0',100000,'tdm_finance_zcfzb',100000,100000,707150230268987392,'C','5','tdm_finance_main',978216850016248832,' ',{ts'2020-11-10  00:00:00'},13466739,'1','YSCJ',{ts'2021-11-03  00:00:00'},1,'1'); 

-- 多语言表
DELETE FROM t_tctb_datasource_l WHERE FPKID = '16H2KN9XSKWV';
INSERT INTO t_tctb_datasource_l(FID,FPKID,FLOCALEID,FNAME) VALUES (707149788835268608,'16H2KN9XSKWV','zh_CN','tdm_finance_main'); 
DELETE FROM t_tctb_datasource_l WHERE FPKID = '16H2KNADRG=X';
INSERT INTO t_tctb_datasource_l(FID,FPKID,FLOCALEID,FNAME) VALUES (707150230268987392,'16H2KNADRG=X','zh_CN','tdm_finance_main'); 

-- 分录表
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1170369017681211394;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','账簿类型','0','0',1170369017681211394,'1','tdm_finance_main','0','1','0',15,'1','账簿类型','accountbookstype','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1279563410987717632;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','报表类型','0','0',1279563410987717632,'1','tdm_finance_main','0','0','0',16,'0','报表类型','templatetype','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1279563410987717633;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','模板','0','0',1279563410987717633,'1','tdm_finance_main','0','0','0',17,'0','模板','template','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1279563410987717634;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','行次','0','0',1279563410987717634,'1','tdm_finance_lrb','0','0','0',18,'0','行次','rownumber','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1279563410987717635;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','本月金额','1','0',1279563410987717635,'1','tdm_finance_lrb','0','0','1',19,'1','本月金额','bnljje','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1281201324498711552;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','报表项目','1','0',1281201324498711552,'1','tdm_finance_lrb','0','1','0',20,'1','报表项目','reportitem','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707149788835083274;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','本年累计金额','1','0',707149788835083274,'1','tdm_finance_lrb','0','0','1',11,'1','1.本期金额','bqje','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707149788835083275;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','上期累计金额','1','0',707149788835083275,'1','tdm_finance_lrb','0','0','1',12,'1','2.上期金额','sqje','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707149788835083264;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'1','组织','0','0',707149788835083264,'0','tdm_finance_main','0','0','0',1,'0','组织','org','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707149788835083265;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','税款所属期起','0','0',707149788835083265,'0','tdm_finance_main','0','0','0',2,'0','税款所属期起','skssqq','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707149788835083266;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','税款所属期止','0','0',707149788835083266,'0','tdm_finance_main','0','0','0',3,'0','税款所属期止','skssqz','1'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707149788835083267;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','编制单位','0','0',707149788835083267,'0','tdm_finance_main','0','0','0',4,'0','编制单位','bzorg','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707149788835083268;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','报表模板ID','0','0',707149788835083268,'0','tdm_finance_main','0','0','0',5,'0','报表模板ID','templateid','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707149788835083270;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','税期','0','0',707149788835083270,'0','tdm_finance_main','0','0','0',7,'0','税期','peirod','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707149788835083271;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','财务报表类型ID','0','0',707149788835083271,'0','tdm_finance_main','0','0','0',8,'0','财务报表类型ID','type','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707149788835083272;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','申报表id','0','0',707149788835083272,'0','tdm_finance_lrb','0','0','0',9,'0','申报表id','sbbid','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707149788835083273;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','表项目','0','0',707149788835083273,'0','tdm_finance_lrb','0','0','0',10,'0','表项目','ewblxh','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1170369017681211392;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','数据来源','0','0',1170369017681211392,'1','tdm_finance_main','0','1','0',13,'1','数据来源','datasource','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1170369017681211393;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','来源系统','0','0',1170369017681211393,'1','tdm_finance_main','0','1','0',14,'1','来源系统','sourcesystem','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707149788835083269;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707149788835268608,'0','表项目','0','0',707149788835083269,'0','tdm_finance_main','0','0','0',6,'0','表项目','ewblxh','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1279564666485400576;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','报表类型','0','0',1279564666485400576,'1','tdm_finance_main','0','0','0',16,'0','报表类型','templatetype','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1279564666485400577;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','模板','0','0',1279564666485400577,'1','tdm_finance_main','0','0','0',17,'0','模板','template','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1279564666485400578;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','行次','0','0',1279564666485400578,'1','tdm_finance_zcfzb','0','0','0',18,'0','行次','rownumber','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707150230268802057;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','表项目','0','0',707150230268802057,'0','tdm_finance_zcfzb','0','0','0',10,'0','表项目','ewblxh','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1281201532880249856;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','报表项目','1','0',1281201532880249856,'1','tdm_finance_zcfzb','0','1','0',19,'1','报表项目','reportitem','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707150230268802048;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'1','组织','0','0',707150230268802048,'0','tdm_finance_main','0','0','0',1,'0','组织','org','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707150230268802049;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','税款所属期起','0','0',707150230268802049,'0','tdm_finance_main','0','0','0',2,'0','税款所属期起','skssqq','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707150230268802058;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','2.年初余额','1','0',707150230268802058,'1','tdm_finance_zcfzb','0','0','1',11,'1','2.年初余额','ncye','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707150230268802059;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','1.期末余额','1','0',707150230268802059,'1','tdm_finance_zcfzb','0','0','1',12,'1','1.期末余额','qmye','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1170369283633639424;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','数据来源','0','0',1170369283633639424,'1','tdm_finance_main','0','1','0',13,'1','数据来源','datasource','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1170369283633639425;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','来源系统','0','0',1170369283633639425,'1','tdm_finance_main','0','1','0',14,'1','来源系统','sourcesystem','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1170369283633639426;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','账簿类型','0','0',1170369283633639426,'1','tdm_finance_main','0','1','0',15,'1','账簿类型','accountbookstype','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707150230268802050;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','税款所属期止','0','0',707150230268802050,'0','tdm_finance_main','0','0','0',3,'0','税款所属期止','skssqz','1'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707150230268802051;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','编制单位','0','0',707150230268802051,'0','tdm_finance_main','0','0','0',4,'0','编制单位','bzorg','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707150230268802052;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','报表模板ID','0','0',707150230268802052,'0','tdm_finance_main','0','0','0',5,'0','报表模板ID','templateid','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707150230268802054;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','税期','0','0',707150230268802054,'0','tdm_finance_main','0','0','0',7,'0','税期','peirod','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707150230268802055;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','财务报表类型ID','0','0',707150230268802055,'0','tdm_finance_main','0','0','0',8,'0','财务报表类型ID','type','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707150230268802056;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','申报表id','0','0',707150230268802056,'0','tdm_finance_zcfzb','0','0','0',9,'0','申报表id','sbbid','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 707150230268802053;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE) VALUES (707150230268987392,'0','表项目','0','0',707150230268802053,'0','tdm_finance_main','0','0','0',6,'0','表项目','ewblxh','0'); 
