DELETE FROM t_tctb_datasouce_rule_tax WHERE FID = 1265751323027027968;
INSERT INTO t_tctb_datasouce_rule_tax(FID,FMASTERID,FSTATUS,FPARENTID,FNUMBER,FCREATETIME,FMODIFIERID,FENABLE,FISLEAF,FMODIFYTIME,FLEVEL,FCREATORID,FLONGNUMBER) VALUES (1265751323027027968,1265751323027027968,'C',1056336782263810048,'RULE-PROFITS-0001',{ts'2021-10-13  00:00:00'},13466739,'1','1',{ts'2021-10-13  00:00:00'},3,13466739,'RULE-CIT.RULE-CIT-YJ.RULE-PROFITS-0001'); 

DELETE FROM t_tctb_datasouce_rule_tax_l WHERE FPKID = '1ZG267Z/BFS1';
INSERT INTO t_tctb_datasouce_rule_tax_l(FID,FPKID,FLOCALEID,FFULLNAME,FNAME) VALUES (1265751323027027968,'1ZG267Z/BFS1','zh_CN','企业所得税.预缴.预缴-会计利润','预缴-会计利润'); 
DELETE FROM t_tctb_datasouce_rule_tax_l WHERE FPKID = '1ZG267Z/BFS2';
INSERT INTO t_tctb_datasouce_rule_tax_l(FID,FPKID,FLOCALEID,FFULLNAME,FNAME) VALUES (1265751323027027968,'1ZG267Z/BFS2','zh_TW',' ','預繳-會計利潤'); 

DELETE FROM t_tctb_datasource_pekrule WHERE FID = 1265751855435202560;
INSERT INTO t_tctb_datasource_pekrule(FID,FGROUPFIELD,FENABLE,FMASTERID,FSTATUS,FCREATORID,FNUMBER) VALUES (1265751855435202560,1265751323027027968,'1',1265751855435202560,'C',13466739,'RULE-PROFITS-0001'); 

DELETE FROM t_tctb_datasource_pekrule_l WHERE FPKID = '1ZG2=38OCU2P';
INSERT INTO t_tctb_datasource_pekrule_l(FID,FPKID,FLOCALEID,FDESC,FNAME) VALUES (1265751855435202560,'1ZG2=38OCU2P','zh_CN',' ','预缴-会计利润'); 
DELETE FROM t_tctb_datasource_pekrule_l WHERE FPKID = '1ZG2=38OCU2Q';
INSERT INTO t_tctb_datasource_pekrule_l(FID,FPKID,FLOCALEID,FDESC,FNAME) VALUES (1265751855435202560,'1ZG2=38OCU2Q','zh_TW',' ','預繳-會計利潤'); 

DELETE FROM t_tctb_datasource WHERE FID = 886814324742447104;
INSERT INTO t_tctb_datasource(FID,FBIZNAME,FTYPE,FISCHILD,FCONDITION,FORGTAKERELATION,FCREATEORGID,FSUBENTITYNAME,FMASTERID,FORGID,FUSERORG,FSTATUS,FCTRLSTRATEGY,FENTITYNAME,FNUMBER,FGROUPID,FCREATETIME,FMODIFIERID,FENABLE,FTAXTYPE,FMODIFYTIME,FCREATORID,FISSYSTEM) VALUES (886814324742447104,'利润表',' ','0',' ','0',100000,'tdm_finance_lrb',886814324742447104,100000,100000,'C','5','tdm_finance_main',' ',978216567512983552,{ts'2020-11-10  00:00:00'},13466739,'1',' ',{ts'2021-10-13  00:00:00'},1,'1'); 

DELETE FROM t_tctb_datasource_l WHERE FPKID = '16GJF+KWYWEM';
INSERT INTO t_tctb_datasource_l(FID,FPKID,FLOCALEID,FNAME) VALUES (886814324742447104,'16GJF+KWYWEM','zh_CN','tdm_finance_main'); 

DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469632;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'1','组织','0','0',886814324742469632,'0','tdm_finance_main','0','0','0',3,'org','0',' ','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469633;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','税款所属期起','0','0',886814324742469633,'0','tdm_finance_main','0','0','0',4,'skssqq','0',' ','1'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469634;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','税款所属期止','0','0',886814324742469634,'0','tdm_finance_main','0','0','0',5,'skssqz','0',' ','1'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469635;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','编制单位','0','0',886814324742469635,'0','tdm_finance_main','0','0','0',6,'bzorg','0',' ','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469636;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','报表模板ID','0','0',886814324742469636,'0','tdm_finance_main','0','0','0',7,'templateid','0',' ','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469637;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','二维表序号','0','0',886814324742469637,'0','tdm_finance_main','0','0','0',8,'ewblxh','0',' ','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469638;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','税期','0','0',886814324742469638,'0','tdm_finance_main','0','0','0',9,'peirod','0',' ','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469639;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','财务报表类型ID','0','0',886814324742469639,'0','tdm_finance_main','0','0','0',10,'type','0',' ','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469640;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','申报表id','0','0',886814324742469640,'0','tdm_finance_lrb','0','0','0',11,'sbbid','0',' ','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469641;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','利润表行项目','0','0',886814324742469641,'0','tdm_finance_lrb','0','1','0',12,'ewblxh','0',' ','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1265769269262621696;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','数据来源','0','0',1265769269262621696,'1','tdm_finance_main','0','0','0',13,'datasource','0','数据来源','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1265769269262621697;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','来源系统','0','0',1265769269262621697,'1','tdm_finance_main','0','0','0',14,'sourcesystem','0','来源系统','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1265769269262621698;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','账簿类型','0','0',1265769269262621698,'1','tdm_finance_main','0','0','0',15,'accountbookstype','0','账簿类型','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1265769269262621699;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','报表类型','0','0',1265769269262621699,'1','tdm_finance_main','0','0','0',16,'templatetype','0','报表类型','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1265769269262621700;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','模板','0','0',1265769269262621700,'1','tdm_finance_main','0','0','0',17,'template','0','模板','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1265769269262621701;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','行次','0','0',1265769269262621701,'1','tdm_finance_lrb','0','0','0',18,'rownumber','0','行次','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1265769269262621702;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','本月金额','0','0',1265769269262621702,'1','tdm_finance_lrb','0','0','1',19,'bnljje','0','本月金额','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469642;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','本年累计金额','0','0',886814324742469642,'1','tdm_finance_lrb','0','0','1',1,'bqje','0',' ','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469643;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (886814324742447104,'0','上期累计金额','0','0',886814324742469643,'1','tdm_finance_lrb','0','0','0',2,'sqje','0',' ','0'); 

DELETE FROM t_tctb_datasource_pkrules WHERE FPKID = 1265771742803193928;
INSERT INTO t_tctb_datasource_pkrules(FID,FBASEDATAID,FPKID) VALUES (986944726861142016,1265751855435202560,1265771742803193928); 
DELETE FROM t_tctb_datasource_pkrules WHERE FPKID = 1265769269262741531;
INSERT INTO t_tctb_datasource_pkrules(FID,FBASEDATAID,FPKID) VALUES (886814324742447104,1265751855435202560,1265769269262741531); 
DELETE FROM t_tctb_datasource_pkrules WHERE FPKID = 1265770898959560776;
INSERT INTO t_tctb_datasource_pkrules(FID,FBASEDATAID,FPKID) VALUES (860044722440263680,1265751855435202560,1265770898959560776); 
DELETE FROM t_tctb_datasource_pkrules WHERE FPKID = 1265771270079847496;
INSERT INTO t_tctb_datasource_pkrules(FID,FBASEDATAID,FPKID) VALUES (855901046826887168,1265751855435202560,1265771270079847496); 
DELETE FROM t_tctb_datasource_pkrules WHERE FPKID = 1265772051050983521;
INSERT INTO t_tctb_datasource_pkrules(FID,FBASEDATAID,FPKID) VALUES (986944114811525120,1265751855435202560,1265772051050983521); 


