--3.0取数配置自定义数据源预置脚本
DELETE FROM t_tctb_datasource WHERE FID = 1751352086995539968;
INSERT INTO t_tctb_datasource(FID,FBIZNAME,FISCHILD,FTYPE,FCONDITION,FORGTAKERELATION,FCREATEORGID,FSUBENTITYNAME,FUSERORG,FORGID,FMASTERID,FBBLX,FSTATUS,FCTRLSTRATEGY,FENTITYNAME,FGROUPID,FNUMBER,FCREATETIME,FMODIFIERID,FENABLE,FTAXTYPE,FMODIFYTIME,FCREATORID,FISSYSTEM) VALUES (1751352086995539968,'所得税-计提与申报比对','1','0',' ','0',100000,'entryentity',100000,100000,1751352086995539968,'jtysbbd_jt','C','5','tpo_declare_main_tsd',978216567512983552,' ',{ts'2023-08-14  00:00:00'},1,'1',' ',{ts'2023-08-15  00:00:00'},1,'1'); 

DELETE FROM t_tctb_datasource_l WHERE FPKID = '3H3JLP7LQ5M2';
INSERT INTO t_tctb_datasource_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1751352086995539968,'3H3JLP7LQ5M2','zh_CN','tpo_declare_main_tsd'); 

DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975425;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','单据状态','0','0',' ',1751352087263975425,'1','tpo_declare_main_tsd','0','0','0',2,'billstatus','0','单据状态','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975426;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','创建人','0','0',' ',1751352087263975426,'1','tpo_declare_main_tsd','0','0','0',3,'creator','0','创建人','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975427;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','审核人','0','0',' ',1751352087263975427,'1','tpo_declare_main_tsd','0','0','0',4,'auditor','0','审核人','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975429;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','模板类型','0','0',' ',1751352087263975429,'1','tpo_declare_main_tsd','0','0','0',6,'templatetype','0','模板类型','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975432;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','底稿状态','0','0',' ',1751352087263975432,'1','tpo_declare_main_tsd','0','0','0',9,'draftstatus','0','底稿状态','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975433;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','数据来源','0','0',' ',1751352087263975433,'1','tpo_declare_main_tsd','0','0','0',10,'datatype','0','数据来源','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975434;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','纳税人识别号','0','0',' ',1751352087263975434,'1','tpo_declare_main_tsd','0','0','0',11,'nsrsbh','0','纳税人识别号','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975435;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','纳税人名称','0','0',' ',1751352087263975435,'1','tpo_declare_main_tsd','0','0','0',12,'nsrmc','0','纳税人名称','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975436;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','修改人','0','0',' ',1751352087263975436,'1','tpo_declare_main_tsd','0','0','0',13,'modifier','0','修改人','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975437;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','审核日期','0','0',' ',1751352087263975437,'1','tpo_declare_main_tsd','0','0','0',14,'auditdate','0','审核日期','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975438;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','创建时间','0','0',' ',1751352087263975438,'1','tpo_declare_main_tsd','0','0','0',15,'createtime','0','创建时间','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975439;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','修改时间','0','0',' ',1751352087263975439,'1','tpo_declare_main_tsd','0','0','0',16,'modifytime','0','修改时间','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975440;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','申报表模板','0','0',' ',1751352087263975440,'1','tpo_declare_main_tsd','0','0','0',17,'templateid','0','申报表模板','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975442;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','税种','0','0',' ',1751352087263975442,'1','tpo_declare_main_tsd','0','0','0',19,'taxtype','0','税种','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975444;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','本期数','0','0',' ',1751352087263975444,'1','tpo_declare_main_tsd','0','0','0',21,'currentperiodamount','0','本期数','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975445;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','本年数','0','0',' ',1751352087263975445,'1','tpo_declare_main_tsd','0','0','0',22,'currentyearamount','0','本年数','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975446;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','备注','0','0',' ',1751352087263975446,'1','tpo_declare_main_tsd','0','0','0',23,'remarks','0','备注','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975447;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','生成业务单据','0','0',' ',1751352087263975447,'1','tpo_declare_main_tsd','0','0','0',24,'generatebusinessdoc','0','生成业务单据','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975448;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','业务单据编号','0','0',' ',1751352087263975448,'1','tpo_declare_main_tsd','0','0','0',25,'businessdocno','0','业务单据编号','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975449;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','状态','0','0',' ',1751352087263975449,'1','tpo_declare_main_tsd','0','0','0',26,'status','0','状态','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975450;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','底稿用途','0','0',' ',1751352087263975450,'1','tpo_declare_main_tsd','0','0','0',27,'draftpurpose','0','底稿用途','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975451;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','核算组织','0','0',' ',1751352087263975451,'1','tpo_declare_main_tsd','0','0','0',28,'accountorg','0','核算组织','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975452;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','底稿类型','0','0',' ',1751352087263975452,'1','tpo_declare_main_tsd','0','0','0',29,'type','0','底稿类型','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975453;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','凭证红冲','0','0',' ',1751352087263975453,'1','tpo_declare_main_tsd','0','0','0',30,'pzhc','0','凭证红冲','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975454;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','附件字段','0','0',' ',1751352087263975454,'1','tpo_declare_main_tsd','0','0','0',31,'attachment','0','附件字段','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975455;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','计提应纳税额','0','0',' ',1751352087263975455,'1','tpo_declare_main_tsd','0','0','0',32,'jtynsesum','0','计提应纳税额','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975456;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','税收辖区','0','0',' ',1751352087263975456,'1','tpo_declare_main_tsd','0','0','0',33,'taxareagroup','0','税收辖区','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975457;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','耗用农产品名称','0','0',' ',1751352087263975457,'1','tpo_declare_main_tsd','0','0','0',34,'hyncpmcid','0','耗用农产品名称','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975458;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','分录行号','0','0',' ',1751352087263975458,'1','entryentity','0','0','0',35,'seq','0','分录行号','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975459;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','行维','0','0',' ',1751352087263975459,'1','entryentity','0','1','0',36,'row','0','行维','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975461;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','报表项标识','0','0',' ',1751352087263975461,'1','entryentity','0','0','0',38,'cellnumber','0','报表项标识','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975462;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','动态行标识','0','0',' ',1751352087263975462,'1','entryentity','0','0','0',39,'dynrowno','0','动态行标识','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975463;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','动态行所在行数','0','0',' ',1751352087263975463,'1','entryentity','0','0','0',40,'index','0','动态行所在行数','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975464;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','值','0','0',' ',1751352087263975464,'1','entryentity','0','0','0',41,'value','0','值','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975465;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','值类型','0','0',' ',1751352087263975465,'1','entryentity','0','0','0',42,'valuetype','0','值类型','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975424;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','底稿编号','0','0',' ',1751352087263975424,'1','tpo_declare_main_tsd','0','0','0',1,'billno','0','底稿编号','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975428;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'1','组织','0','0',' ',1751352087263975428,'1','tpo_declare_main_tsd','0','0','0',5,'org','0','组织','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975430;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','所属期起','0','0',' ',1751352087263975430,'1','tpo_declare_main_tsd','0','0','0',7,'skssqq','0','所属期起','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975431;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','所属期止','0','0',' ',1751352087263975431,'1','tpo_declare_main_tsd','0','0','0',8,'skssqz','0','所属期止','1'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975441;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','税收制度','0','0',' ',1751352087263975441,'1','tpo_declare_main_tsd','0','0','0',18,'taxsystem','0','税收制度','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975443;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','账套类型','0','0',' ',1751352087263975443,'1','tpo_declare_main_tsd','0','0','0',20,'accountsettype','0','账套类型','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751352087263975460;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','列维','0','0',',snljs,',1751352087263975460,'1','entryentity','0','0','1',37,'column','0','列维','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751382106182790144;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','取数项目来源元数据','0','0',' ',1751382106182790144,'1','tpo_declare_main_tsd','0','1','0',43,'fetchitemtype','0','取数项目来源元数据','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1751382106182790145;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1751352086995539968,'0','取数项目','0','0',' ',1751382106182790145,'1','tpo_declare_main_tsd','0','1','0',44,'fetchitem','0','取数项目','0'); 

DELETE FROM t_tctb_datasource_pkrules WHERE FPKID = 1751352087263976449;
INSERT INTO t_tctb_datasource_pkrules(FBASEDATAID,FPKID,FID) VALUES (1527585752186237952,1751352087263976449,1751352086995539968); 

