DELETE FROM t_tctb_datasource WHERE FID = 1512886646507430912;
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 (1512886646507430912,'未开票收入台账','1','0',' ','0',100000,' ',100000,100000,1512886646507430912,'C','5','tcvat_wkpsr_data',978216567512983552,' ',{ts'2022-09-19  00:00:00'},1297792678607504384,'1',' ',{ts'2022-09-19  00:00:00'},1297792678607504384,'1'); 

DELETE FROM t_tctb_datasource_l WHERE FPKID = '2QU2C36NGCCU';
INSERT INTO t_tctb_datasource_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1512886646507430912,'2QU2C36NGCCU','zh_CN','tcvat_wkpsr_data'); 

DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639680;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','二维表序号','0','0',' ',1512886646557639680,'1','tcvat_wkpsr_data','0',0,'0','0',1,'ewblxh','0','二维表序号','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639681;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','二维表名称','0','0',' ',1512886646557639681,'1','tcvat_wkpsr_data','0',0,'0','0',2,'ewblname','0','二维表名称','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639682;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','申报表id','0','0',' ',1512886646557639682,'1','tcvat_wkpsr_data','0',0,'0','0',3,'sbbid','0','申报表id','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639683;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','序号','0','0',' ',1512886646557639683,'1','tcvat_wkpsr_data','0',0,'0','0',4,'seqno','0','序号','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639684;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','业务名称','0','0',' ',1512886646557639684,'1','tcvat_wkpsr_data','0',0,'1','0',5,'bizname','0','业务名称','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639685;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','应税收入','0','0',',bqhj,',1512886646557639685,'1','tcvat_wkpsr_data','0',0,'0','0',6,'yssr','0','应税收入','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639686;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','征收方式','0','0',' ',1512886646557639686,'1','tcvat_wkpsr_data','0',0,'0','0',7,'levytype','0','征收方式','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639687;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','已开票收入','0','0',',bqhj,',1512886646557639687,'1','tcvat_wkpsr_data','0',0,'0','0',8,'ykpsr','0','已开票收入','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639688;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','本期实际未开具发票销售额','0','0',',bqhj,',1512886646557639688,'1','tcvat_wkpsr_data','0',0,'0','0',9,'bqsjwkjfpxse','0','本期实际未开具发票销售额','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639689;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','未开具发票销售额调整列','0','0',',bqhj,',1512886646557639689,'1','tcvat_wkpsr_data','0',0,'0','0',10,'wkjfpxsetzl','0','未开具发票销售额调整列','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639690;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','期初未开具发票销售额','0','0',',bqhj,',1512886646557639690,'1','tcvat_wkpsr_data','0',0,'0','0',11,'qcwkjfpxse','0','期初未开具发票销售额','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639691;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','本期用于申报的未开具发票销售额','0','0',',bqhj,',1512886646557639691,'1','tcvat_wkpsr_data','0',0,'0','1',12,'bqyysbdwkjfpxse','0','本期用于申报的未开具发票销售额','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639692;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','期末未开具发票销售额余额','0','0',',bqhj,',1512886646557639692,'1','tcvat_wkpsr_data','0',0,'0','0',13,'qmwkjfpxseye','0','期末未开具发票销售额余额','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639693;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','本期实际申报未开具发票税额','0','0',',bqhj,',1512886646557639693,'1','tcvat_wkpsr_data','0',0,'0','1',14,'bqsjsbwkjfpse','0','本期实际申报未开具发票税额','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639695;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'1','组织','0','0',' ',1512886646557639695,'1','tcvat_wkpsr_data','0',0,'0','0',16,'org','0','组织','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639696;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','税款所属期起','0','0',' ',1512886646557639696,'1','tcvat_wkpsr_data','0',0,'0','0',17,'skssqq','0','税款所属期起','1'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639697;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','税款所属期止','0','0',' ',1512886646557639697,'1','tcvat_wkpsr_data','0',0,'0','0',18,'skssqz','0','税款所属期止','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1513137494172915712;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','单据状态','0','0',' ',1513137494172915712,'1','tcvat_wkpsr_data','0',0,'1','0',19,'billstatus','0','单据状态','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1512886646557639694;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FACCESSMAP,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1512886646507430912,'0','税率','0','0',',bqhj,',1512886646557639694,'1','tcvat_wkpsr_data','0',0,'0','0',15,'sl','0','税率','0'); 

DELETE FROM t_tctb_datasource_pkrules WHERE FPKID = 1512886646557762560;
INSERT INTO t_tctb_datasource_pkrules(FID,FBASEDATAID,FPKID) VALUES (1512886646507430912,1043426415279747072,1512886646557762560); 
