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-13  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(fbqdybtse) 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'']}'); 
