DELETE FROM t_tctb_formula WHERE FID = 1388990222582183504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1388990222582183504,{ts'2022-04-20  00:00:00'},' ',' ','VAT202206','tcvat_ybnsr_fb4#3#bqfse',' ','一般纳税人附表四#3#2-本期发生额','1','3','1388990221600714752','zzsybnsr','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype in (''VAT_YJXMLX_001'',''VAT_YJXMLX_002''))) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1388990222582183505;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1388990222582183505,{ts'2022-04-20  00:00:00'},' ',' ','VAT202206','tcvat_ybnsr_fb4#4#bqfse',' ','一般纳税人附表四#4#2-本期发生额','1','4','1388990221600714752','zzsybnsr','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype in (''VAT_YJXMLX_003'',''VAT_YJXMLX_004''))) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1388990222582183506;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1388990222582183506,{ts'2022-04-20  00:00:00'},' ',' ','VAT202206','tcvat_ybnsr_fb4#5#bqfse',' ','一般纳税人附表四#5#2-本期发生额','1','5','1388990221600714752','zzsybnsr','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype = ''VAT_YJXMLX_005'')) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1389856118104142876;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1389856118104142876,{ts'2022-04-20  00:00:00'},' ',' ','VAT-YB-202206','tcvat_ybnsr_fb4#3#bqfse',' ','一般纳税人附表四#3#2-本期发生额','1','3','1389856116283859968','zzsybnsr_ybhz','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype in (''VAT_YJXMLX_001'',''VAT_YJXMLX_002''))) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1389856118104142877;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1389856118104142877,{ts'2022-04-20  00:00:00'},' ',' ','VAT-YB-202206','tcvat_ybnsr_fb4#4#bqfse',' ','一般纳税人附表四#4#2-本期发生额','1','4','1389856116283859968','zzsybnsr_ybhz','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype in (''VAT_YJXMLX_003'',''VAT_YJXMLX_004''))) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1389856118104142878;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1389856118104142878,{ts'2022-04-20  00:00:00'},' ',' ','VAT-YB-202206','tcvat_ybnsr_fb4#5#bqfse',' ','一般纳税人附表四#5#2-本期发生额','1','5','1389856116283859968','zzsybnsr_ybhz','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype = ''VAT_YJXMLX_005'')) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1389922187686721100;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1389922187686721100,{ts'2022-04-20  00:00:00'},' ',' ','VAT202206-A','tcvat_ybnsr_fb4#3#bqfse',' ','一般纳税人附表四#3#2-本期发生额','1','3','1389922186361365504','zzsybnsr','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype in (''VAT_YJXMLX_001'',''VAT_YJXMLX_002''))) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1389922187686721101;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1389922187686721101,{ts'2022-04-20  00:00:00'},' ',' ','VAT202206-A','tcvat_ybnsr_fb4#4#bqfse',' ','一般纳税人附表四#4#2-本期发生额','1','4','1389922186361365504','zzsybnsr','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype in (''VAT_YJXMLX_003'',''VAT_YJXMLX_004''))) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1389922187686721102;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1389922187686721102,{ts'2022-04-20  00:00:00'},' ',' ','VAT202206-A','tcvat_ybnsr_fb4#5#bqfse',' ','一般纳税人附表四#5#2-本期发生额','1','5','1389922186361365504','zzsybnsr','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype = ''VAT_YJXMLX_005'')) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1392817179346356850;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1392817179346356850,{ts'2022-04-21  00:00:00'},' ',' ','VAT202206-GD','tcvat_ybnsr_fb4#3#bqfse',' ','一般纳税人附表四#3#2-本期发生额','1','3','1392817178188729344','zzsybnsr','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype in (''VAT_YJXMLX_001'',''VAT_YJXMLX_002''))) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1392817179346356851;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1392817179346356851,{ts'2022-04-21  00:00:00'},' ',' ','VAT202206-GD','tcvat_ybnsr_fb4#4#bqfse',' ','一般纳税人附表四#4#2-本期发生额','1','4','1392817178188729344','zzsybnsr','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype in (''VAT_YJXMLX_003'',''VAT_YJXMLX_004''))) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1392817179346356852;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1392817179346356852,{ts'2022-04-21  00:00:00'},' ',' ','VAT202206-GD','tcvat_ybnsr_fb4#5#bqfse',' ','一般纳税人附表四#5#2-本期发生额','1','5','1392817178188729344','zzsybnsr','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype = ''VAT_YJXMLX_005'')) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1393323893741080513;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1393323893741080513,{ts'2022-04-20  00:00:00'},' ',' ','VAT-YB-202206-A','tcvat_ybnsr_fb4#3#bqfse',' ',' ','1','3','1393323890779899904','zzsybnsr_ybhz','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype in (''VAT_YJXMLX_001'',''VAT_YJXMLX_002''))) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1393323893741080514;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1393323893741080514,{ts'2022-04-20  00:00:00'},' ',' ','VAT-YB-202206-A','tcvat_ybnsr_fb4#4#bqfse',' ',' ','1','4','1393323890779899904','zzsybnsr_ybhz','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype in (''VAT_YJXMLX_003'',''VAT_YJXMLX_004''))) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1393323893741080515;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1393323893741080515,{ts'2022-04-20  00:00:00'},' ',' ','VAT-YB-202206-A','tcvat_ybnsr_fb4#5#bqfse',' ',' ','1','5','1393323890779899904','zzsybnsr_ybhz','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype = ''VAT_YJXMLX_005'')) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1393361442341670843;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1393361442341670843,{ts'2022-04-20  00:00:00'},' ',' ','VAT-YB-202206-GD','tcvat_ybnsr_fb4#3#bqfse',' ','一般纳税人附表四#3#2-本期发生额','1','3','1393361441116932096','zzsybnsr_ybhz','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype in (''VAT_YJXMLX_001'',''VAT_YJXMLX_002''))) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1393361442341670844;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1393361442341670844,{ts'2022-04-20  00:00:00'},' ',' ','VAT-YB-202206-GD','tcvat_ybnsr_fb4#4#bqfse',' ','一般纳税人附表四#4#2-本期发生额','1','4','1393361441116932096','zzsybnsr_ybhz','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype in (''VAT_YJXMLX_003'',''VAT_YJXMLX_004''))) AND ftaxtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1393361442341670845;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1393361442341670845,{ts'2022-04-20  00:00:00'},' ',' ','VAT-YB-202206-GD','tcvat_ybnsr_fb4#5#bqfse',' ','一般纳税人附表四#5#2-本期发生额','1','5','1393361441116932096','zzsybnsr_ybhz','tcvat_ybnsr_fb4','bqfse',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND fdeductionperiod=''0'' AND fprepayproject IN (SELECT fid FROM t_tcvat_prepay_project WHERE ftaxorg = ''#orgid'' AND fprepaytype = ''VAT_YJXMLX_005'')) AND ftaxtype=''1'']}'); 
DELETE FROM T_TCTB_FORMULA WHERE FID = 1102879354490445824;
INSERT INTO T_TCTB_FORMULA(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1102879354490445824,{ts'2022-04-28  00:00:00'},' ',' ','VAT_DRAFT_YBNSR_01','tcvat_zlb_ybnsr#31#ybxm',' ','增值税一般纳税人总览表#31#一般项目','1','31','1102685677520327680','draft_zzsybnsr','tcvat_zlb_ybnsr','ybxm',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND  fdeductionperiod=''0'') AND ftaxtype=''1'']}');
DELETE FROM T_TCTB_FORMULA WHERE FID = 1120101537583382528;
INSERT INTO T_TCTB_FORMULA(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1120101537583382528,{ts'2022-04-28  00:00:00'},' ',' ','VAT_DRAFT_YBNSR_YBHZ_01','tcvat_zlb_zzsybnsr_ybhz#30#ybxm',' ','增值税汇总一般企业税额计算总览表#30#一般项目','1','30','1119375361449286656','draft_zzsybnsr_ybhz','tcvat_zlb_zzsybnsr_ybhz','ybxm',' ',' ','{S[SELECT sum(fyjsjje) FROM t_tctb_declare_entry WHERE fid IN (SELECT fid FROM t_tcvat_prepay_declare WHERE fskssqq>=''#prestartDate'' AND fskssqz<=''#endDate'' AND forgid=''#orgid'' AND fpaystatus=''1'' AND  fdeductionperiod=''0'') AND ftaxtype=''1'']}');
DELETE FROM t_tctb_formula WHERE FID = 1402231687546404864;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1402231687546404864,{ts'2022-04-19  00:00:00'},' ',' ','VAT_PRE_202206','tctb_declare_entry#1#yjsjje','{Q[增值税#本期应补（退）税额]}','纳税申报子表#增值税#预缴实缴金额','1','1','1386788769012694016','zzsyjskb','tctb_declare_entry','yjsjje',' ',' ','{Q[tctb_declare_entry#1#bqdybtse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1402243747999122432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1402243747999122432,{ts'2022-04-19  00:00:00'},' ',' ','VAT_PRE_202206','tctb_declare_entry#3#yjsjje','{Q[城市维护建设税#本期应补（退）税额]}','纳税申报子表#城市维护建设税#预缴实缴金额','1','3','1386788769012694016','zzsyjskb','tctb_declare_entry','yjsjje',' ',' ','{Q[tctb_declare_entry#3#bqdybtse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1402244196554769408;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1402244196554769408,{ts'2022-04-19  00:00:00'},' ',' ','VAT_PRE_202206','tctb_declare_entry#4#yjsjje','{Q[教育费附加#本期应补（退）税额]}','纳税申报子表#教育费附加#预缴实缴金额','1','4','1386788769012694016','zzsyjskb','tctb_declare_entry','yjsjje','1',' ','{Q[tctb_declare_entry#4#bqdybtse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1402244472355423232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1402244472355423232,{ts'2022-04-19  00:00:00'},' ',' ','VAT_PRE_202206','tctb_declare_entry#5#yjsjje','{Q[地方教育附加#本期应补（退）税额]}','纳税申报子表#地方教育附加#预缴实缴金额','1','5','1386788769012694016','zzsyjskb','tctb_declare_entry','yjsjje','1',' ','{Q[tctb_declare_entry#5#bqdybtse]}'); 
