DELETE FROM t_tctb_formula WHERE FID = 1066615690263320811;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320811,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#20#ssje','{Q[20.单户贷款余额300万元至1000万元（含）的贷款损失#4.资产计税基础]}-{Q[20.单户贷款余额300万元至1000万元（含）的贷款损失#2.资产处置收入]}-{Q[20.单户贷款余额300万元至1000万元（含）的贷款损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#20.单户贷款余额300万元至1000万元含的贷款损失#5.资产损失的税收金额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#20#zcjsjc]}-{Q[tccit_qysds_a105090#20#zcczsr]}-{Q[tccit_qysds_a105090#20#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932674;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932674,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#hj','{Q[累计账载金额#1.跨期收取的租金、利息、特许权使用费收入]}+{Q[累计账载金额#5.分期确认收入]}+{Q[累计账载金额#9.政府补助递延收入]}+{Q[累计账载金额#13.其他未按权责发生制确认收入]}','A105020未按权责发生确实收入调整明细#累计账载金额#14.合计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','hj','1',' ','{Q[tccit_qysds_a105020#3#kqsqdzjlxtxq]}+{Q[tccit_qysds_a105020#3#fqqrsr]}+{Q[tccit_qysds_a105020#3#zfbzdysr]}+{Q[tccit_qysds_a105020#3#qtwaqzfszqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320899;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320899,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#34#nstzje','{Q[34.（三）其他#1.账载金额]}-{Q[34.（三）其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#34.三其他#3.纳税调整金额','1','34','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#34#zzje]}-{Q[tccit_qysds_a105120#34#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135456761038530560;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135456761038530560,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#3#qynddme',' ','A107050税额抵免优惠明细表#3#9.前一年度一抵免额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','qynddme',' ',' ','{S[select fbnsjdmdgndse from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''4'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932797;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932797,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#hj','{Q[账载金额#13.合计]}-{Q[税收金额#13.合计]}','A105050职工薪酬支出明细#纳税调整金额#13.合计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','hj','1',' ','{Q[tccit_qysds_a105050#1#hj]}-{Q[tccit_qysds_a105050#5#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1107933390700550144;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1107933390700550144,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#btzlrfpqrjejdsj',' ','A107011居民企业之间权益性投资收益优惠#4#6.被投资企业利润分配确认金额_被投资企业做出利润分配或转股决定时间','4','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzlrfpqrjejdsj',' ',' ','{S[select left(fbizdate,10)  from t_tccit_dg_b105037_sum where flabel=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320625;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320625,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#8#jwshxj','{Q[8#2.境外税后所得_分支机构机构营业利润所得]}+{Q[8#3.境外税后所得_股息、红利等权益性投资所得]}+{Q[8#4.境外税后所得_利息所得]}+{Q[8#5.境外税后所得_租金所得]}+{Q[8#6.境外税后所得_特许权使用费所得]}+{Q[8#7.境外税后所得_财产转让所得]}+{Q[8#8.境外税后所得_其他所得]}','A108010境外所得纳税调整后所得明细表#8#9.境外税后所得_小计','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwshxj','1',' ','{Q[tccit_qysds_a108010#8#jwshfzjgyylr]}+{Q[tccit_qysds_a108010#8#jwshgxhltzsd]}+{Q[tccit_qysds_a108010#8#jwshlxsd]}+{Q[tccit_qysds_a108010#8#jwshzjsd]}+{Q[tccit_qysds_a108010#8#jwshtxqfysd]}+{Q[tccit_qysds_a108010#8#jwshcczrsd]}+{Q[tccit_qysds_a108010#8#jwshqtsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114437525729969152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114437525729969152,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#5#gdmc',' ','A000000主要股东及分红情况#5#1.股东名称','4','5','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gdmc',' ',' ','{S[select h.fgdname from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=5 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320583;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320583,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#2#jwsdynse1','{Q[2#7.抵减境内亏损后的境外应纳税所得额]}*{Q[2#8.税率]}','A108000境外所得税收抵免明细表#2#9.境外所得应纳税额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsdynse1','1',' ','{Q[tccit_qysds_a108000#2#djjnkshjwyne]}*{Q[tccit_qysds_a108000#2#sl2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321500;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321500,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#jwynssde','{Q[1#5.境外应纳税所得额]}','A108000境外所得税收抵免明细表#合计#5.境外应纳税所得额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwynssde','1',' ','{Q[tccit_qysds_a108000#1#jwynssde]}+{Q[tccit_qysds_a108000#2#jwynssde]}+{Q[tccit_qysds_a108000#3#jwynssde]}+{Q[tccit_qysds_a108000#4#jwynssde]}+{Q[tccit_qysds_a108000#5#jwynssde]}+{Q[tccit_qysds_a108000#6#jwynssde]}+{Q[tccit_qysds_a108000#7#jwynssde]}+{Q[tccit_qysds_a108000#8#jwynssde]}+{Q[tccit_qysds_a108000#9#jwynssde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071732419759215616;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071732419759215616,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#18#jbxmsde',' ','A107020所得减免优惠明细表#18#10.减半项目所得额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','{Q[tccit_qysds_a107020#16#jbxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932907;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932907,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#chjstzqrjeqdcgsh','{Q[1#11.撤回或减少投资确认金额_从被投资企业撤回或减少投资取得的资产]}-{Q[1#13.撤回或减少投资确认金额_收回初始投资成本]}','A107011居民企业之间权益性投资收益优惠#1#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeqdcgsh','1',' ','{Q[tccit_qysds_a107011#1#chjstzqrjezc]}-{Q[tccit_qysds_a107011#1#chjstzqrjeshcstzcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932645;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932645,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#sydwzc','{Q[金额#19.事业支出]}+{Q[金额#20.上缴上级支出]}+{Q[金额#21.对附属单位补助]}+{Q[金额#22.经营支出]}+{Q[金额#23.其他支出]}','A103000事业单位支出明细#金额#18.事业单位支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','sydwzc','1',' ','{Q[tccit_qysds_a103000#1#syzc]}+{Q[tccit_qysds_a103000#1#sjsjzc]}+{Q[tccit_qysds_a103000#1#dfsdwbz]}+{Q[tccit_qysds_a103000#1#jyzc]}+{Q[tccit_qysds_a103000#1#qtzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932378;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932378,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#30#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#30#1.账载金额资产原值','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020402'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320767;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320767,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#22#nstzje','{Q[22.（四）土地使用权#2.账载金额本年折旧摊销额]}-{Q[22.（四）土地使用权#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#22.四土地使用权#9.纳税调整金额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#22#zzjebnzj]}-{Q[tccit_qysds_a105080#22#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321384,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#zfgjj',' ','A105050职工薪酬支出明细#实际发生额#9.住房公积金','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','zfgjj','1',' ','{S[SELECT fsjje FROM t_tccit_salary_summary_dg WHERE fitemtype=''commreserve'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320823;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320823,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#3#nstzje','{Q[3.其中：逾期三年以上的应收款项损失#1.资产损失的账载金额]}-{Q[3.其中：逾期三年以上的应收款项损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#3.其中：逾期三年以上的应收款项损失#6.纳税调整金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#3#zzje]}+{Q[tccit_qysds_a105090#3#zchxje]}-{Q[tccit_qysds_a105090#3#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077461032173092864;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077461032173092864,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#11#ssje','{Q[全额扣除的公益性捐赠-1#1.账载金额]}','A105070捐赠支出及纳税调整明细#11#4.税收金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105070','ssje',' ',' ','{Q[tccit_qysds_a105070#11#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114481304490999808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114481304490999808,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#5#zjlx','[{"val":"","text":""},{"val":"1","text":"居民身份证"},{"val":"2","text":"中国护照"},{"val":"3","text":"税务登记证"},{"val":"4","text":"营业执照"},{"val":"5","text":"组织机构代码证"},{"val":"6","text":"其他单位证件"},{"val":"7","text":"香港特别行政区护照"},{"val":"8","text":"澳门特别行政区护照"},{"val":"9","text":"港澳居民来往内地通行证"},{"val":"10","text":"中华人民共和国往来港澳通行证"},{"val":"11","text":"台湾居民来往大陆通行证"},{"val":"12","text":"大陆居民往来台湾通行证"},{"val":"13","text":"香港永久性居民身份证"},{"val":"14","text":"台湾身份证"},{"val":"15","text":"澳门特别行政区永久性居民身份证"},{"val":"16","text":"外国护照"},{"val":"17","text":"外国人身份证件"},{"val":"18","text":"其他个人证件"}]','A000000主要股东及分红情况#5#2.证件种类','3','5','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932788;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932788,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#zgjyjfzc','{Q[纳税调整金额#5.按税收规定比例扣除的职工教育经费]}+{Q[纳税调整金额#6.按税收规定全额扣除的职工培训费用]}','A105050职工薪酬支出明细#纳税调整金额#4.职工教育经费支出','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','zgjyjfzc','1',' ','{Q[tccit_qysds_a105050#6#blkcjyjf]}+{Q[tccit_qysds_a105050#6#qekcpxfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135408921604056064;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135408921604056064,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#34#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#34#研发活动费用金额','1','34','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=34]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932729;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932729,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#8#kgcsjrzc','{Q[处置收益会计确认处置收入#2.可供出售金融资]}-{Q[处置收益账面价值#2.可供出售金融资]}','A105030投资收益纳税调整明细#处置收益会计确认所得或损失#2.可供出售金融资','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105030','kgcsjrzc','1',' ','{Q[tccit_qysds_a105030#4#kgcsjrzc]}-{Q[tccit_qysds_a105030#6#kgcsjrzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932405;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932405,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#20#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#20#3.账载金额累计折旧、摊销额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020302'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932194;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932194,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#fqskfsxshwsr',' ','A105020未按权责发生确实收入调整明细#5#6.分期收款方式销售货物收入','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','fqskfsxshwsr',' ',' ','{S[select ftaxincomesum from t_tccit_right_income_sum where FITEMTYPE=''003_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320855;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320855,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#16#ssje','{Q[17.1.已发生已报案未决赔款准备金#2.税收金额]}+{Q[18.2.已发生未报案未决赔款准备金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#16.五未决赔款准备金17+18#2.税收金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105120','ssje','1',' ','{Q[tccit_qysds_a105120#17#ssje]}+{Q[tccit_qysds_a105120#18#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113132683401550848;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113132683401550848,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#nd',' ','A106000企业所得税弥补亏损明细表#2#1.年度','1','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','nd',' ',' ','{C[#year]}-9'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932530;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932530,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#15#zzje',' ','A105090资产损失税前扣除及纳税调整明细#15#1.资产损失的账载金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''701030701'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931968;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931968,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#2#bnggfhywxcfzc',' ','A105060广告业务宣传费跨年纳税调整明细#2#1.本年支出','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105060','bnggfhywxcfzc',' ',' ','{S[select famount from t_tccit_insurance_summary where fitemtype=''zzje'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932711;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932711,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#4#hj','{Q[处置收益会计确认处置收入#1.交易性金融资产]}+{Q[处置收益会计确认处置收入#2.可供出售金融资]}+{Q[处置收益会计确认处置收入#3.持有至到期投资]}+{Q[处置收益会计确认处置收入#4.衍生工具]}+{Q[处置收益会计确认处置收入#5.交易性金融负债]}+{Q[处置收益会计确认处置收入#6.长期股权投资]}+{Q[处置收益会计确认处置收入#7.短期投资]}+{Q[处置收益会计确认处置收入#8.长期债券投资]}+{Q[处置收益会计确认处置收入#9.其他]}','A105030投资收益纳税调整明细#处置收益会计确认处置收入#10.合计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105030','hj','1',' ','{Q[tccit_qysds_a105030#4#jyxjrzc]}+{Q[tccit_qysds_a105030#4#kgcsjrzc]}+{Q[tccit_qysds_a105030#4#cyzdqtz]}+{Q[tccit_qysds_a105030#4#ysgj]}+{Q[tccit_qysds_a105030#4#jyxjrfz]}+{Q[tccit_qysds_a105030#4#cqgqtz]}+{Q[tccit_qysds_a105030#4#dqtz]}+{Q[tccit_qysds_a105030#4#cqzqtz]}+{Q[tccit_qysds_a105030#4#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113018468074198016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113018468074198016,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#13#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#13#1.一般性税务处理账载金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010307'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932268;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932268,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#5#cqgqtz',' ','A105030投资收益纳税调整明细#5#6.长期股权投资','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqgqtz',' ',' ','{S[select fssjsczsr from t_tccit_asset_dispose_sum where fitemtype=''6010806'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118814730526830592;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118814730526830592,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#25#ssyh',' ','A107042软件、集成电路企业优惠情况及明细表#25#3.税收优惠指标名称','4','25','1066581598406760448','qysdsnb','tccit_qysds_a107042','ssyh',' ',' ','{S[select t.fitemname from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''qtzb3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321148;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321148,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#zyywcbqt',' ','A102010一般企业成本支出明细#金额#8.主营业成本-其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','zyywcbqt','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=8 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133309090953544704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133309090953544704,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#7#fzjgzcze',' ','A109010分支机构信息#7#5.资产总额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''7'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112315420246850560;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112315420246850560,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#6#snmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#6#5.上年末准予提取贷款损失准备金的贷款资产余额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkzcye',' ',' ','{S[select fsnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''6'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320802;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320802,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#11#ssje','{Q[11.无形资产被替代或超过法律保护期限形成的损失#4.资产计税基础]}-{Q[11.无形资产被替代或超过法律保护期限形成的损失#2.资产处置收入]}-{Q[11.无形资产被替代或超过法律保护期限形成的损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#11.无形资产被替代或超过法律保护期限形成的损失#5.资产损失的税收金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#11#zcjsjc]}-{Q[tccit_qysds_a105090#11#zcczsr]}-{Q[tccit_qysds_a105090#11#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321341;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321341,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#tzsy',' ','A103000事业单位支出明细#金额#8.投资收益','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','tzsy','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=8 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069594171054297088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069594171054297088,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#4#xmsr',' ','A107020所得减免优惠明细表#4#4.项目收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr',' ',' ','{S[select fincome from t_tccit_getredu_sum where  FREDUCENAME in (1064506748737653761,1064508826394528768,1064508826394528769,1064508826394528770,1064508826394528771,1064508826394528772,1064508826394528773,1064508826394528774,1064508826394528775)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338343;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338343,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#3#jmsde','if({Q[3.一、农、林、牧、渔业项目小计#9.免税项目所得额]}+{Q[3.一、农、林、牧、渔业项目小计#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#3.一、农、林、牧、渔业项目小计#11.减免所得额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#3#msxmsde]}+{Q[tccit_qysds_a107020#3#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#3#msxmsde]}+{Q[tccit_qysds_a107020#3#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932136;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932136,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#stxsyycbqt',' ','A05010视同销售纳税调整明细#2#20.视同销售成本其他','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','stxsyycbqt',' ',' ','{Q[tccit_qysds_a105010#1#stxsyycbqt]}*-1'); 
DELETE FROM t_tctb_formula WHERE FID = 1112311894456187904;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112311894456187904,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#5#snmdkye',' ','A105120贷款损失准备金及纳税调整明细表#5#1.上年末贷款资产余额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkye',' ',' ','{S[select fsnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''5'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095562465569193984;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095562465569193984,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#tzxz',' ','A107011居民企业之间权益性投资收益优惠#1#3.投资性质','4','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzxz',' ',' ','{S[select finvesttype from t_tccit_dg_b105037_sum where fitemno=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321357;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321357,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#zzfy',' ','A103000事业单位支出明细#金额#27.筹资费用','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','zzfy','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=27 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113017780845876224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113017780845876224,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#4#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#4#1.一般性税务处理账载金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010302'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932174;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932174,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#yzcxgdzfbz',' ','A105020未按权责发生确实收入调整明细#1#11.与资产相关的政府补助','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','yzcxgdzfbz',' ',' ','{S[select fsignamount from t_tccit_right_income_sum where FITEMTYPE=''001_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077608916428308480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077608916428308480,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#39#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#39#3.账载金额累计折旧、摊销额','1','39','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020606'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932757;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932757,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#11#ysgj','{Q[持有收益纳税调整金额#4.衍生工具]}+{Q[处置收益纳税调整金额#4.衍生工具]}','A105030投资收益纳税调整明细#纳税调整金额#4.衍生工具','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105030','ysgj','1',' ','{Q[tccit_qysds_a105030#3#ysgj]}+{Q[tccit_qysds_a105030#10#ysgj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932733;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932733,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#8#cqgqtz','{Q[处置收益会计确认处置收入#6.长期股权投资]}-{Q[处置收益账面价值#6.长期股权投资]}','A105030投资收益纳税调整明细#处置收益会计确认所得或损失#6.长期股权投资','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqgqtz','1',' ','{Q[tccit_qysds_a105030#4#cqgqtz]}-{Q[tccit_qysds_a105030#6#cqgqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932510;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932510,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#10#zzje',' ','A105090资产损失税前扣除及纳税调整明细#10#1.资产损失的账载金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''701030501'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320984;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320984,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#13#hj','{Q[11.本年科技人员数#4.合计]}/{Q[12.本年职工总数#4.合计]}','A107041高新技术企业优惠情况及明细表#13.本年科技人员占企业当年职工总数的比例#4.合计','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj','1',' ','{Q[tccit_qysds_a107041#11#hj]}/{Q[tccit_qysds_a107041#12#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071723479331804160;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071723479331804160,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#13#xmmc',' ','A107020所得减免优惠明细表#13#1.项目名称','4','13','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select   fprojectname from t_tccit_getredu_sum where FREDUCENAME=1064511471960165376 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320810;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320810,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#19#ssje','{Q[19.其中：单户贷款余额300万（含）以下的贷款损失#4.资产计税基础]}-{Q[19.其中：单户贷款余额300万（含）以下的贷款损失#2.资产处置收入]}-{Q[19.其中：单户贷款余额300万（含）以下的贷款损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#19.其中：单户贷款余额300万含以下的贷款损失#5.资产损失的税收金额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#19#zcjsjc]}-{Q[tccit_qysds_a105090#19#zcczsr]}-{Q[tccit_qysds_a105090#19#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113695635636433920;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113695635636433920,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#dnknbks',' ','A106000企业所得税弥补亏损明细表#8#4.可弥补年限5年','1','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','dnknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-3 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-3 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}  #else #if({S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}>0 )    0-{S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']} #else  {S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932327;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932327,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#11#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#11#2.账载金额本年折旧摊销额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020607'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320845;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320845,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#25#nstzje','{Q[25.十、通过各种交易场所、市场买卖债券、股票、期货、基金以及金融衍生产品等发生的损失#1.资产损失的账载金额]}-{Q[25.十、通过各种交易场所、市场买卖债券、股票、期货、基金以及金融衍生产品等发生的损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#25.十、通过各种交易场所、市场买卖债券、股票、期货、基金以及金融衍生产品等发生的损失#6.纳税调整金额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#25#zzje]}+{Q[tccit_qysds_a105090#25#zchxje]}-{Q[tccit_qysds_a105090#25#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932353;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932353,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#9#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#9#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020602'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704924563757056;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704924563757056,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#56#hj',' ','A107040减免所得税优惠明细表#56#1.金额','1','56','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320916;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320916,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#16#yfhdfyje','{Q[17#研发活动费用金额]}+{Q[18#研发活动费用金额]}','A107012研发费用加计扣除优惠明细#16#研发活动费用金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','{Q[tccit_qysds_a107012_mx#17#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#18#yfhdfyje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932290;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932290,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#5#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#5#2.账载金额本年折旧摊销额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020104'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133307609433097216;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133307609433097216,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#10#fzjggzze',' ','A109010分支机构信息#10#4.职工薪酬','1','10','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''10'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320758;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320758,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#6#nstzje','{Q[6.（五）电子设备#2.账载金额本年折旧摊销额]}-{Q[6.（五）电子设备#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#6.五电子设备#9.纳税调整金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#6#zzjebnzj]}-{Q[tccit_qysds_a105080#6#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321256;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321256,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#ywzdf',' ','A104000期间费用明细表#销售费用#4.业务招待费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','ywzdf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932951;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932951,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105080#tabname',' ','企业所得税年度纳税申报表填报表#A105080资产折旧、摊销及纳税调整明细表#表单名称','1','A105080','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105080'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1069491548632136704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069491548632136704,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#30#nstzje',' ','A105090资产损失税前扣除及纳税调整明细#30#6.纳税调整金额','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje',' ',' ','{Q[tccit_qysds_a105090#30#zzje]}+{Q[tccit_qysds_a105090#30#zchxje]}-{Q[tccit_qysds_a105090#30#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114436755689652224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114436755689652224,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#qyndynbe',' ','A106000企业所得税弥补亏损明细表#2#8.当年待弥补的亏损额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','qyndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fbnkmbksje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}>0) 0-{S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}  #else {S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1112316408793970688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112316408793970688,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#7#bnmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#7#6.本年末准予提取贷款损失准备金的贷款资产余额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkzcye',' ',' ','{S[select fbnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''7'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113017555603338240;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113017555603338240,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#3#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#3#1.一般性税务处理账载金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030102'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113731328643222528;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113731328643222528,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#11#qsand',' ','A105040专项用途财政性资金纳税调整明细#11#3.前三年度','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsand',' ',' ','{S[SELECT sum(e.FEXPENSINGAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-3 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1181084187470344192;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181084187470344192,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#kdmyqnwdmjwsde','{Q[1#14.本年可抵免以前年度未抵免境外所得税额]}','A108000境外所得税收抵免明细表#10#14.本年可抵免以前年度未抵免境外所得税额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','kdmyqnwdmjwsde',' ',' ','{Q[tccit_qysds_a108000#1#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#2#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#3#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#4#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#5#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#6#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#7#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#8#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#9#kdmyqnwdmjwsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135344287001928704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135344287001928704,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#14#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#14#研发活动费用金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=14]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337855;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337855,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#28#nstze','{Q[3.一、农、林、牧、渔业项目小计#8.纳税调整额]}+{Q[6.二、国家重点扶持的公共基础设施项目小计#8.纳税调整额]}+{Q[9.三、符合条件的环境保护、节能节水项目小计#8.纳税调整额]}+{Q[12.四、符合条件的技术转让项目小计#8.纳税调整额]}+{Q[15.五、清洁发展机制项目小计#8.纳税调整额]}+{Q[18.六、符合条件的节能服务公司实施的合同能源管理项目小计#8.纳税调整额]}+{Q[21.七、线宽小于132纳米的集成电路生产项目小计#8.纳税调整额]}+{Q[24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#8.纳税调整额]}+{Q[27.九、其他小计#8.纳税调整额]}','A107020所得减免优惠明细表#28.合计#8.纳税调整额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze','1',' ','{Q[tccit_qysds_a107020#3#nstze]}+{Q[tccit_qysds_a107020#6#nstze]}+{Q[tccit_qysds_a107020#9#nstze]}+{Q[tccit_qysds_a107020#12#nstze]}+{Q[tccit_qysds_a107020#15#nstze]}+{Q[tccit_qysds_a107020#18#nstze]}+{Q[tccit_qysds_a107020#21#nstze]}+{Q[tccit_qysds_a107020#24#nstze]}+{Q[tccit_qysds_a107020#27#nstze]}+{Q[tccit_qysds_a107020#31#nstze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320715;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320715,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#1#zzjebnzj','{Q[2.（一）房屋、建筑物#2.账载金额本年折旧摊销额]}+{Q[3.（二）飞机、火车、轮船、机器、机械和其他生产设备#2.账载金额本年折旧摊销额]}+{Q[4.（三）与生产经营活动有关的器具、工具、家具等#2.账载金额本年折旧摊销额]}+{Q[5.（四）飞机、火车、轮船以外的运输工具#2.账载金额本年折旧摊销额]}+{Q[6.（五）电子设备#2.账载金额本年折旧摊销额]}+{Q[7.（六）其他#2.账载金额本年折旧摊销额]}','A105080资产折旧摊销及纳税调整明细#1.一、固定资产#2.账载金额本年折旧摊销额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj','1',' ','{Q[tccit_qysds_a105080#2#zzjebnzj]}+{Q[tccit_qysds_a105080#3#zzjebnzj]}+{Q[tccit_qysds_a105080#4#zzjebnzj]}+{Q[tccit_qysds_a105080#5#zzjebnzj]}+{Q[tccit_qysds_a105080#6#zzjebnzj]}+{Q[tccit_qysds_a105080#7#zzjebnzj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113721927807060992;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113721927807060992,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#2#qwnd',' ','A105040专项用途财政性资金纳税调整明细#2#1.前五年度','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','select fqsind from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''2'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932346;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932346,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#9#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#9#5.税收金额-税收折旧、摊销额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020602'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932150;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932150,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#yygxfpcb',' ','A05010视同销售纳税调整明细#1#16.用于股息分配视同销售成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','yygxfpcb',' ',' ','{S[select sum(fcost) from t_tccit_thinkofsell_sum where FITEMTYPE=''50104'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932580;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932580,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A103000#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A103000事业单位、民间非营利组织收入、支出明细表#表单名称','3','A103000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1078889004276955136;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078889004276955136,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#39#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#39#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','39','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020606'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1139860461714436096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1139860461714436096,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#43#hj',' ','A107040减免所得税优惠明细表#43#1.金额','1','43','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ','{S[select famountorratio from t_tccit_setz_jmyhhz where forgid=''#orgid'' and FSKSSQQ = ''#startDate'' and FSKSSQZ=''#endDate'' and fitemtype = ''6.1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321056;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321056,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#hgttzsy','{Q[股票投资—沪港通H股#17.合计]}','A107010免税减计收入及加计扣除优惠明细表#金额#4.其中：内地居民企业通过沪港通投资且连续持有H股满12个月取得的股息红利所得免征企业所得税','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','hgttzsy','1',' ','{Q[tccit_qysds_a107011#10#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321343;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321343,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#jsjzsr',' ','A103000事业单位支出明细#金额#11.接受捐赠收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','jsjzsr','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=11 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321491;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321491,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#1#jwynssde','if(-{Q[1#3.境外所得纳税调整后所得]}-{Q[1#4.弥补境外以前年度亏损]})>=)','A108000境外所得税收抵免明细表#1#5.境外应纳税所得额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwynssde','1',' ','if(({Q[tccit_qysds_a108000#1#jwstzhsd]}-{Q[tccit_qysds_a108000#1#mbjwyqnks]})>=0,{Q[tccit_qysds_a108000#1#jwstzhsd]}-{Q[tccit_qysds_a108000#1#mbjwyqnks]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1071740468695700480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071740468695700480,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#25#jbxmsde',' ','A107020所得减免优惠明细表#25#10.减半项目所得额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#25#yhfs]}''==''减半征收'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME=1119525021539512320 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME=1119525021539512320 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1114393087247082496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114393087247082496,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#qsndynbe',' ','A106000企业所得税弥补亏损明细表#10#6.弥补亏损企业类型','4','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and flosstype=''jnsd'']}>0)       {S[select fnumber  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and flosstype=''jnsd'']}    #else  {S[SELECT fqsndynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851109;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851109,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#4#nstjje',' ','A105070捐赠支出及纳税调整明细#前三年度#6.纳税调减金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105070','nstjje','1',' ','{S[select fmoney from  t_tccit_dg_b105021_sum where FITEMNO=''14a'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932335;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932335,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#12#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#12#3.账载金额累计折旧、摊销额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020608'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321021;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321021,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#fszchztxx','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#222发生资产股权划转特殊性税务处理事项','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','fszchztxx','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932518;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932518,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#12#zzje',' ','A105090资产损失税前扣除及纳税调整明细#12#1.资产损失的账载金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype in(''701030601'',''701030602'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337826;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337826,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#15#xmsr','{Q[13.五、清洁发展机制项目#4.项目收入]}+{Q[14.五、清洁发展机制项目#4.项目收入]}','A107020所得减免优惠明细表#15.五、清洁发展机制项目小计#4.项目收入','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr','1',' ','{Q[tccit_qysds_a107020#13#xmsr]}+{Q[tccit_qysds_a107020#14#xmsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135409230413920256;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135409230413920256,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#37#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#37#研发活动费用金额','1','37','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=37]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320714;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320714,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#1#zzjezczz','{Q[2.（一）房屋、建筑物#1.账载金额资产原值]}+{Q[3.（二）飞机、火车、轮船、机器、机械和其他生产设备#1.账载金额资产原值]}+{Q[4.（三）与生产经营活动有关的器具、工具、家具等#1.账载金额资产原值]}+{Q[5.（四）飞机、火车、轮船以外的运输工具#1.账载金额资产原值]}+{Q[6.（五）电子设备#1.账载金额资产原值]}+{Q[7.（六）其他#1.账载金额资产原值]}','A105080资产折旧摊销及纳税调整明细#1.一、固定资产#1.账载金额资产原值','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz','1',' ','{Q[tccit_qysds_a105080#2#zzjezczz]}+{Q[tccit_qysds_a105080#3#zzjezczz]}+{Q[tccit_qysds_a105080#4#zzjezczz]}+{Q[tccit_qysds_a105080#5#zzjezczz]}+{Q[tccit_qysds_a105080#6#zzjezczz]}+{Q[tccit_qysds_a105080#7#zzjezczz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112232822472441856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112232822472441856,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#20#hj','{Q[20.无形资产摊销费用#1.本年度]}','A107041高新技术企业优惠情况及明细表#20#4.合计','1','20','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{Q[tccit_qysds_a107041#20#bnd]}+{Q[tccit_qysds_a107041#20#qynd]}+{Q[tccit_qysds_a107041#20#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321162;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321162,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#sdjm','if({Q[金额#19.纳税调整后所得]}>if({Q[金额#19.纳税调整后所得]}>={Q[28.合计#11.减免所得额]},{Q[28.合计#11.减免所得额]},{Q[金额#19.纳税调整后所得]}),)','A100000年度纳税申报表#金额#20.减：所得减免','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','sdjm','1',' ','if({Q[tccit_qysds_a100000#1#nstzhsd]}>0,if({Q[tccit_qysds_a100000#1#nstzhsd]}>={Q[tccit_qysds_a107020#28#jmsde]},{Q[tccit_qysds_a107020#28#jmsde]},{Q[tccit_qysds_a100000#1#nstzhsd]}),0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321143;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321143,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#xsspcb',' ','A102010一般企业成本支出明细#金额#3.销售商品成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','xsspcb','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114447455266538496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114447455266538496,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#8#zjhm',' ','A000000主要股东及分红情况#8#3.证件号码','4','8','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjhm',' ',' ','{S[select h.FIDNUMBER from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=8 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133313218048141312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133313218048141312,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#5#fpse',' ','A109010分支机构信息#5#7.分配所得税额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#5#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932215;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932215,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#1#cyzdqtz',' ','A105030投资收益纳税调整明细#1#3.持有至到期投资','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105030','cyzdqtz',' ',' ','{S[select fzzje from t_tccit_invest_profit_sum where fitemtype=''6010403'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321283;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321283,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#2#xlf',' ','A104000期间费用明细表#销售费用境外支付#16.修理费','1','2','1066581598406760448','qysdsnb','tccit_qysds_a104000','xlf','1',' ','{S[select fselloutside from t_tccit_profit_fees_sum where fitemno=16 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932269;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932269,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#5#dqtz',' ','A105030投资收益纳税调整明细#5#7.短期投资','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105030','dqtz',' ',' ','{S[select fssjsczsr from t_tccit_asset_dispose_sum where fitemtype=''6010807'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932396;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932396,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#30#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#30#2.账载金额本年折旧摊销额','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020402'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932390;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932390,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#23#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#23#2.账载金额本年折旧摊销额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020305'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932830;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932830,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#10#ybnstzje','{Q[10#2.一般性税务处理税收金额]}-{Q[10#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#10#3.一般性税务处理纳税调整金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#10#ybssje]}-{Q[tccit_qysds_a105100#10#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321455;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321455,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#51#yfhdfyje','if(({Q[47#研发活动费用金额]}-{Q[48#研发活动费用金额]}-{Q[49#研发活动费用金额]})>*{Q[50#研发活动费用金额]},)','A107012研发费用加计扣除优惠明细#51#研发活动费用金额','1','51','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','if(({Q[tccit_qysds_a107012_mx#47#yfhdfyje]}-{Q[tccit_qysds_a107012_mx#48#yfhdfyje]}-{Q[tccit_qysds_a107012_mx#49#yfhdfyje]})>0,({Q[tccit_qysds_a107012_mx#47#yfhdfyje]}-{Q[tccit_qysds_a107012_mx#48#yfhdfyje]}-{Q[tccit_qysds_a107012_mx#49#yfhdfyje]})*{Q[tccit_qysds_a107012_mx#50#yfhdfyje]}/100,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321331;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321331,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#5#qt',' ','A104000期间费用明细表#财务费用#25.其他','1','5','1066581598406760448','qysdsnb','tccit_qysds_a104000','qt','1',' ','{S[select ffinancecost from t_tccit_profit_fees_sum where fitemno=25 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071733295982875648;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071733295982875648,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#19#xgsf',' ','A107020所得减免优惠明细表#19#6.相关税费','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf',' ',' ','{S[select  frelaxtax from t_tccit_getredu_sum where FREDUCENAME=1119507313238005760 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321073;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321073,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#jzzc','{Q[合计#4.税收金额]}','A105000纳税调整项目明细#税收金额#17.捐赠支出','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','jzzc','1',' ','{Q[tccit_qysds_a105070#8#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320800;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320800,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#9#ssje','{Q[9.五、无形资产损失#4.资产计税基础]}-{Q[9.五、无形资产损失#2.资产处置收入]}-{Q[9.五、无形资产损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#9.五、无形资产损失#5.资产损失的税收金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#9#zcjsjc]}-{Q[tccit_qysds_a105090#9#zcczsr]}-{Q[tccit_qysds_a105090#9#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135343687048684544;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135343687048684544,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#8#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#8#研发活动费用金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=8]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320628;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320628,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#1#jwsdkdmxj','{Q[1#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[1#11.境外所得可抵免的所得税额_间接负担的所得税额]}+{Q[1#12.境外所得可抵免的所得税额_享受税收饶让抵免税额]}','A108010境外所得纳税调整后所得明细表#1#13.境外所得可抵免的所得税额_小计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdkdmxj','1',' ','{Q[tccit_qysds_a108010#1#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#1#jwsdkdmjjfd]}+{Q[tccit_qysds_a108010#1#jwsdkdmxssrrdm]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321213;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321213,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#ywzdfzc',' ','A105000纳税调整项目明细#税收金额#15.业务招待费支出','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','ywzdfzc','1',' ','{S[select FAMOUNT from t_tccit_ywzdf_tz_summary WHERE FITEMNO=''11'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932367;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932367,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#17#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#17#1.账载金额资产原值','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020202'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113669937228234752;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113669937228234752,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#knbkssd',' ','A106000企业所得税弥补亏损明细表#8#2.当年境内所得额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','knbkssd',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']}>0)     {S[select FLOSSMONEY from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']} #else     {S[SELECT fknbkssd FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']} #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321088,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#tglwsr',' ','A101010一般企业收入明细表#金额#5.提供劳务收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','tglwsr','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=5 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1140407257314391040;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1140407257314391040,{ts'2021-04-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#30#hj',' ','A107040减免所得税优惠明细表#30#1.金额','1','30','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ','{Q[tccit_qysds_a107040#43#hj]}+{Q[tccit_qysds_a107040#44#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320804;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320804,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#13#ssje','{Q[13.其中：在建工程停建、报废损失#4.资产计税基础]}-{Q[13.其中：在建工程停建、报废损失#2.资产处置收入]}-{Q[13.其中：在建工程停建、报废损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#13.其中：在建工程停建、报废损失#5.资产损失的税收金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#13#zcjsjc]}-{Q[tccit_qysds_a105090#13#zcczsr]}-{Q[tccit_qysds_a105090#13#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704864560044032;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704864560044032,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#55#hj',' ','A107040减免所得税优惠明细表#55#1.金额','1','55','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1133972211573810176;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133972211573810176,{ts'2021-04-14  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#ssqxynd',' ','A000000企业所得税年度纳税申报基础信息表#1#210-3所属期下一年度','4','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','ssqxynd',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1114451721419309056;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114451721419309056,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#sjnbe',' ','A106000企业所得税弥补亏损明细表#6#10.使用境外所得弥补','1','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','sjnbe',' ',' ','{S[select sum(fsyjwsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1071719544395175936;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071719544395175936,{ts'2021-03-30  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#10#nstze',' ','A107020所得减免优惠明细表#10#8.纳税调整额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze',' ',' ','{S[select  fnstz from t_tccit_getredu_sum where FREDUCENAME in (1064511039091315712,1119482547752284160)  and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321454;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321454,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#chjstzqrjeyqrgxsd','if({Q[7#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]}>{Q[7#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[7#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[7#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]})','A107011居民企业之间权益性投资收益优惠#7#16.撤回或减少投资确认金额_应确认的股息所得','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#7#chjstzqrjeljwfplryygj]}>{Q[tccit_qysds_a107011#7#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#7#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#7#chjstzqrjeljwfplryygj]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321184;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321184,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#crzj',' ','A102020金融企业支出明细#金额#6.拆入资金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','crzj','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=6 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321258;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321258,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#ggxcf',' ','A104000期间费用明细表#销售费用#5.广告费和业务宣传费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','ggxcf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=5 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337840;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337840,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#21#nstze','{Q[19.七、线宽小于130纳米的集成电路生产项目#8.纳税调整额]}+{Q[20.七、线宽小于131纳米的集成电路生产项目#8.纳税调整额]}','A107020所得减免优惠明细表#21.七、线宽小于132纳米的集成电路生产项目小计#8.纳税调整额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze','1',' ','{Q[tccit_qysds_a107020#19#nstze]}+{Q[tccit_qysds_a107020#20#nstze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071740970779055104;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071740970779055104,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#27#jbxmsde',' ','A107020所得减免优惠明细表#27#10.减半项目所得额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','{Q[tccit_qysds_a107020#25#jbxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932872,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#rjjcdlqylx','[{"val":"","text":""},{"val":"110","text":"线宽小于0.8微米（含）的企业"}, {"val":"120","text":"线宽小于0.25微米的企业"}, {"val":"130","text":"投资额超过80亿元的企业"}, {"val":"140","text":"线宽小于130纳米的企业"}, {"val":"150","text":"线宽小于65纳米或投资额超过150亿元的企业"}, {"val":"210","text":"新办符合条件企业"}, {"val":"220","text":"符合规模条件的重点集成电路设计企业"}, {"val":"230","text":"符合领域的重点集成电路设计企业"}, {"val":"311","text":"新办符合条件企业"}, {"val":"312","text":"符合规模条件的重点软件企业"}, {"val":"313","text":"符合领域条件的重点软件企业"}, {"val":"314","text":"符合出口条件的重点软件企业"}, {"val":"321","text":"新办符合条件企业"}, {"val":"322","text":"符合规模条件的重点软件企业"}, {"val":"323","text":"符合领域条件的重点软件企业"}, {"val":"324","text":"符合出口条件的重点软件企业"}, {"val":"400","text":"集成电路封装测试企业"}, {"val":"500","text":"集成电路关键专用材料生产企业"}, {"val":"600","text":"集成电路专用设备生产企业"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#208软件、集成电路企业类型','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','rjjcdlqylx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1113019116018668544;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113019116018668544,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#12#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#12#2.一般性税务处理税收金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010306'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113723516097881088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113723516097881088,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#qendynbe',' ','A106000企业所得税弥补亏损明细表#1#7.当年亏损额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','qendynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(flossmoney)  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  {S[SELECT fqendynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932386;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932386,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#19#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#19#2.账载金额本年折旧摊销额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321121;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321121,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#sxfjyjsrqt',' ','A101020金融企业收入明细#金额#17.手续费其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','sxfjyjsrqt','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=17 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321244;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321244,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#zczjtx','if({Q[36.合计#9.纳税调整金额]}<-{Q[36.合计#9.纳税调整金额]})','A105000纳税调整项目明细#调减金额#32.资产折旧、摊销','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','zczjtx','1',' ','if({Q[tccit_qysds_a105080#36#nstzje]}<0,0-{Q[tccit_qysds_a105080#36#nstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1095469621982532608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095469621982532608,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#fylzzsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#6.符合条件的非营利组织的收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','fylzzsr',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''1.1'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932183;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932183,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#lx',' ','A105020未按权责发生确实收入调整明细#4#3.利息','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','lx',' ',' ','{S[select ftaxincomecurrent from t_tccit_right_income_sum where FITEMTYPE=''002_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321435;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321435,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#kjz','{Q[5.前六年度#8.当年待弥补的亏损额]}-{Q[5.前六年度#9.使用境内所得弥补]}-{Q[5.前六年度#10.使用境外所得弥补]}','A106000企业所得税弥补亏损明细表#5.前六年度#11.当年可结转以后年度弥补的亏损额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','kjz','1',' ','if({Q[tccit_qysds_a106000#5#qyndynbe]}>{Q[tccit_qysds_a106000#5#hj]}+{Q[tccit_qysds_a106000#5#sjnbe]},{Q[tccit_qysds_a106000#5#qyndynbe]}-{Q[tccit_qysds_a106000#5#hj]}-{Q[tccit_qysds_a106000#5#sjnbe]},{Q[tccit_qysds_a106000#5#hj]}+{Q[tccit_qysds_a106000#5#sjnbe]}-{Q[tccit_qysds_a106000#5#qyndynbe]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320896;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320896,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#31#nstzje','{Q[31.四、金融企业#1.账载金额]}-{Q[31.四、金融企业#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#31.四、金融企业#3.纳税调整金额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#31#zzje]}-{Q[tccit_qysds_a105120#31#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932163;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932163,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#ysyxgdzfbz',' ','A105020未按权责发生确实收入调整明细#1#10.与收益相关的政府补助','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','ysyxgdzfbz',' ',' ','{S[select fsignamount from t_tccit_right_income_sum where FITEMTYPE=''001_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932216;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932216,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#1#ysgj',' ','A105030投资收益纳税调整明细#1#4.衍生工具','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105030','ysgj',' ',' ','{S[select fzzje from t_tccit_invest_profit_sum where fitemtype=''6010404'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114392506126263296;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114392506126263296,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#qsndynbe',' ','A106000企业所得税弥补亏损明细表#7#6.弥补亏损企业类型','4','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and flosstype=''jnsd'']}>0)       {S[select fnumber  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and flosstype=''jnsd'']}    #else  {S[SELECT fqsndynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1113726081157876736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113726081157876736,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#5#qwnd',' ','A105040专项用途财政性资金纳税调整明细#5#1.前五年度','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','select fqsind from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''6'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932848;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932848,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#12#tsnstzje','{Q[12#5.特殊性税务处理递延纳税税收金额]}-{Q[12#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#12#6.特殊性税务处理递延纳税纳税调整金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#12#tsssje]}-{Q[tccit_qysds_a105100#12#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095551755606867968;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095551755606867968,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#nhxedklxsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#22.小额贷款公司取得的农户小额贷款利息收入在计算应纳税所得额时减计收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','nhxedklxsr',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''2.4'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320860;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320860,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#31#zzje','{Q[32.（一）涉农和中小企业贷款损失准备金#1.账载金额]}+{Q[33.（二）贷款损失准备金#1.账载金额]}+{Q[34.（三）其他#1.账载金额]}','A105120特殊行业准备金及纳税调整明细表#31.四、金融企业#1.账载金额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a105120','zzje','1',' ','{Q[tccit_qysds_a105120#32#zzje]}+{Q[tccit_qysds_a105120#33#zzje]}+{Q[tccit_qysds_a105120#34#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113699834419950592;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113699834419950592,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#nxbn',' ','A106000企业所得税弥补亏损明细表#5#11.可弥补年限8年','1','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','nxbn',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-6 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-6 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}  #else #if({S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}>0 )    0-{S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']} #else  {S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1069469345379314688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069469345379314688,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#22#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#22#7.资产损失准备金核销金额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''701030802'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133313769599117312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133313769599117312,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#12#fpse',' ','A109010分支机构信息#12#7.分配所得税额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#12#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932962;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932962,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107041#tabname',' ','企业所得税年度纳税申报表填报表#A107041高新技术企业优惠情况及明细表#表单名称','1','A107041','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A107041'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1114450785116095488;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114450785116095488,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#8#syje',' ','A000000主要股东及分红情况#8#4.当年（决议日）分配的股息、红利等权益性投资收益金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','syje',' ',' ','{S[select h.fcurryeardividend from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=8 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932146;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932146,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#fhbxzcjhcb',' ','A05010视同销售纳税调整明细#1#12.非货币性资产交换视同销售成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','fhbxzcjhcb',' ',' ','{S[select sum(fcost) from t_tccit_thinkofsell_sum where FITEMTYPE=''50108'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932616;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932616,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#3#lrze','{Q[3#10.营业利润]}+{Q[3#11.营业外收入]}-{Q[3#12.营业外支出]}','A100000年度纳税申报表#3#13.利润总额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a100000','lrze','1',' ','{Q[tccit_qysds_a100000#3#yylr]}+{Q[tccit_qysds_a100000#3#yywsr]}-{Q[tccit_qysds_a100000#3#yywzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320918;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320918,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#23#yfhdfyje','{Q[24#研发活动费用金额]}+{Q[25#研发活动费用金额]}+{Q[26#研发活动费用金额]}+{Q[27#研发活动费用金额]}','A107012研发费用加计扣除优惠明细#23#研发活动费用金额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','{Q[tccit_qysds_a107012_mx#24#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#25#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#26#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#27#yfhdfyje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095579697842012160;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095579697842012160,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#btzqsqrjeljwfplryygj',' ','A107011居民企业之间权益性投资收益优惠#5#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeljwfplryygj',' ',' ','{S[select fljwfplr  from t_tccit_dg_b105036_sum where ftranstype=''被投资企业清算'' and fitemno=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932292;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932292,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#7#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#7#2.账载金额本年折旧摊销额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020106'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321235;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321235,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#kqkcxm','{Q[账载金额#26.跨期扣除项目]}-{Q[税收金额#26.跨期扣除项目]}<())','A105000纳税调整项目明细#调减金额#26.跨期扣除项目','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','kqkcxm','1',' ','if({Q[tccit_qysds_a105000#1#kqkcxm]}-{Q[tccit_qysds_a105000#2#kqkcxm]}<0,0-({Q[tccit_qysds_a105000#1#kqkcxm]}-{Q[tccit_qysds_a105000#2#kqkcxm]}),0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320643;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320643,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#6#jwsqsd','{Q[6#9.境外税后所得_小计]}+{Q[6#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[6#11.境外所得可抵免的所得税额_间接负担的所得税额]}','A108010境外所得纳税调整后所得明细表#6#14.境外税前所得','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsqsd','1',' ','{Q[tccit_qysds_a108010#6#jwshxj]}+{Q[tccit_qysds_a108010#6#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#6#jwsdkdmjjfd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320676;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320676,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#9#qwnxj','{Q[9#2.前五年境外所得已缴所得税未抵免余额_前五年]}+{Q[9#3.前五年境外所得已缴所得税未抵免余额_前四年]}+{Q[9#4.前五年境外所得已缴所得税未抵免余额_前三年]}+{Q[9#5.前五年境外所得已缴所得税未抵免余额_前二年]}+{Q[9#6.前五年境外所得已缴所得税未抵免余额_前一年]}','A108030跨年度结转抵免境外所得税明细表#9#7.前五年境外所得已缴所得税未抵免余额_小计','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108030','qwnxj','1',' ','{Q[tccit_qysds_a108030#9#qwnqwn]}+{Q[tccit_qysds_a108030#9#qwnqsin]}+{Q[tccit_qysds_a108030#9#qwnqsann]}+{Q[tccit_qysds_a108030#9#qwnqln]}+{Q[tccit_qysds_a108030#9#qwnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113666462306091008;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113666462306091008,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#knbkssd',' ','A106000企业所得税弥补亏损明细表#2#2.当年境内所得额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','knbkssd',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']}>0)     {S[select FLOSSMONEY from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']} #else     {S[SELECT fknbkssd FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']} #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1112224261235277824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112224261235277824,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#29#bnd',' ','A107041高新技术企业优惠情况及明细表#29#1.本年度','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd',' ',' ','{S[select fcurryear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''15'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321498;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321498,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#8#jwynssde','if({Q[8#3.境外所得纳税调整后所得]}-{Q[8#4.弥补境外以前年度亏损]}>=)','A108000境外所得税收抵免明细表#8#5.境外应纳税所得额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwynssde','1',' ','if({Q[tccit_qysds_a108000#8#jwstzhsd]}-{Q[tccit_qysds_a108000#8#mbjwyqnks]}>=0,{Q[tccit_qysds_a108000#8#jwstzhsd]}-{Q[tccit_qysds_a108000#8#mbjwyqnks]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1139985347409638400;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1139985347409638400,{ts'2021-04-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#34#hj',' ','A107040减免所得税优惠明细表#34#1.金额','1','34','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ','if({Q[tccit_qysds_a107040#34#jzmzlx]}=1,{S[select famountorratio from t_tccit_setz_jmyhhz where forgid=''#orgid'' and FSKSSQQ = ''#startDate'' and FSKSSQZ=''#endDate'' and fitemtype = ''6.4'']},{S[select famountorratio from t_tccit_setz_jmyhhz where forgid=''#orgid'' and FSKSSQQ = ''#startDate'' and FSKSSQZ=''#endDate'' and fitemtype = ''6.5'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320665;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320665,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108020#8#jzhndmbfsjkse','{Q[8#2.非实际亏损额的弥补以前年度结转尚未弥补的非实际亏损额]}+{Q[8#3.非实际亏损额的弥补本年发生的非实际亏损额]}-{Q[8#4.非实际亏损额的弥补本年弥补的以前年度非实际亏损额]}','A108020境外分支机构弥补亏损明细表#8#5.非实际亏损额的弥补结转以后年度弥补的非实际亏损额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108020','jzhndmbfsjkse','1',' ','{Q[tccit_qysds_a108020#8#yqndjzwmbfsjkse]}+{Q[tccit_qysds_a108020#8#bnfsfsjkse]}-{Q[tccit_qysds_a108020#8#bnmbyqfsjkse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113132802192628736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113132802192628736,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#nd',' ','A106000企业所得税弥补亏损明细表#3#1.年度','1','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','nd',' ',' ','{C[#year]}-8'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320849;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320849,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#29#nstzje','{Q[29.分支机构留存备查的资产损失#1.资产损失的账载金额]}-{Q[29.分支机构留存备查的资产损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#29.分支机构留存备查的资产损失#6.纳税调整金额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#29#zzje]}-{Q[tccit_qysds_a105090#29#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114451796128251904;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114451796128251904,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#sjnbe',' ','A106000企业所得税弥补亏损明细表#7#10.使用境外所得弥补','1','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','sjnbe',' ',' ','{S[select sum(fsyjwsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320733;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320733,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#28#zzjebnzj','{Q[29.（一）已足额提取折旧的固定资产的改建支出#2.账载金额本年折旧摊销额]}+{Q[30.（二）租入固定资产的改建支出#2.账载金额本年折旧摊销额]}+{Q[31.（三）固定资产的大修理支出#2.账载金额本年折旧摊销额]}+{Q[32.（四）开办费#2.账载金额本年折旧摊销额]}+{Q[33.（五）其他#2.账载金额本年折旧摊销额]}','A105080资产折旧摊销及纳税调整明细#28.四、长期待摊费用#2.账载金额本年折旧摊销额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj','1',' ','{Q[tccit_qysds_a105080#29#zzjebnzj]}+{Q[tccit_qysds_a105080#30#zzjebnzj]}+{Q[tccit_qysds_a105080#31#zzjebnzj]}+{Q[tccit_qysds_a105080#32#zzjebnzj]}+{Q[tccit_qysds_a105080#33#zzjebnzj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321296;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321296,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#ggxcf',' ','A104000期间费用明细表#管理费用#5.广告费和业务宣传费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','ggxcf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=5 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932841;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932841,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#5#tsnstzje','{Q[5#5.特殊性税务处理递延纳税税收金额]}-{Q[5#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#5#6.特殊性税务处理递延纳税纳税调整金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#5#tsssje]}-{Q[tccit_qysds_a105100#5#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078889453746960384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078889453746960384,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#40#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#40#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','40','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020612'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112314677980870656;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112314677980870656,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#10#snmsszbjye',' ','A105120贷款损失准备金及纳税调整明细表#10#3.上年末贷款损失准备金余额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmsszbjye',' ',' ','{Q[tccit_qysds_a105120_dk#1#snmsszbjye]} + {Q[tccit_qysds_a105120_dk#8#snmsszbjye]}+ {Q[tccit_qysds_a105120_dk#9#snmsszbjye]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069457285606030336;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069457285606030336,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#7#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#7#7.资产损失准备金核销金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype in (''701030401'',''701030402'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071714410877457408;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071714410877457408,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#9#msxmsde',' ','A107020所得减免优惠明细表#9#9.免税项目所得额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','{Q[tccit_qysds_a107020#7#msxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133310971285317632;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133310971285317632,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#7#fpbl',' ','A109010分支机构信息#7#6.分配比例','1','7','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#7#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#7#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#7#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932782;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932782,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#hj','{Q[实际发生额#1.工资薪金支出]}+{Q[实际发生额#3.职工福利费支出]}+{Q[实际发生额#4.职工教育经费支出]}+{Q[实际发生额#7.工会经费支出]}+{Q[实际发生额#8.各类基本社会保障性缴款]}+{Q[实际发生额#9.住房公积金]}+{Q[实际发生额#10.补充养老保险]}+{Q[实际发生额#11.补充医疗保险]}+{Q[实际发生额#12.其他]}','A105050职工薪酬支出明细#实际发生额#13.合计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','hj','1',' ','{Q[tccit_qysds_a105050#2#gzxjzc]}+{Q[tccit_qysds_a105050#2#zgflfzc]}+{Q[tccit_qysds_a105050#2#zgjyjfzc]}+{Q[tccit_qysds_a105050#2#ghjfzc]}+{Q[tccit_qysds_a105050#2#bzxjk]}+{Q[tccit_qysds_a105050#2#zfgjj]}+{Q[tccit_qysds_a105050#2#bcylbx]}+{Q[tccit_qysds_a105050#2#bcyiliaobx]}+{Q[tccit_qysds_a105050#2#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069458087523445760;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069458087523445760,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#10#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#10#7.资产损失准备金核销金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''701030501'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112293236908537856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112293236908537856,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#1#snmdkye',' ','A105120贷款损失准备金及纳税调整明细表#1#1.上年末贷款资产余额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkye',' ',' ','{Q[tccit_qysds_a105120_dk#2#snmdkye]}  +  {Q[tccit_qysds_a105120_dk#3#snmdkye]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1071735648274387968;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071735648274387968,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#22#nstze',' ','A107020所得减免优惠明细表#22#8.纳税调整额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze',' ',' ','{S[select   fnstz from t_tccit_getredu_sum where FREDUCENAME in (1119510373058271232,1119510373058271233) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462497;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462497,{ts'2021-02-04  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#1#nstzje','{Q[非公益性捐赠#1.账载金额]}','A105070捐赠支出及纳税调整明细#非公益性捐赠#5.纳税调整金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105070','nstzje','1',' ','{Q[tccit_qysds_a105070#1#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114445635475816448;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114445635475816448,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#hj',' ','A106000企业所得税弥补亏损明细表#10#9.使用境内所得弥补','1','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','hj',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fsyjnsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}>0) {S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}  #else 0-{S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1114451582050975744;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114451582050975744,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#sjnbe',' ','A106000企业所得税弥补亏损明细表#4#10.使用境外所得弥补','1','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','sjnbe',' ',' ','{S[select sum(fsyjwsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1114454146095997952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114454146095997952,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#kjz',' ','A106000企业所得税弥补亏损明细表#1#11.当年可结转以后年度弥补的亏损额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','kjz',' ',' ','0'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321176;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321176,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#yywzcqt',' ','A102010一般企业成本支出明细#金额#26.其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','yywzcqt','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=26 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931986;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931986,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#fxyxzlxzc','if({Q[账载金额#发行永续债利息支出]}-{Q[税收金额#发行永续债利息支出]}<0,0-)','A105000纳税调整项目明细#4#发行永续债利息支出','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','fxyxzlxzc',' ',' ','if({Q[tccit_qysds_a105000#1#fxyxzlxzc]}-{Q[tccit_qysds_a105000#2#fxyxzlxzc]}<0,0-{Q[tccit_qysds_a105000#1#fxyxzlxzc]}-{Q[tccit_qysds_a105000#2#fxyxzlxzc]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320903;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320903,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#38#nstzje','{Q[38.（三）其他#1.账载金额]}-{Q[38.（三）其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#38.三其他#3.纳税调整金额','1','38','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#38#zzje]}-{Q[tccit_qysds_a105120#38#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320671;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320671,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#4#qwnxj','{Q[4#2.前五年境外所得已缴所得税未抵免余额_前五年]}+{Q[4#3.前五年境外所得已缴所得税未抵免余额_前四年]}+{Q[4#4.前五年境外所得已缴所得税未抵免余额_前三年]}+{Q[4#5.前五年境外所得已缴所得税未抵免余额_前二年]}+{Q[4#6.前五年境外所得已缴所得税未抵免余额_前一年]}','A108030跨年度结转抵免境外所得税明细表#4#7.前五年境外所得已缴所得税未抵免余额_小计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108030','qwnxj','1',' ','{Q[tccit_qysds_a108030#4#qwnqwn]}+{Q[tccit_qysds_a108030#4#qwnqsin]}+{Q[tccit_qysds_a108030#4#qwnqsann]}+{Q[tccit_qysds_a108030#4#qwnqln]}+{Q[tccit_qysds_a108030#4#qwnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071709200671086592;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071709200671086592,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#3#jbxmsde',' ','A107020所得减免优惠明细表#3#10.减半项目所得额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','{Q[tccit_qysds_a107020#1#jbxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321180;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321180,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#tzsy','if({Q[纳税调整金额#10.合计]}<0,0-{Q[纳税调整金额#10.合计]},0)','A105000纳税调整项目明细#调减金额#4.投资收益','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','tzsy','1',' ','if({Q[tccit_qysds_a105030#11#hj]}<0,0-{Q[tccit_qysds_a105030#11#hj]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1135410196194321408;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135410196194321408,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#44#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#44#研发活动费用金额','1','44','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=44]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932440;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932440,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#19#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#19#5.税收金额-税收折旧、摊销额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320816;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320816,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#25#ssje','{Q[25.十、通过各种交易场所、市场买卖债券、股票、期货、基金以及金融衍生产品等发生的损失#4.资产计税基础]}-{Q[25.十、通过各种交易场所、市场买卖债券、股票、期货、基金以及金融衍生产品等发生的损失#2.资产处置收入]}-{Q[25.十、通过各种交易场所、市场买卖债券、股票、期货、基金以及金融衍生产品等发生的损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#25.十、通过各种交易场所、市场买卖债券、股票、期货、基金以及金融衍生产品等发生的损失#5.资产损失的税收金额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#25#zcjsjc]}-{Q[tccit_qysds_a105090#25#zcczsr]}-{Q[tccit_qysds_a105090#25#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932537;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932537,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#18#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#18#4.资产计税基础','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype in (''70103080102'',''70103080103'',''70103080104'',''70103080105'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932347;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932347,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#10#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#10#5.税收金额-税收折旧、摊销额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020604'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113670831361438720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113670831361438720,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#knbkssd',' ','A106000企业所得税弥补亏损明细表#10#2.当年境内所得额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','knbkssd',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']}>0)     {S[select FLOSSMONEY from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']} #else     {S[SELECT fknbkssd FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']} #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1133305526474621952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133305526474621952,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#1#fzjgsrze',' ','A109010分支机构信息#1#3.营业收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''1'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321220;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321220,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#lxzc','{Q[账载金额#18.利息支出]}if({Q[账载金额#18.利息支出]}-{Q[税收金额#18.利息支出]}>=)','A105000纳税调整项目明细#调增金额#18.利息支出','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','lxzc','1',' ','if({Q[tccit_qysds_a105000#1#lxzc]}-{Q[tccit_qysds_a105000#2#lxzc]}>=0,{Q[tccit_qysds_a105000#1#lxzc]}-{Q[tccit_qysds_a105000#2#lxzc]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1135408636986975232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135408636986975232,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#31#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#31#研发活动费用金额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=31]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932229;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932229,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#2#qt',' ','A105030投资收益纳税调整明细#2#9.其他','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105030','qt',' ',' ','{S[select ftaxincome from t_tccit_invest_profit_sum where fitemtype=''6010409'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114308044881135616;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114308044881135616,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#xzcydjwsddmfs',' ','A000000企业所得税年度纳税申报基础信息表#1#203选择采用的境外所得抵免方式','4','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','xzcydjwsddmfs',' ',' ','{S[select a.fdeductway from t_tccit_policy c left join t_tccit_policy_a a on c.fid=a.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932856,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#4#nstzje','{Q[4#3.一般性税务处理纳税调整金额]}+{Q[4#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#4#7.纳税调整金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#4#ybnstzje]}+{Q[tccit_qysds_a105100#4#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321140;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321140,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#yywsrqt',' ','A101020金融企业收入明细#金额#42.营业外收其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','yywsrqt','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=42 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113709201055757312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113709201055757312,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#qsndyjbe',' ','A106000企业所得税弥补亏损明细表#11#5.可弥补年限10年','1','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndyjbe',' ',' ','{S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1113756300841682944;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113756300841682944,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#15#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#15#4.特殊性税务处理递延纳税账载金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010309'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931984;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931984,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#yjhsxfzc','if({Q[保险企业手续费及佣金支出#12.本年支出纳税调整金额]}<{Q[保险企业手续费及佣金支出#12.本年支出纳税调整金额]},)','A105000纳税调整项目明细#4#23.佣金和手续费支出','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','yjhsxfzc',' ',' ','if({Q[tccit_qysds_a105060#2#bnggfhywxcfzcnstzje]}<0,0-{Q[tccit_qysds_a105060#2#bnggfhywxcfzcnstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462509;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462509,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#8#ssje','{Q[全额扣除的公益性金额#4.税收金额]}+{Q[限额扣除的公益性捐赠#4.税收金额]}','A105070捐赠支出及纳税调整明细#合计#4.税收金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105070','ssje','1',' ','{Q[tccit_qysds_a105070#2#ssje]}+{Q[tccit_qysds_a105070#3#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932933;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932933,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#10#hjje','{Q[10#2.投资于未上市中小高新技术企业]}+{Q[10#3.投资于种子期、初创期科技型企业]}','A107030抵扣应纳税所得额明细表#10#1.合计金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','{Q[tccit_qysds_a107030#10#zxgxjsqy]}+{Q[tccit_qysds_a107030#10#kjxqy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932855;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932855,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#3#nstzje','{Q[3#3.一般性税务处理纳税调整金额]}+{Q[3#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#3#7.纳税调整金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#3#ybnstzje]}+{Q[tccit_qysds_a105100#3#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321378;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321378,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#bcyiliaobx',' ','A105050职工薪酬支出明细#账载金额#11.补充医疗保险','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','bcyiliaobx','1',' ','{S[select fzzje from t_tccit_deduct_summary_dg where FITEMTYPE=''yiliao'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321383;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321383,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#bzxjk',' ','A105050职工薪酬支出明细#实际发生额#8.各类基本社会保障性缴款','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','bzxjk','1',' ','{S[SELECT fsjje FROM t_tccit_salary_summary_dg WHERE fitemtype=''insurance'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114448361169093632;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114448361169093632,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#4#tzbl',' ','A000000主要股东及分红情况#4#3.投资比例（%）','1','4','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','tzbl',' ',' ','{S[select h.finvestrate from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=4 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932578;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932578,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A102010#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A102010一般企业成本支出明细表#表单名称','3','A102010','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1118813248704393216;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118813248704393216,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#10#je',' ','A107042软件、集成电路企业优惠情况及明细表#10#2.金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107042','je',' ',' ','{S[select t.fjesl from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''qysrze'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932732;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932732,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#8#jyxjrfz','{Q[处置收益会计确认处置收入#5.交易性金融负债]}-{Q[处置收益账面价值#5.交易性金融负债]}','A105030投资收益纳税调整明细#处置收益会计确认所得或损失#5.交易性金融负债','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrfz','1',' ','{Q[tccit_qysds_a105030#4#jyxjrfz]}-{Q[tccit_qysds_a105030#6#jyxjrfz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321272;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321272,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#bzf',' ','A104000期间费用明细表#销售费用#17.包装费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','bzf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=17 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932667;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932667,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#zfbzdysr','{Q[合同金额#10.与收益相关的政府补助]}+{Q[合同金额#11.与资产相关的政府补助]}+{Q[合同金额#12.其他]}','A105020未按权责发生确实收入调整明细#合同金额#9.政府补助递延收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','zfbzdysr','1',' ','{Q[tccit_qysds_a105020#1#ysyxgdzfbz]}+{Q[tccit_qysds_a105020#1#yzcxgdzfbz]}+{Q[tccit_qysds_a105020#1#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113019782988502016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113019782988502016,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#4#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#4#2.一般性税务处理税收金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010302'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112411701266921472;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112411701266921472,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#xedkzbj',' ','A105000纳税调整项目明细#3#39.7金融企业、小额贷款公司准备金','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','xedkzbj',' ',' ','if({Q[tccit_qysds_a105120_dk#10#nstzje]} > 0, {Q[tccit_qysds_a105120_dk#10#nstzje]}, 0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1112231984937041920;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112231984937041920,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#28#qend',' ','A107041高新技术企业优惠情况及明细表#28#3.前二年度','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend',' ',' ','{S[select fpretwoyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''14'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932671;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932671,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#zfbzdysr','{Q[累计税收金额#10.与收益相关的政府补助]}+{Q[累计税收金额#11.与资产相关的政府补助]}+{Q[累计税收金额#12.其他]}','A105020未按权责发生确实收入调整明细#累计税收金额#9.政府补助递延收入','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','zfbzdysr','1',' ','{Q[tccit_qysds_a105020#5#ysyxgdzfbz]}+{Q[tccit_qysds_a105020#5#yzcxgdzfbz]}+{Q[tccit_qysds_a105020#5#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320670;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320670,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#3#qwnxj','{Q[3#2.前五年境外所得已缴所得税未抵免余额_前五年]}+{Q[3#3.前五年境外所得已缴所得税未抵免余额_前四年]}+{Q[3#4.前五年境外所得已缴所得税未抵免余额_前三年]}+{Q[3#5.前五年境外所得已缴所得税未抵免余额_前二年]}+{Q[3#6.前五年境外所得已缴所得税未抵免余额_前一年]}','A108030跨年度结转抵免境外所得税明细表#3#7.前五年境外所得已缴所得税未抵免余额_小计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108030','qwnxj','1',' ','{Q[tccit_qysds_a108030#3#qwnqwn]}+{Q[tccit_qysds_a108030#3#qwnqsin]}+{Q[tccit_qysds_a108030#3#qwnqsann]}+{Q[tccit_qysds_a108030#3#qwnqln]}+{Q[tccit_qysds_a108030#3#qwnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114442979340190720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114442979340190720,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#4#zjlx',' ','A000000主要股东及分红情况#4#2.证件种类','1','4','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx',' ',' ','{S[select h.ffidtype from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=4 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932912;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932912,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#chjstzqrjeqdcgsh','{Q[6#11.撤回或减少投资确认金额_从被投资企业撤回或减少投资取得的资产]}-{Q[6#13.撤回或减少投资确认金额_收回初始投资成本]}','A107011居民企业之间权益性投资收益优惠#6#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeqdcgsh','1',' ','{Q[tccit_qysds_a107011#6#chjstzqrjezc]}-{Q[tccit_qysds_a107011#6#chjstzqrjeshcstzcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114448856096965632;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114448856096965632,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#8#tzbl',' ','A000000主要股东及分红情况#8#3.投资比例（%）','1','8','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','tzbl',' ',' ','{S[select h.finvestrate from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=8 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932672;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932672,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#hj','{Q[合同金额#1.跨期收取的租金、利息、特许权使用费收入]}+{Q[合同金额#5.分期确认收入]}+{Q[合同金额#9.政府补助递延收入]}+{Q[合同金额#13.其他未按权责发生制确认收入]}','A105020未按权责发生确实收入调整明细#合同金额#14.合计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','hj','1',' ','{Q[tccit_qysds_a105020#1#kqsqdzjlxtxq]}+{Q[tccit_qysds_a105020#1#fqqrsr]}+{Q[tccit_qysds_a105020#1#zfbzdysr]}+{Q[tccit_qysds_a105020#1#qtwaqzfszqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133299226848241664;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133299226848241664,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#3#fzjgmc',' ','A109010分支机构信息#3#2.分支机构名称','4','3','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''3'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932860;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932860,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#8#nstzje','{Q[8#3.一般性税务处理纳税调整金额]}+{Q[8#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#8#7.纳税调整金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#8#ybnstzje]}+{Q[tccit_qysds_a105100#8#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071732297537197056;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071732297537197056,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#18#msxmsde',' ','A107020所得减免优惠明细表#18#9.免税项目所得额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','{Q[tccit_qysds_a107020#16#msxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462505;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462505,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#3#kjzyhndkcdjze','{Q[前二年度#7.可结转以后年度扣除的捐赠额]}+{Q[前一年度#7.可结转以后年度扣除的捐赠额]}+{Q[本年#7.可结转以后年度扣除的捐赠额]}','A105070捐赠支出及纳税调整明细#限额扣除的公益性捐赠#7.可结转以后年度扣除的捐赠额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105070','kjzyhndkcdjze','1',' ','{Q[tccit_qysds_a105070#5#kjzyhndkcdjze]}+{Q[tccit_qysds_a105070#6#kjzyhndkcdjze]}+{Q[tccit_qysds_a105070#7#kjzyhndkcdjze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095565068487147520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095565068487147520,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#tzbl',' ','A107011居民企业之间权益性投资收益优惠#5#5.投资比例','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzbl',' ',' ','{S[select fnumorrate  from t_tccit_dg_b105036_sum where fitemno=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133324496330270720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133324496330270720,{ts'2021-06-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#zjgyftsdse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#7.总机构已分摊所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','zjgyftsdse',' ',' ','if({S[SELECT f.famountorratio FROM t_tccit_seft_hznsqy_sum f WHERE f.forgid = ''#orgid'' AND f.fskssqq = ''#startDate'' AND f.fskssqz = ''#endDate'' AND f.fitemtype=''2b'' ]}>0,{S[SELECT f.famountorratio FROM t_tccit_seft_hznsqy_sum f WHERE f.forgid = ''#orgid'' AND f.fskssqq = ''#startDate'' AND f.fskssqz = ''#endDate'' AND f.fitemtype=''2b'' ]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1113721601616037888;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113721601616037888,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#1#bn',' ','A105040专项用途财政性资金纳税调整明细#1#6.本年','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105040','bn',' ',' ','{C[#declareyear]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133310290952431616;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133310290952431616,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#3#fpbl',' ','A109010分支机构信息#3#6.分配比例','1','3','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#3#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#3#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#3#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1078889555962148864;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078889555962148864,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#41#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#41#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','41','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020613'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320629;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320629,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#2#jwsdkdmxj','{Q[2#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[2#11.境外所得可抵免的所得税额_间接负担的所得税额]}+{Q[2#12.境外所得可抵免的所得税额_享受税收饶让抵免税额]}','A108010境外所得纳税调整后所得明细表#2#13.境外所得可抵免的所得税额_小计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdkdmxj','1',' ','{Q[tccit_qysds_a108010#2#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#2#jwsdkdmjjfd]}+{Q[tccit_qysds_a108010#2#jwsdkdmxssrrdm]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112233233648452608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112233233648452608,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#23#hj','{Q[23.其他费用#1.本年度]}','A107041高新技术企业优惠情况及明细表#23#4.合计','1','23','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{Q[tccit_qysds_a107041#23#bnd]}+{Q[tccit_qysds_a107041#23#qynd]}+{Q[tccit_qysds_a107041#23#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118810372183477248;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118810372183477248,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#2#je',' ','A107042软件、集成电路企业优惠情况及明细表#2#2.金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107042','je',' ',' ','{S[select t.fjesl from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''jydxzkysxlzgrs'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320805;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320805,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#14#ssje','{Q[14.七、生产性生物资产损失#4.资产计税基础]}-{Q[14.七、生产性生物资产损失#2.资产处置收入]}-{Q[14.七、生产性生物资产损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#14.七、生产性生物资产损失#5.资产损失的税收金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#14#zcjsjc]}-{Q[tccit_qysds_a105090#14#zcczsr]}-{Q[tccit_qysds_a105090#14#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321423;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321423,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#43#zzje','{Q[1.一、保险公司#1.账载金额]}+{Q[21.二、证券行业（22+23+24+25）#1.账载金额]}+{Q[26.三、期货行业#1.账载金额]}+{Q[31.四、金融企业#1.账载金额]}+{Q[35.五、中小企业融资（信用）担保机构#1.账载金额]}++{Q[39.六、小额贷款公司(40+41)#1.账载金额]}+{Q[42.七、其他#1.账载金额]}','A105120特殊行业准备金及纳税调整明细表#43.合计#1.账载金额','1','43','1066581598406760448','qysdsnb','tccit_qysds_a105120','zzje','1',' ','{Q[tccit_qysds_a105120#1#zzje]}+{Q[tccit_qysds_a105120#21#zzje]}+{Q[tccit_qysds_a105120#26#zzje]}+{Q[tccit_qysds_a105120#31#zzje]}+{Q[tccit_qysds_a105120#35#zzje]}+{Q[tccit_qysds_a105120#39#zzje]}+{Q[tccit_qysds_a105120#42#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932924;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932924,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#3#kjxqy','{Q[1#3.投资于种子期、初创期科技型企业]}*{Q[2#3.投资于种子期、初创期科技型企业]}','A107030抵扣应纳税所得额明细表#3#3.投资于种子期、初创期科技型企业','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107030','kjxqy','1',' ','{S[select  fzzqcurrent  from t_tccit_dg_a100000_7_sum where fitemno=''11'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320663;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320663,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108020#6#jzhndmbfsjkse','{Q[6#2.非实际亏损额的弥补以前年度结转尚未弥补的非实际亏损额]}+{Q[6#3.非实际亏损额的弥补本年发生的非实际亏损额]}-{Q[6#4.非实际亏损额的弥补本年弥补的以前年度非实际亏损额]}','A108020境外分支机构弥补亏损明细表#6#5.非实际亏损额的弥补结转以后年度弥补的非实际亏损额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108020','jzhndmbfsjkse','1',' ','{Q[tccit_qysds_a108020#6#yqndjzwmbfsjkse]}+{Q[tccit_qysds_a108020#6#bnfsfsjkse]}-{Q[tccit_qysds_a108020#6#bnmbyqfsjkse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321389;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321389,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#3#ghjfzc',' ','A105050职工薪酬支出明细#税收规定扣除率#7.工会经费支出','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105050','ghjfzc','1',' ','{S[select frate from t_tccit_deduct_summary_dg where FITEMTYPE=''gonghui'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114455426029584384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114455426029584384,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#9#gj',' ','A000000主要股东及分红情况#9#5.国籍','4','9','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gj',' ',' ','{C[#guoji_9]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932829;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932829,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#9#ybnstzje','{Q[9#2.一般性税务处理税收金额]}-{Q[9#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#9#3.一般性税务处理纳税调整金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#9#ybssje]}-{Q[tccit_qysds_a105100#9#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112234068616937472;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112234068616937472,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#29#hj','{Q[29.销售（营业）收入#1.本年度]}','A107041高新技术企业优惠情况及明细表#29#4.合计','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{Q[tccit_qysds_a107041#29#bnd]}+{Q[tccit_qysds_a107041#29#qynd]}+{Q[tccit_qysds_a107041#29#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320682;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320682,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#5#bnxj','{Q[5#8.本年实际抵免以前年度未抵免的境外已缴所得税额_前五年]}+{Q[5#9.本年实际抵免以前年度未抵免的境外已缴所得税额_前四年]}+{Q[5#10.本年实际抵免以前年度未抵免的境外已缴所得税额_前三年]}+{Q[5#11.本年实际抵免以前年度未抵免的境外已缴所得税额_前二年]}+{Q[5#12.本年实际抵免以前年度未抵免的境外已缴所得税额_前一年]}','A108030跨年度结转抵免境外所得税明细表#5#13.本年实际抵免以前年度未抵免的境外已缴所得税额_小计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108030','bnxj','1',' ','{Q[tccit_qysds_a108030#5#bnqwn]}+{Q[tccit_qysds_a108030#5#bnqsin]}+{Q[tccit_qysds_a108030#5#bnqsann]}+{Q[tccit_qysds_a108030#5#bnqln]}+{Q[tccit_qysds_a108030#5#bnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932308;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932308,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#5#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#5#5.税收金额-税收折旧、摊销额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020104'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321322;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321322,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#4#ysccf',' ','A104000期间费用明细表#管理费用境外支付#15.运输、仓储费','1','4','1066581598406760448','qysdsnb','tccit_qysds_a104000','ysccf','1',' ','{S[select fmanageoutside from t_tccit_profit_fees_sum where fitemno=15 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114451488224395264;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114451488224395264,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#sjnbe',' ','A106000企业所得税弥补亏损明细表#3#10.使用境外所得弥补','1','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','sjnbe',' ',' ','{S[select sum(fsyjwsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321353;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321353,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#jyzc',' ','A103000事业单位支出明细#金额#22.经营支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','jyzc','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=22 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118813944069540864;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118813944069540864,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#23#je',' ','A107042软件、集成电路企业优惠情况及明细表#23#2.金额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a107042','je',' ',' ','{S[select t.fjesl from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''qtzb1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932379;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932379,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#31#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#31#1.账载金额资产原值','1','31','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020403'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932478;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932478,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#2#zzje',' ','A105090资产损失税前扣除及纳税调整明细#2#1.资产损失的账载金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ',' {S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype in (''701030201'',''701030202'',''701030203'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078902311813691392;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078902311813691392,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#38#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#38#8.税收金额累计折旧、摊销额','1','38','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje) from t_tccit_zczjtx_summary where FITEMTYPE=''701020605'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932186;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932186,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#txqsyf',' ','A105020未按权责发生确实收入调整明细#2#4.特许权使用费','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','txqsyf',' ',' ','{S[select fzzjecurrent from t_tccit_right_income_sum where FITEMTYPE=''002_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112323662649800704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112323662649800704,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#9#dksszbjye',' ','A105120贷款损失准备金及纳税调整明细表#9#9.截至上年末已在税前扣除的贷款损失准备金的余额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','dksszbjye',' ',' ','{S[select fdksszbjye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''9'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932582;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932582,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105000#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105000纳税调整项目明细表#表单名称','3','A105000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1077607079558037504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077607079558037504,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#40#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#40#2.账载金额本年折旧摊销额','1','40','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020612'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320986;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320986,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#15#qynd','{Q[16.内部研究开发投入#2.前一年度]}+{Q[25.委托外部研发费用#2.前一年度]}','A107041高新技术企业优惠情况及明细表#15.归集的高新研发费用金额#2.前一年度','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd','1',' ','{Q[tccit_qysds_a107041#16#qynd]}+{Q[tccit_qysds_a107041#25#qynd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932921;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932921,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#8#hj','{Q[1#17.合计]}+{Q[2#17.合计]}+{Q[3#17.合计]}+{Q[4#17.合计]}+{Q[5#17.合计]}+{Q[6#17.合计]}+{Q[7#17.合计]}','A107011居民企业之间权益性投资收益优惠#8#17.合计','1','8','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj','1',' ','{Q[tccit_qysds_a107011#1#hj]}+{Q[tccit_qysds_a107011#2#hj]}+{Q[tccit_qysds_a107011#3#hj]}+{Q[tccit_qysds_a107011#4#hj]}+{Q[tccit_qysds_a107011#5#hj]}+{Q[tccit_qysds_a107011#6#hj]}+{Q[tccit_qysds_a107011#7#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932244;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932244,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#ztqt',' ','A105000纳税调整项目明细#4#44.其他','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','ztqt',' ',' ','if({S[select fnstzje from t_tccit_other_other_sum  where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}<0, -1*{S[select fnstzje  from t_tccit_other_other_sum where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1069572292423782400;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069572292423782400,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#1#xgsf',' ','A107020所得减免优惠明细表#1#6.相关税费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf',' ',' ','{S[select frelaxtax from t_tccit_getredu_sum where  FREDUCENAME in (1064403692599497729,1064416857580229632,1064416857580229633,1064416857580229634,1064416857580229636,1064416857580229637,1064416857580229638,1064416857580229639,1064506234591581184,1064506234591581185,1064506234591581186)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932658;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932658,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#kqsqdzjlxtxq','{Q[本年账载金额#2.租金]}+{Q[本年账载金额#3.利息]}+{Q[本年账载金额#4.特许权使用费]}','A105020未按权责发生确实收入调整明细#本年账载金额#1.跨期收取的租金、利息、特许权使用费收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','kqsqdzjlxtxq','1',' ','{Q[tccit_qysds_a105020#2#zj]}+{Q[tccit_qysds_a105020#2#lx]}+{Q[tccit_qysds_a105020#2#txqsyf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133309660103820288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133309660103820288,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#14#fzjgzcze',' ','A109010分支机构信息#14#5.资产总额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''14'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932759;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932759,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#11#cqgqtz','{Q[持有收益纳税调整金额#6.长期股权投资]}+{Q[处置收益纳税调整金额#6.长期股权投资]}','A105030投资收益纳税调整明细#纳税调整金额#6.长期股权投资','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqgqtz','1',' ','{Q[tccit_qysds_a105030#3#cqgqtz]}+{Q[tccit_qysds_a105030#10#cqgqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932831;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932831,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#11#ybnstzje','{Q[11#2.一般性税务处理税收金额]}-{Q[11#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#11#3.一般性税务处理纳税调整金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#11#ybssje]}-{Q[tccit_qysds_a105100#11#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321232,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#yjhsxfzc','{Q[保险企业手续费及佣金支出#12.本年支出纳税调整金额]}','A105000纳税调整项目明细#调增金额#23.佣金和手续费支出','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','yjhsxfzc','1',' ','{S[select fnstzje from t_tccit_non_insurance_sum where fitemtype=''count'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}+if({Q[tccit_qysds_a105060#2#bnggfhywxcfzcnstzje]}>0,{Q[tccit_qysds_a105060#2#bnggfhywxcfzcnstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1113758121287059456;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113758121287059456,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#12#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#12#5.特殊性税务处理递延纳税税收金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010306'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114429054091748352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114429054091748352,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#qendynbe',' ','A106000企业所得税弥补亏损明细表#8#7.当年亏损额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','qendynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(flossmoney)  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  {S[SELECT fqendynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320759;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320759,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#7#nstzje','{Q[7.（六）其他#2.账载金额本年折旧摊销额]}-{Q[7.（六）其他#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#7.六其他#9.纳税调整金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#7#zzjebnzj]}-{Q[tccit_qysds_a105080#7#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113019193143530496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113019193143530496,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#11#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#11#2.一般性税务处理税收金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010305'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069470595835554816;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069470595835554816,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#25#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#25#7.资产损失准备金核销金额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''7010310'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133324656938559488;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133324656938559488,{ts'2021-06-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#zjgfzjgftsde',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#9.总机构所属分支机构已分摊所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','zjgfzjgftsde',' ',' ','if({S[SELECT f.famountorratio FROM t_tccit_seft_hznsqy_sum f WHERE f.forgid = ''#orgid'' AND f.fskssqq = ''#startDate'' AND f.fskssqz = ''#endDate'' AND f.fitemtype=''2d'' ]}>0,{S[SELECT f.famountorratio FROM t_tccit_seft_hznsqy_sum f WHERE f.forgid = ''#orgid'' AND f.fskssqq = ''#startDate'' AND f.fskssqz = ''#endDate'' AND f.fitemtype=''2d'' ]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320690;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320690,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#3#jzxj','{Q[3#14.结转以后年度抵免的境外所得已缴所得税额_前四年]}+{Q[3#15.结转以后年度抵免的境外所得已缴所得税额_前三年]}+{Q[3#16.结转以后年度抵免的境外所得已缴所得税额_前二年]}+{Q[3#17.结转以后年度抵免的境外所得已缴所得税额_前一年]}+{Q[3#18.结转以后年度抵免的境外所得已缴所得税额_本年]}','A108030跨年度结转抵免境外所得税明细表#3#19.结转以后年度抵免的境外所得已缴所得税额_小计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108030','jzxj','1',' ','{Q[tccit_qysds_a108030#3#jzqsin]}+{Q[tccit_qysds_a108030#3#jzqsann]}+{Q[tccit_qysds_a108030#3#jzqln]}+{Q[tccit_qysds_a108030#3#jzqyn]}+{Q[tccit_qysds_a108030#3#jbzn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321123;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321123,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#zqjjyw',' ','A101020金融企业收入明细#金额#21.证券经纪业务','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','zqjjyw','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=21 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932277;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932277,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#7#cqgqtz',' ','A105030投资收益纳税调整明细#7#6.长期股权投资','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqgqtz',' ',' ','{S[select fczzcjsjc from t_tccit_asset_dispose_sum where fitemtype=''6010806'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932157;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932157,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#gqjl',' ','A105050职工薪酬支出明细#2#2.股权激励','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','gqjl',' ',' ','{S[SELECT fsjje FROM t_tccit_salary_summary_dg WHERE fitemtype=''stock'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118802695441140736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118802695441140736,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042_ba#1#syyhzc',' ','A107042软件、集成电路企业优惠情况基本信息表#1#5.选择适用优惠政策','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107042_ba','syyhzc',' ',' ','{S[select t.fsyyhzc from t_tccit_soft_ic_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321325;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321325,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#4#yjfy',' ','A104000期间费用明细表#管理费用境外支付#19.研究费用','1','4','1066581598406760448','qysdsnb','tccit_qysds_a104000','yjfy','1',' ','{S[select fmanageoutside from t_tccit_profit_fees_sum where fitemno=19 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113755116663834624;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113755116663834624,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#3#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#3#4.特殊性税务处理递延纳税账载金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030102'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337809;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337809,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#3#yftqjfy','{Q[1.一、农、林、牧、渔业项目#7.应分摊期间费用]}+{Q[2.一、农、林、牧、渔业项目#7.应分摊期间费用]}','A107020所得减免优惠明细表#3.一、农、林、牧、渔业项目小计#7.应分摊期间费用','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy','1',' ','{Q[tccit_qysds_a107020#1#yftqjfy]}+{Q[tccit_qysds_a107020#2#yftqjfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932772;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932772,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#10#hj','{Q[本年支出金额#1.前五年度]}+{Q[本年支出金额#2.前四年度]}+{Q[本年支出金额#3.前三年度]}+{Q[本年支出金额#4.前二年度]}+{Q[本年支出金额#5.前一年度]}+{Q[本年支出金额#6.本年]}','A105040专项用途财政性资金纳税调整明细#本年支出金额#7.合计','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105040','hj','1',' ','{Q[tccit_qysds_a105040#10#qwnd]}+{Q[tccit_qysds_a105040#10#qsind]}+{Q[tccit_qysds_a105040#10#qsand]}+{Q[tccit_qysds_a105040#10#qend]}+{Q[tccit_qysds_a105040#10#qynd]}+{Q[tccit_qysds_a105040#10#bn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321352,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#dfsdwbz',' ','A103000事业单位支出明细#金额#21.对附属单位补助','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','dfsdwbz','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=21 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321187;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321187,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#mchgjrzc',' ','A102020金融企业支出明细#金额#8.卖出回购金融资产','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','mchgjrzc','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=8 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932514;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932514,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#11#zzje',' ','A105090资产损失税前扣除及纳税调整明细#11#1.资产损失的账载金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''701030502'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078886040346865664;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078886040346865664,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#40#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#40#4.税收金额资产计税基础','1','40','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020612'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133303844735002624;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133303844735002624,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#99#fzjgsrze',' ','A109010分支机构信息#99#3.营业收入','1','99','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{Q[tccit_qysds_a109010_fz#1#fzjgsrze]}+{Q[tccit_qysds_a109010_fz#2#fzjgsrze]}+{Q[tccit_qysds_a109010_fz#3#fzjgsrze]}+{Q[tccit_qysds_a109010_fz#4#fzjgsrze]}+{Q[tccit_qysds_a109010_fz#5#fzjgsrze]}+{Q[tccit_qysds_a109010_fz#6#fzjgsrze]}{Q[tccit_qysds_a109010_fz#7#fzjgsrze]}+{Q[tccit_qysds_a109010_fz#8#fzjgsrze]}+{Q[tccit_qysds_a109010_fz#9#fzjgsrze]}+{Q[tccit_qysds_a109010_fz#10#fzjgsrze]}+{Q[tccit_qysds_a109010_fz#11#fzjgsrze]}+{Q[tccit_qysds_a109010_fz#12#fzjgsrze]}+{Q[tccit_qysds_a109010_fz#13#fzjgsrze]}{Q[tccit_qysds_a109010_fz#14#fzjgsrze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113758624502876160;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113758624502876160,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#16#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#16#5.特殊性税务处理递延纳税税收金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{Q[tccit_qysds_a105100#1#tsssje]}+{Q[tccit_qysds_a105100#4#tsssje]}+{Q[tccit_qysds_a105100#6#tsssje]}+{Q[tccit_qysds_a105100#8#tsssje]}+{Q[tccit_qysds_a105100#11#tsssje]}+{Q[tccit_qysds_a105100#12#tsssje]}+{Q[tccit_qysds_a105100#13#tsssje]}+{Q[tccit_qysds_a105100#14#tsssje]}+{Q[tccit_qysds_a105100#15#tsssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320856,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#21#zzje','{Q[22.（一）证券交易所风险基金#1.账载金额]}+{Q[23.（二）证券结算风险基金#1.账载金额]}+{Q[24.（三）证券投资者保护基金#1.账载金额]}+{Q[25.（四）其他#1.账载金额]}','A105120特殊行业准备金及纳税调整明细表#21.二、证券行业22+23+24+25#1.账载金额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105120','zzje','1',' ','{Q[tccit_qysds_a105120#22#zzje]}+{Q[tccit_qysds_a105120#23#zzje]}+{Q[tccit_qysds_a105120#24#zzje]}+{Q[tccit_qysds_a105120#25#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321364;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321364,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#yqdsrwgdzc',' ','A105000纳税调整项目明细#账载金额#27.与取得收入无关的支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','yqdsrwgdzc','1',' ','{S[select fzzje from t_tccit_beforetax_summary where FITEMNO=4 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323850833;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323850833,{ts'2021-07-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#tzsy',' ','A100000年度纳税申报表#金额#9.投资收益','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','tzsy','1',' ','if({C[#isbuydgservice]}=true,{S[select famount from t_tccit_dg_a100000_1_sum where fitemtype =''109'' and forgid = ''#orgid'' and fskssqq =''#startDate'' and fskssqz =''#endDate'']},{S[select famount from t_tccit_dg_a100000_1_sum where fitemno=9 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320820;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320820,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#29#ssje','{Q[29.分支机构留存备查的资产损失#4.资产计税基础]}-{Q[29.分支机构留存备查的资产损失#2.资产处置收入]}-{Q[29.分支机构留存备查的资产损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#29.分支机构留存备查的资产损失#5.资产损失的税收金额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#29#zcjsjc]}-{Q[tccit_qysds_a105090#29#zcczsr]}-{Q[tccit_qysds_a105090#29#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932343;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932343,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#13#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#13#4.税收金额资产计税基础','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020609'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323850848;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323850848,{ts'2021-08-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#lrze','{Q[金额#10.营业利润]}+{Q[金额#11.营业外收入]}-{Q[金额#12.营业外支出]}','A100000年度纳税申报表#金额#13.利润总额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','lrze','1',' ','{Q[tccit_qysds_a100000#1#yylr]}+{Q[tccit_qysds_a100000#1#yywsr]}-{Q[tccit_qysds_a100000#1#yywzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320989;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320989,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#16#bnd','{Q[17.人员人工费用#1.本年度]}+{Q[18.直接投入费用#1.本年度]}+{Q[19.折旧费用与长期待摊费用#1.本年度]}+{Q[20.无形资产摊销费用#1.本年度]}+{Q[21.设计费用#1.本年度]}+{Q[22.装备调试费与实验费用#1.本年度]}+{Q[24.可计入研发费用的其他费用#1.本年度]}','A107041高新技术企业优惠情况及明细表#16.内部研究开发投入#1.本年度','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd','1',' ','{Q[tccit_qysds_a107041#17#bnd]}+{Q[tccit_qysds_a107041#18#bnd]}+{Q[tccit_qysds_a107041#19#bnd]}+{Q[tccit_qysds_a107041#20#bnd]}+{Q[tccit_qysds_a107041#21#bnd]}+{Q[tccit_qysds_a107041#22#bnd]}+{Q[tccit_qysds_a107041#24#bnd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320725;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320725,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#15#ssjeljzje','{Q[16.（一）林木类#8.税收金额累计折旧、摊销额]}+{Q[17.（二）畜类#8.税收金额累计折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#15.二、生产性生物资产#8.税收金额累计折旧、摊销额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje','1',' ','{Q[tccit_qysds_a105080#16#ssjeljzje]}+{Q[tccit_qysds_a105080#17#ssjeljzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321000;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321000,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#9#je','{Q[7.其中：企业在中国境内发生的研发费用金额#2.金额]}/{Q[6.研发费用总额#2.金额]}','A107042软件、集成电路企业优惠情况及明细表#9.境内研发费用占研发费用总额的比例#2.金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107042','je','1',' ','{Q[tccit_qysds_a107042#7#je]}/{Q[tccit_qysds_a107042#6#je]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321269;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321269,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#ysccf',' ','A104000期间费用明细表#销售费用#15.运输、仓储费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','ysccf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=15 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071728907675538432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071728907675538432,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#16#xmmc',' ','A107020所得减免优惠明细表#16#1.项目名称','4','16','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select   fprojectname from t_tccit_getredu_sum where FREDUCENAME=1064511941495720961 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320577;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320577,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#5#djjnkshjwyne','{Q[5#5.境外应纳税所得额]}-{Q[5#6.抵减境内亏损]}','A108000境外所得税收抵免明细表#5#7.抵减境内亏损后的境外应纳税所得额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108000','djjnkshjwyne','1',' ','{Q[tccit_qysds_a108000#5#jwynssde]}-{Q[tccit_qysds_a108000#5#djjnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071714640809203712;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071714640809203712,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#9#jbxmsde',' ','A107020所得减免优惠明细表#9#10.减半项目所得额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','{Q[tccit_qysds_a107020#7#jbxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112321838395997184;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112321838395997184,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#7#jtbl',' ','A105120贷款损失准备金及纳税调整明细表#7#7.计提比例','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jtbl',' ',' ','{S[select fjtbl from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''7'' ]}*100'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932599;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932599,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107020#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A107020所得减免优惠明细表#表单名称','3','A107020','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1114443884731383808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114443884731383808,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#hj',' ','A106000企业所得税弥补亏损明细表#2#9.使用境内所得弥补','1','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','hj',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fsyjnsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}>0) {S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}  #else 0-{S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321301;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321301,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#bgf',' ','A104000期间费用明细表#管理费用#9.办公费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','bgf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=9 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321008;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321008,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#jwsdje','{Q[合计#14.境外税前所得]}-{Q[合计#11.境外所得可抵免的所得税额_间接负担的所得税额]}','A100000年度纳税申报表#金额#14.境外所得金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','jwsdje','1',' ','{Q[tccit_qysds_a108010#10#jwsqsd]}-{Q[tccit_qysds_a108010#10#jwsdkdmjjfd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320639;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320639,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#2#jwsqsd','{Q[2#9.境外税后所得_小计]}+{Q[2#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[2#11.境外所得可抵免的所得税额_间接负担的所得税额]}','A108010境外所得纳税调整后所得明细表#2#14.境外税前所得','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsqsd','1',' ','{Q[tccit_qysds_a108010#2#jwshxj]}+{Q[tccit_qysds_a108010#2#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#2#jwsdkdmjjfd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071634425474752512;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071634425474752512,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#1#yhfs',' ','A107020所得减免优惠明细表#1#3.优惠方式','4','1','1066581598406760448','qysdsnb','tccit_qysds_a107020','yhfs',' ',' ','{S[select   fyhfs from t_tccit_getredu_sum where FREDUCENAME in (1064403692599497729,1064416857580229632,1064416857580229633,1064416857580229634,1064416857580229636,1064416857580229637,1064416857580229638,1064416857580229639,1064506234591581184,1064506234591581185,1064506234591581186) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095568289343521792;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095568289343521792,{ts'2021-07-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#btzlrfpqrjesyje',' ','A107011居民企业之间权益性投资收益优惠#1#7.被投资企业利润分配确认金额_依决定归属于本公司的股息、红利等权益性投资收益金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzlrfpqrjesyje',' ',' ','{S[select fmssrje from t_tccit_dg_b105037_sum where flabel=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932746;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932746,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#10#jyxjrzc','{Q[处置收益税收计算处置所得#1.交易性金融资产]}-{Q[处置收益会计确认所得或损失#1.交易性金融资产]}','A105030投资收益纳税调整明细#处置收益纳税调整金额#1.交易性金融资产','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrzc','1',' ','{Q[tccit_qysds_a105030#9#jyxjrzc]}-{Q[tccit_qysds_a105030#8#jyxjrzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320705;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320705,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#srltzxm','{Q[调减金额#2.视同销售收入]}+{Q[调减金额#3.未按权责发生制原则确认的收入]}+{Q[调减金额#4.投资收益]}+{Q[调减金额#5.按权益法核算长期股权投资对初始投资成本调整确认收益]}+{Q[调减金额#6.交易性金融资产初始投资调整]}+{Q[调减金额#7.公允价值变动净损益]}+{Q[调减金额#8.不征税收入]}+{Q[调减金额#10.销售折扣、折让和退回]}+{Q[调减金额#11.收入类调整项目其他]}','A105000纳税调整项目明细#调减金额#1.收入类调整项目','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','srltzxm','1',' ','{Q[tccit_qysds_a105000#4#stxs]}+{Q[tccit_qysds_a105000#4#waqzfszyzqrdsr]}+{Q[tccit_qysds_a105000#4#tzsy]}+{Q[tccit_qysds_a105000#4#aqyhscqtz]}+{Q[tccit_qysds_a105000#4#jyxjrzccstztztzje]}+{Q[tccit_qysds_a105000#4#gyjzbdjsy]}+{Q[tccit_qysds_a105000#4#bzssr]}+{Q[tccit_qysds_a105000#4#xszkzrhth]}+{Q[tccit_qysds_a105000#4#srltzxmqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321495;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321495,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#6#jwynssde','if({Q[6#3.境外所得纳税调整后所得]}-{Q[6#4.弥补境外以前年度亏损]}>=)','A108000境外所得税收抵免明细表#6#5.境外应纳税所得额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwynssde','1',' ','if({Q[tccit_qysds_a108000#6#jwstzhsd]}-{Q[tccit_qysds_a108000#6#mbjwyqnks]}>=0,{Q[tccit_qysds_a108000#6#jwstzhsd]}-{Q[tccit_qysds_a108000#6#mbjwyqnks]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321426;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321426,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#bnggfhywxcfzcnstzje','if(>{Q[金额#3.本年符合条件的广告费和业务宣传费支出1-2]}>{Q[金额#6.本企业计算的广告费和业务宣传费扣除限额]},{Q[金额#2.减：不允许扣除的广告费和业务宣传费支出]}+{Q[金额#3.本年符合条件的广告费和业务宣传费支出1-2]}-{Q[金额#6.本企业计算的广告费和业务宣传费扣除限额]}+{Q[金额#10.按照分摊协议归集至其他关联方的广告费和业务宣传费]}-{Q[金额#11.按照分摊协议从其他关联方归集至本企业的广告费和业务宣传费]},{Q[金额#2.减：不允许扣除的广告费和业务宣传费支出]}-{Q[金额#9.减：本年扣除的以前年度结转额]}+{Q[金额#10.按照分摊协议归集至其他关联方的广告费和业务宣传费]}-{Q[金额#11.按照分摊协议从其他关联方归集至本企业的广告费和业务宣传费]})','A105060广告业务宣传费跨年纳税调整明细#金额#12.本年广告费和业务宣传费支出纳税调整金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','bnggfhywxcfzcnstzje','1',' ','if({Q[tccit_qysds_a105060#1#bnfhtjdggfhywxcfzc]}>{Q[tccit_qysds_a105060#1#bqyjsdggfhywxcfkcxe]},{Q[tccit_qysds_a105060#1#byxkcdggfhywxczc]}+{Q[tccit_qysds_a105060#1#bnfhtjdggfhywxcfzc]}-{Q[tccit_qysds_a105060#1#bqyjsdggfhywxcfkcxe]}+{Q[tccit_qysds_a105060#1#anftxygjzqtdffy]}-{Q[tccit_qysds_a105060#1#azftxycqtdfgjzbqyfy]},{Q[tccit_qysds_a105060#1#byxkcdggfhywxczc]}-{Q[tccit_qysds_a105060#1#bnkcdyqndjze]}+{Q[tccit_qysds_a105060#1#anftxygjzqtdffy]}-{Q[tccit_qysds_a105060#1#azftxycqtdfgjzbqyfy]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1133305043525806080;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133305043525806080,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#99#fpse',' ','A109010分支机构信息#99#7.分配所得税额','1','99','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_fz#1#fpse]}+{Q[tccit_qysds_a109010_fz#2#fpse]}+{Q[tccit_qysds_a109010_fz#3#fpse]}+{Q[tccit_qysds_a109010_fz#4#fpse]}+{Q[tccit_qysds_a109010_fz#5#fpse]}+{Q[tccit_qysds_a109010_fz#6#fpse]}+{Q[tccit_qysds_a109010_fz#7#fpse]}+{Q[tccit_qysds_a109010_fz#8#fpse]}+{Q[tccit_qysds_a109010_fz#9#fpse]}+{Q[tccit_qysds_a109010_fz#10#fpse]}+{Q[tccit_qysds_a109010_fz#11#fpse]}+{Q[tccit_qysds_a109010_fz#12#fpse]}+{Q[tccit_qysds_a109010_fz#13#fpse]}+{Q[tccit_qysds_a109010_fz#14#fpse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932843;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932843,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#7#tsnstzje','{Q[7#5.特殊性税务处理递延纳税税收金额]}-{Q[7#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#7#6.特殊性税务处理递延纳税纳税调整金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#7#tsssje]}-{Q[tccit_qysds_a105100#7#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932940;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932940,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A102020#tabname',' ','企业所得税年度纳税申报表填报表#A102020金融企业支出明细表#表单名称','1','A102020','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A102020'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1071734027402384384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071734027402384384,{ts'2021-06-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#19#msxmsde','{Q[19.七、线宽小于130纳米的集成电路生产项目#3.优惠方式]}','A107020所得减免优惠明细表#19#9.免税项目所得额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','if({Q[tccit_qysds_a107020#19#yhfs]}=免税,if(({Q[tccit_qysds_a107020#19#xmsr]}-{Q[tccit_qysds_a107020#19#xmcb]}-{Q[tccit_qysds_a107020#19#xgsf]}-{Q[tccit_qysds_a107020#19#yftqjfy]}+{Q[tccit_qysds_a107020#19#nstze]})>0,{Q[tccit_qysds_a107020#19#xmsr]}-{Q[tccit_qysds_a107020#19#xmcb]}{Q[tccit_qysds_a107020#19#xgsf]}-{Q[tccit_qysds_a107020#19#yftqjfy]}+{Q[tccit_qysds_a107020#19#nstze]},0),0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321231;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321231,{ts'2021-04-12  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#ywsxrzsy','if({Q[账载金额#22.与未实现融资收益相关在当期确认的财务费用]}-{Q[税收金额#22.与未实现融资收益相关在当期确认的财务费用]}<-()','A105000纳税调整项目明细#调减金额#22.与未实现融资收益相关在当期确认的财务费用','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','ywsxrzsy','1',' ','if({Q[tccit_qysds_a105000#1#ywsxrzsy]}-{Q[tccit_qysds_a105000#2#ywsxrzsy]}<0,0-({Q[tccit_qysds_a105000#1#ywsxrzsy]}-{Q[tccit_qysds_a105000#2#ywsxrzsy]}),0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1139860994449764352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1139860994449764352,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#33#hj',' ','A107040减免所得税优惠明细表#33#1.金额','1','33','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ','{S[select famountorratio from t_tccit_setz_jmyhhz where forgid=''#orgid'' and FSKSSQQ = ''#startDate'' and FSKSSQZ=''#endDate'' and fitemtype = ''6.3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320662;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320662,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108020#5#jzhndmbfsjkse','{Q[5#2.非实际亏损额的弥补以前年度结转尚未弥补的非实际亏损额]}+{Q[5#3.非实际亏损额的弥补本年发生的非实际亏损额]}-{Q[5#4.非实际亏损额的弥补本年弥补的以前年度非实际亏损额]}','A108020境外分支机构弥补亏损明细表#5#5.非实际亏损额的弥补结转以后年度弥补的非实际亏损额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108020','jzhndmbfsjkse','1',' ','{Q[tccit_qysds_a108020#5#yqndjzwmbfsjkse]}+{Q[tccit_qysds_a108020#5#bnfsfsjkse]}-{Q[tccit_qysds_a108020#5#bnmbyqfsjkse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932987;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932987,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#7#bnsjdmdgndse','{Q[前五年度#11.本年实际抵免的各年度税额]}+{Q[前四年度#11.本年实际抵免的各年度税额]}+{Q[前三年度#11.本年实际抵免的各年度税额]}+{Q[前二年度#11.本年实际抵免的各年度税额]}+{Q[前一年度#11.本年实际抵免的各年度税额]}+{Q[本年度#11.本年实际抵免的各年度税额]}','A107050税额抵免优惠明细表#本年实际抵免税额合计#11.本年实际抵免的各年度税额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse','1',' ','{Q[tccit_qysds_a107050#1#bnsjdmdgndse]}+{Q[tccit_qysds_a107050#2#bnsjdmdgndse]}+{Q[tccit_qysds_a107050#3#bnsjdmdgndse]}+{Q[tccit_qysds_a107050#4#bnsjdmdgndse]}+{Q[tccit_qysds_a107050#5#bnsjdmdgndse]}+{Q[tccit_qysds_a107050#6#bnsjdmdgndse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338347;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338347,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#7#jmsde','if({Q[7.三、符合条件的环境保护、节能节水项目#9.免税项目所得额]}+{Q[7.三、符合条件的环境保护、节能节水项目#10.减半项目所得额]}*>=,)','A107020所得减免优惠明细表#7.三、符合条件的环境保护、节能节水项目#11.减免所得额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#7#msxmsde]}+{Q[tccit_qysds_a107020#7#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#7#msxmsde]}+{Q[tccit_qysds_a107020#7#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931970;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931970,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#2#bnfhtjdggfhywxcfzc','{Q[保险企业手续费及佣金支出#1.本年支出]}-{Q[保险企业手续费及佣金支出#2.减：不允许扣除的支出]}','A105060广告业务宣传费跨年纳税调整明细#2#3.本年符合条件的支出1-2','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105060','bnfhtjdggfhywxcfzc',' ',' ','{Q[tccit_qysds_a105060#2#bnggfhywxcfzc]}-{Q[tccit_qysds_a105060#2#byxkcdggfhywxczc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133307932470002688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133307932470002688,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#14#fzjggzze',' ','A109010分支机构信息#14#4.职工薪酬','1','14','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''14'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112315133608114176;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112315133608114176,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#10#bnmsszbjye',' ','A105120贷款损失准备金及纳税调整明细表#10#4.本年末贷款损失准备金余额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmsszbjye',' ',' ','{Q[tccit_qysds_a105120_dk#1#bnmsszbjye]} + {Q[tccit_qysds_a105120_dk#8#bnmsszbjye]}+ {Q[tccit_qysds_a105120_dk#9#bnmsszbjye]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932974;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932974,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#4#bnkdmse','{Q[前二年度#3.本年允许抵免的专用设备投资额]}*0.1','A107050税额抵免优惠明细表#前二年度#4.本年可抵免税额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnkdmse','1',' ','{Q[tccit_qysds_a107050#4#bnyxdmdzysbtze]}*0.1'); 
DELETE FROM t_tctb_formula WHERE FID = 1113721453783599104;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113721453783599104,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#1#qynd',' ','A105040专项用途财政性资金纳税调整明细#1#5.前一年度','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105040','qynd',' ',' ','{C[#declareyear]}-1'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321284;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321284,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#zcxbq','if({Q[金额#24.纳税调整金额]}>={Q[金额#24.纳税调整金额]})','A105000纳税调整项目明细#调增金额#38.政策性搬迁','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcxbq','1',' ','if({Q[tccit_qysds_a105110#1#nstzje]}>=0,{Q[tccit_qysds_a105110#1#nstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1133299527512729600;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133299527512729600,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#6#fzjgmc',' ','A109010分支机构信息#6#2.分支机构名称','4','6','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''6'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932417;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932417,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#33#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#33#3.账载金额累计折旧、摊销额','1','33','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020405'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1131163333001831424;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1131163333001831424,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#7#zxgxjsqy',' ','A107030抵扣应纳税所得额明细表#7#2.投资于未上市中小高新技术企业','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107030','zxgxjsqy',' ',' ','{S[select  fwsscurrent  from t_tccit_dg_a100000_7_sum where fitemno=''15'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932846;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932846,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#10#tsnstzje','{Q[10#5.特殊性税务处理递延纳税税收金额]}-{Q[10#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#10#6.特殊性税务处理递延纳税纳税调整金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#10#tsssje]}-{Q[tccit_qysds_a105100#10#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321361;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321361,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#zzzc',' ','A105000纳税调整项目明细#账载金额#21.赞助支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','zzzc','1',' ','{S[select fzzje from t_tccit_beforetax_summary  where FITEMNO=3 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113737064706264064;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113737064706264064,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#13#qsand',' ','A105040专项用途财政性资金纳税调整明细#13#3.前三年度','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsand',' ',' ','{S[SELECT sum(e.FFINANCIALAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-3 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114287043699017728;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114287043699017728,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#zcze',' ','A000000企业所得税年度纳税申报基础信息表#1#103资产总额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','zcze',' ',' ','{S[select e.ftotalamount from t_tccit_small_summary m left join t_tccit_small_sum_entry e on m.fid=e.fid where  fitemtype=''yearavg'' and m.forgid=''#orgid'' and m.fskssqq=''#startDate'' and m.fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338360;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338360,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#22#jmsde','if({Q[22.八、线宽小于65纳米或投资额超过150亿元的集成电路生产项目#9.免税项目所得额]}+{Q[22.八、线宽小于65纳米或投资额超过150亿元的集成电路生产项目#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#22.八、线宽小于65纳米或投资额超过150亿元的集成电路生产项目#11.减免所得额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#22#msxmsde]}+{Q[tccit_qysds_a107020#22#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#22#msxmsde]}+{Q[tccit_qysds_a107020#22#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1118810524772256768;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118810524772256768,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#3#je',' ','A107042软件、集成电路企业优惠情况及明细表#3#2.金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107042','je',' ',' ','{S[select t.fjesl from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''yjkfryrs'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320709;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320709,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#zcltzxm','{Q[调减金额#32.资产折旧、摊销]}+{Q[调减金额#33.资产减值准备金]}+{Q[调减金额#34.资产损失]}+{Q[调减金额#35.资产类调整项目其他]}','A105000纳税调整项目明细#调减金额#31.资产类调整项目','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcltzxm','1',' ','{Q[tccit_qysds_a105000#4#zczjtx]}+{Q[tccit_qysds_a105000#4#zcjzzbj]}+{Q[tccit_qysds_a105000#4#zcss]}+{Q[tccit_qysds_a105000#4#zcltzxmqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135344655723231232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135344655723231232,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#18#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#18#研发活动费用金额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=18]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320786;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320786,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#17#pcsr','{Q[18.符合条件的涉农和中小企业贷款损失#3.赔偿收入]}+{Q[21.其他债权性投资损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#17.一金融企业债权性投资损失#3.赔偿收入','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr','1',' ','{Q[tccit_qysds_a105090#18#pcsr]}+{Q[tccit_qysds_a105090#21#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320910;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320910,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#snlxbfsr','{Q[金额#20.金融机构取得的涉农贷款利息收入在计算应纳税所得额时减计收入]}+{Q[金额#21.保险机构取得的涉农保费收入在计算应纳税所得额时减计收入]}+{Q[金额#22.小额贷款公司取得的农户小额贷款利息收入在计算应纳税所得额时减计收入]}','A107010免税减计收入及加计扣除优惠明细表#金额#19.金融、保险等机构取得的涉农利息、保费收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','snlxbfsr','1',' ','{Q[tccit_qysds_a107010#1#jrjgnhxedklxsr]}+{Q[tccit_qysds_a107010#1#zzyyzybxbfsr]}+{Q[tccit_qysds_a107010#1#nhxedklxsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112217729227555840;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112217729227555840,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#9#hj',' ','A107041高新技术企业优惠情况及明细表#9#4.合计','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{S[select fincomeamount from t_tccit_a301010201_income where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fincometype=''6'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338354;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338354,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#16#jmsde','if({Q[16.六、符合条件的节能服务公司实施的合同能源管理项目#9.免税项目所得额]}+{Q[16.六、符合条件的节能服务公司实施的合同能源管理项目#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#16.六、符合条件的节能服务公司实施的合同能源管理项目#11.减免所得额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#16#msxmsde]}+{Q[tccit_qysds_a107020#16#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#16#msxmsde]}+{Q[tccit_qysds_a107020#16#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1296956898037327872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1296956898037327872,{ts'2021-11-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#zhdxswwgcp',' ',' ','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','zhdxswwgcp',' ',' ','{S[select sum(famount) from t_tccit_dg_b105093tz_sum where fitemno=''7'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113018209394693120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113018209394693120,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#10#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#10#1.一般性税务处理账载金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030402'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095564832129728512;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095564832129728512,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#tzbl',' ','A107011居民企业之间权益性投资收益优惠#4#5.投资比例','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzbl',' ',' ','{S[select fnumorrate  from t_tccit_dg_b105037_sum where flabel=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133295777645570048;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133295777645570048,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#4#fzjgnsrsbh',' ','A109010分支机构信息#4#1.分支机构纳税人识别号','4','4','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''4'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320841;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320841,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#21#nstzje','{Q[21.其他债权性投资损失#1.资产损失的账载金额]}-{Q[21.其他债权性投资损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#21.其他债权性投资损失#6.纳税调整金额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#21#zzje]}+{Q[tccit_qysds_a105090#21#zchxje]}-{Q[tccit_qysds_a105090#21#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123709742418832384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123709742418832384,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#29#xmcb',' ','A107020所得减免优惠明细表#29#5.项目成本','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb',' ',' ','{S[select   fcost  from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095564584011481088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095564584011481088,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#tzbl',' ','A107011居民企业之间权益性投资收益优惠#1#5.投资比例','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzbl',' ',' ','{S[select fnumorrate  from t_tccit_dg_b105037_sum where flabel=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321182;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321182,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#tycf',' ','A102020金融企业支出明细#金额#4.同业存放','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','tycf','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112232995923690496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112232995923690496,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#21#hj','{Q[21.设计费用#1.本年度]}','A107041高新技术企业优惠情况及明细表#21#4.合计','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{Q[tccit_qysds_a107041#21#bnd]}+{Q[tccit_qysds_a107041#21#qynd]}+{Q[tccit_qysds_a107041#21#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321276;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321276,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#gxsf',' ','A104000期间费用明细表#销售费用#20.各项税费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','gxsf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=20 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320992;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320992,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#16#hj','{Q[17.人员人工费用#4.合计]}+{Q[18.直接投入费用#4.合计]}+{Q[19.折旧费用与长期待摊费用#4.合计]}+{Q[20.无形资产摊销费用#4.合计]}+{Q[21.设计费用#4.合计]}+{Q[22.装备调试费与实验费用#4.合计]}+{Q[24.可计入研发费用的其他费用#4.合计]}','A107041高新技术企业优惠情况及明细表#16.内部研究开发投入#4.合计','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj','1',' ','{Q[tccit_qysds_a107041#17#hj]}+{Q[tccit_qysds_a107041#18#hj]}+{Q[tccit_qysds_a107041#19#hj]}+{Q[tccit_qysds_a107041#20#hj]}+{Q[tccit_qysds_a107041#21#hj]}+{Q[tccit_qysds_a107041#22#hj]}+{Q[tccit_qysds_a107041#24#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932854;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932854,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#2#nstzje','{Q[2#3.一般性税务处理纳税调整金额]}+{Q[2#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#2#7.纳税调整金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#2#ybnstzje]}+{Q[tccit_qysds_a105100#2#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321111;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321111,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#czzj',' ','A101020金融企业收入明细#金额#6.拆出资金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','czzj','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=6 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1296956775446210560;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1296956775446210560,{ts'2021-11-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#xswwgcpzwgcp',' ',' ','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','xswwgcpzwgcp',' ',' ','{S[select sum(famount) from t_tccit_dg_b105093tz_sum where fitemno=''6'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320708;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320708,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#zcltzxm','{Q[调增金额#32.资产折旧、摊销]}+{Q[调增金额#33.资产减值准备金]}+{Q[调增金额#34.资产损失]}+{Q[调增金额#35.资产类调整项目其他]}','A105000纳税调整项目明细#调增金额#31.资产类调整项目','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcltzxm','1',' ','{Q[tccit_qysds_a105000#3#zczjtx]}+{Q[tccit_qysds_a105000#3#zcjzzbj]}+{Q[tccit_qysds_a105000#3#zcss]}+{Q[tccit_qysds_a105000#3#zcltzxmqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114432980589559808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114432980589559808,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#qyndynbe',' ','A106000企业所得税弥补亏损明细表#1#8.当年待弥补的亏损额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','qyndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fbnkmbksje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}>0) 0-{S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}  #else {S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1095551671704010752;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095551671704010752,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#zzyyzybxbfsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#21.保险机构取得的涉农保费收入在计算应纳税所得额时减计收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','zzyyzybxbfsr',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''2.3'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113729248092277760;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113729248092277760,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#9#qynd',' ','A105040专项用途财政性资金纳税调整明细#9#5.前一年度','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105040','qynd',' ',' ','select fbn from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''10'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932702;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932702,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#fszcxbq','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#216发生政策性搬迁且停止生产经营无所得年度','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','fszcxbq','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1071713378424363008;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071713378424363008,{ts'2021-02-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#7#jbxmsde',' ','A107020所得减免优惠明细表#7#10.减半项目所得额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#7#yhfs]}''==''减半征收'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1064510411371678720,1064510411371678721,1064510411371678722,1064510411371678723,1064510411371678724,1064510411371678725) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1064510411371678720,1064510411371678721,1064510411371678722,1064510411371678723,1064510411371678724,1064510411371678725) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932741;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932741,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#9#jyxjrfz','{Q[处置收益税收计算处置收入#5.交易性金融负债]}-{Q[处置收益计税基础#5.交易性金融负债]}','A105030投资收益纳税调整明细#处置收益税收计算处置所得#5.交易性金融负债','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrfz','1',' ','{Q[tccit_qysds_a105030#5#jyxjrfz]}-{Q[tccit_qysds_a105030#7#jyxjrfz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320584,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#3#jwsdynse1','{Q[3#7.抵减境内亏损后的境外应纳税所得额]}*{Q[3#8.税率]}','A108000境外所得税收抵免明细表#3#9.境外所得应纳税额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsdynse1','1',' ','{Q[tccit_qysds_a108000#3#djjnkshjwyne]}*{Q[tccit_qysds_a108000#3#sl2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320582;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320582,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#1#jwsdynse1','{Q[1#7.抵减境内亏损后的境外应纳税所得额]}*{Q[1#8.税率]}','A108000境外所得税收抵免明细表#1#9.境外所得应纳税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsdynse1','1',' ','{Q[tccit_qysds_a108000#1#djjnkshjwyne]}*{Q[tccit_qysds_a108000#1#sl2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114443205488673792;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114443205488673792,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#6#zjlx',' ','A000000主要股东及分红情况#6#2.证件种类','1','6','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx',' ',' ','{S[select h.ffidtype from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=6 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095599672233346048;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095599672233346048,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#12#hj',' ','A107011居民企业之间权益性投资收益优惠#12#17.合计','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj',' ',' ','#if(''{Q[tccit_qysds_a107011#1#tzxz]}''==''创新企业CDR'')    {Q[tccit_qysds_a107011#1#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#2#tzxz]}''==''创新企业CDR'')    {Q[tccit_qysds_a107011#2#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#3#tzxz]}''==''创新企业CDR'')    {Q[tccit_qysds_a107011#3#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#4#tzxz]}''==''创新企业CDR'')    {Q[tccit_qysds_a107011#4#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#5#tzxz]}''==''创新企业CDR'')    {Q[tccit_qysds_a107011#5#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#6#tzxz]}''==''创新企业CDR'')    {Q[tccit_qysds_a107011#6#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#7#tzxz]}''==''创新企业CDR'')    {Q[tccit_qysds_a107011#7#hj]} #else    0 #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1077460353702478848;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077460353702478848,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#14#zzje',' ','A105070捐赠支出及纳税调整明细#14#1.账载金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105070','zzje',' ',' ','{S[select FZZJE from  t_tccit_dg_b105020_sum where FITEMNUMBER=''301040204'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932786;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932786,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#gqjl','{Q[账载金额#2.股权激励]}-{Q[税收金额#2.股权激励]}','A105050职工薪酬支出明细#纳税调整金额#2.股权激励','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','gqjl','1',' ','{Q[tccit_qysds_a105050#1#gqjl]}-{Q[tccit_qysds_a105050#5#gqjl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077537936859250688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077537936859250688,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#38#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#38#1.账载金额资产原值','1','38','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020605'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069470862098316288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069470862098316288,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#26#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#26#7.资产损失准备金核销金额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''7010311'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071727273708917760;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071727273708917760,{ts'2021-02-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#13#jbxmsde',' ','A107020所得减免优惠明细表#13#10.减半项目所得额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#13#yhfs]}''==''减半征收'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME=1064511471960165376 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME=1064511471960165376 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321214;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321214,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#ywzdfzc',' ','A105000纳税调整项目明细#调增金额#15.业务招待费支出','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','ywzdfzc','1',' ','{Q[tccit_qysds_a105000#1#ywzdfzc]}-{Q[tccit_qysds_a105000#2#ywzdfzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931974;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931974,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#2#bnjzyhndkce','if({Q[保险企业手续费及佣金支出#3.本年符合条件的支出1-2]}>{Q[保险企业手续费及佣金支出#6.本企业计算的扣除限额]},{Q[保险企业手续费及佣金支出#3.本年符合条件的支出1-2]}-{Q[保险企业手续费及佣金支出#6.本企业计算的扣除限额]},)','A105060广告业务宣传费跨年纳税调整明细#2#7.本年结转以后年度扣除额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105060','bnjzyhndkce',' ',' ','if({Q[tccit_qysds_a105060#2#bnfhtjdggfhywxcfzc]}>{Q[tccit_qysds_a105060#2#bqyjsdggfhywxcfkcxe]},{Q[tccit_qysds_a105060#2#bnfhtjdggfhywxcfzc]}-{Q[tccit_qysds_a105060#2#bqyjsdggfhywxcfkcxe]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321228;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321228,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#qtjrywzc',' ','A102020金融企业支出明细#金额#31.其他金融业务支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','qtjrywzc','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=31 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135450036763912192;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135450036763912192,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#2#bnyxdmdzysbtze',' ','A107050税额抵免优惠明细表#2#3.本年允许抵免的专用设备投资额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnyxdmdzysbtze',' ',' ','{S[select fbnyxdmdzysbtze from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095563700170964992;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095563700170964992,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#tzcb',' ','A107011居民企业之间权益性投资收益优惠#4#4.投资成本','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzcb',' ',' ','{S[select fincost from t_tccit_dg_b105037_sum where flabel=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123711800161078272;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123711800161078272,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#29#msxmsde',' ','A107020所得减免优惠明细表#29#9.免税项目所得额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#29#yhfs]}''==''免税'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321317;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321317,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#qt',' ','A104000期间费用明细表#管理费用#25.其他','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','qt','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=25 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112313403407382528;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112313403407382528,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#8#snmsszbjye',' ','A105120贷款损失准备金及纳税调整明细表#8#3.上年末贷款损失准备金余额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmsszbjye',' ',' ','{S[select fsnmsszbjye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''8'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932497;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932497,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#6#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#6#3.赔偿收入','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''701030301'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321055;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321055,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#qyxtzsy','{Q[金额#4.其中：内地居民企业通过沪港通投资且连续持有H股满12个月取得的股息红利所得免征企业所得税]}+{Q[金额#5.内地居民企业通过深港通投资且连续持有H股满12个月取得的股息红利所得免征企业所得税]}+{Q[金额#3.1.一般股息红利等权益性投资收益免征企业所得税]}+{Q[金额#3.4.居民企业持有创新企业CDR取得的股息红利所得免征企业]}+{Q[金额#3.5.符合条件的永续债利息收入免征企业所得税]}','A107010免税减计收入及加计扣除优惠明细表#金额#3.符合条件的居民企业之间的股息、红利等权益性投资收益','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','qyxtzsy','1',' ','{Q[tccit_qysds_a107010#1#hgttzsy]}+{Q[tccit_qysds_a107010#1#sgttzsy]}+{Q[tccit_qysds_a107010#1#ybgxhl]}+{Q[tccit_qysds_a107010#1#jmqycycxqy]}+{Q[tccit_qysds_a107010#1#fhtjdyxzlxsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932957;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932957,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107010#tabname',' ','企业所得税年度纳税申报表填报表#A107010免税、减计收入及加计扣除优惠明细表#表单名称','1','A107010','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A107010'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1112217049809028096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112217049809028096,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#5#hj',' ','A107041高新技术企业优惠情况及明细表#5#4.合计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{S[select fincomeamount from t_tccit_a301010201_income where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fincometype=''2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135418998578767872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135418998578767872,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#6#nd',' ','A107050税额抵免优惠明细表#6#1.年度','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107050','nd',' ',' ','{C[#declareyear]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321334;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321334,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#6#hdce',' ','A104000期间费用明细表#财务费用境外支付#22.汇兑差额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a104000','hdce','1',' ','{S[select ffinanceoutside from t_tccit_profit_fees_sum where fitemno=22 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320870;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320870,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#5#nstzje','{Q[5.1.财产保险业务投资型无保证收益#1.账载金额]}-{Q[5.1.财产保险业务投资型无保证收益#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#5.1.财产保险业务投资型无保证收益#3.纳税调整金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#5#zzje]}-{Q[tccit_qysds_a105120#5#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112224860148334592;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112224860148334592,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#17#qynd',' ','A107041高新技术企业优惠情况及明细表#17#2.前一年度','1','17','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd',' ',' ','{S[select fpreoneyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321031;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321031,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#zwczsddynsnd','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#223债务重组所得递延纳税年度','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','zwczsddynsnd','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320594;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320594,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#4#wcgjwdmxeye','{Q[4#11.境外所得抵免限额]}-{Q[4#12.本年可抵免境外所得税额]}','A108000境外所得税收抵免明细表#4#13.未超过境外所得税抵免限额的余额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108000','wcgjwdmxeye','1',' ','{Q[tccit_qysds_a108000#4#jwsddmxe]}-{Q[tccit_qysds_a108000#4#bnkdmjwsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133306445186581504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133306445186581504,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#11#fzjgsrze',' ','A109010分支机构信息#11#3.营业收入','1','11','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''11'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932967;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932967,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A108020#tabname',' ','企业所得税年度纳税申报表填报表#A108020境外分支机构弥补亏损明细表#表单名称','1','A108020','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A108020'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932219;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932219,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#1#dqtz',' ','A105030投资收益纳税调整明细#1#7.短期投资','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105030','dqtz',' ',' ','{S[select fzzje from t_tccit_invest_profit_sum where fitemtype=''6010407'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931972;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931972,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#2#ssgdkce','{P[保险企业佣金手续费]}','A105060广告业务宣传费跨年纳税调整明细#2#5.税收规定扣除率','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105060','ssgdkce',' ',' ','{S[select famount from t_tccit_insurance_summary where fitemtype=''rate'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320724;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320724,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#15#ssjessgdzje','{Q[16.（一）林木类#5.税收金额-税收折旧、摊销额]}+{Q[17.（二）畜类#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#15.二、生产性生物资产#5.税收金额-税收折旧、摊销额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje','1',' ','{Q[tccit_qysds_a105080#16#ssjessgdzje]}+{Q[tccit_qysds_a105080#17#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077461558264643584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077461558264643584,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#13#ssje',' ','A105070捐赠支出及纳税调整明细#13#4.税收金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105070','ssje',' ',' ','{Q[tccit_qysds_a105070#13#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069453898353273856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069453898353273856,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#3#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#3#7.资产损失准备金核销金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ',' {S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''701030201'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932866;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932866,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#14#nstzje','{Q[14#3.一般性税务处理纳税调整金额]}+{Q[14#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#14#7.纳税调整金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#14#ybnstzje]}+{Q[tccit_qysds_a105100#14#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320876;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320876,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#11#nstzje','{Q[11.4.意外伤害保险业务投资型保证收益#1.账载金额]}-{Q[11.4.意外伤害保险业务投资型保证收益#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#11.4.意外伤害保险业务投资型保证收益#3.纳税调整金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#11#zzje]}-{Q[tccit_qysds_a105120#11#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095560107187552256;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095560107187552256,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#btzqy',' ','A107011居民企业之间权益性投资收益优惠#2#1.被投资企业','4','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqy',' ',' ','{S[select ftzbdname from t_tccit_dg_b105037_sum where flabel=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077612246865030144;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077612246865030144,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#38#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#38#4.税收金额资产计税基础','1','38','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020605'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135407891919239168;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135407891919239168,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#24#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#24#研发活动费用金额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=24]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320593;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320593,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#3#wcgjwdmxeye','{Q[3#11.境外所得抵免限额]}-{Q[3#12.本年可抵免境外所得税额]}','A108000境外所得税收抵免明细表#3#13.未超过境外所得税抵免限额的余额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108000','wcgjwdmxeye','1',' ','{Q[tccit_qysds_a108000#3#jwsddmxe]}-{Q[tccit_qysds_a108000#3#bnkdmjwsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932754;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932754,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#10#qt','{Q[处置收益税收计算处置所得#9.其他]}-{Q[处置收益会计确认所得或损失#9.其他]}','A105030投资收益纳税调整明细#处置收益纳税调整金额#9.其他','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105030','qt','1',' ','{Q[tccit_qysds_a105030#9#qt]}-{Q[tccit_qysds_a105030#8#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321450;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321450,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#chjstzqrjeyqrgxsd','if({Q[3#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]}>{Q[3#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[3#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[3#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]})','A107011居民企业之间权益性投资收益优惠#3#16.撤回或减少投资确认金额_应确认的股息所得','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#3#chjstzqrjeljwfplryygj]}>{Q[tccit_qysds_a107011#3#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#3#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#3#chjstzqrjeljwfplryygj]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1112315727924214784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112315727924214784,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#9#snmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#9#5.上年末准予提取贷款损失准备金的贷款资产余额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkzcye',' ',' ','{S[select fsnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''9'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932565;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932565,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#25#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#25#4.资产计税基础','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''7010310'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114450700810806272;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114450700810806272,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#sjnbe',' ','A106000企业所得税弥补亏损明细表#1#10.使用境外所得弥补','1','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','sjnbe',' ',' ','{S[select sum(fsyjwsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932301;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932301,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#4#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#4#4.税收金额资产计税基础','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020103'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321019;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321019,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#czsxswclfs','[{ "val": "", "text": "" },{"val":"1","text":"一般性"},{"val":"2","text":"特殊性"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#212重组事项税务处理方式','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','czsxswclfs','3',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1114437393902994432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114437393902994432,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#4#gdmc',' ','A000000主要股东及分红情况#4#1.股东名称','4','4','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gdmc',' ',' ','{S[select h.fgdname from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=4 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321399;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321399,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#bnggfhywxcfzc',' ','A105060广告业务宣传费跨年纳税调整明细#金额#1.本年广告费用和业务宣传支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','bnggfhywxcfzc','1',' ','{S[SELECT FMONEY FROM t_tccit_advert_script WHERE FITEMNO=''3''  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114446343666926592;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114446343666926592,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#1#zjhm',' ','A000000主要股东及分红情况#1#3.证件号码','4','1','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjhm',' ',' ','{S[select h.FIDNUMBER from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=1 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320617;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320617,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#9#jwsddmsehj','{Q[9#12.本年可抵免境外所得税额]}+{Q[9#14.本年可抵免以前年度未抵免境外所得税额]}+{Q[9#18.按简易办法计算_小计]}','A108000境外所得税收抵免明细表#9#19.境外所得抵免所得税额合计','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsddmsehj','1',' ','{Q[tccit_qysds_a108000#9#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#9#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#9#jyjsxj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112293429653583872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112293429653583872,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#1#bnmdkye',' ','A105120贷款损失准备金及纳税调整明细表#1#2.本年末贷款资产余额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkye',' ',' ','{Q[tccit_qysds_a105120_dk#2#bnmdkye]}  +  {Q[tccit_qysds_a105120_dk#3#bnmdkye]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1114437279708873728;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114437279708873728,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#3#gdmc',' ','A000000主要股东及分红情况#3#1.股东名称','4','3','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gdmc',' ',' ','{S[select h.fgdname from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=3 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133300513467646976;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133300513467646976,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#12#fzjgmc',' ','A109010分支机构信息#12#2.分支机构名称','4','12','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''12'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133310670562109440;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133310670562109440,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#5#fpbl',' ','A109010分支机构信息#5#6.分配比例','1','5','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#5#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#5#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#5#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1135418424017840128;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135418424017840128,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#2#nd',' ','A107050税额抵免优惠明细表#2#1.年度','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','nd',' ',' ','{C[#declareyear-4]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321090;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321090,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#rdzcsyqsr',' ','A101010一般企业收入明细表#金额#7.让渡资产使用权收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','rdzcsyqsr','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=7 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113726747163020288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113726747163020288,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#7#qsind',' ','A105040专项用途财政性资金纳税调整明细#7#2.前四年度','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind',' ',' ','select fqsand from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''8'''); 
DELETE FROM t_tctb_formula WHERE FID = 1113696180459746304;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113696180459746304,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#dnknbks',' ','A106000企业所得税弥补亏损明细表#10#4.可弥补年限5年','1','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','dnknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-1 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-1 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}  #else #if({S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}>0 )    0-{S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']} #else  {S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320905;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320905,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#40#nstzje','{Q[40.（一）贷款损失准备金#1.账载金额]}-{Q[40.（一）贷款损失准备金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#40.一贷款损失准备金#3.纳税调整金额','1','40','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#40#zzje]}-{Q[tccit_qysds_a105120#40#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932666;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932666,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#fqqrsr','{Q[累计税收金额#6.分期收款方式销售货物收入]}+{Q[累计税收金额#7.持续时间超过12个月的建造合同收入]}+{Q[累计税收金额#8.其他分期确认收入]}','A105020未按权责发生确实收入调整明细#累计税收金额#5.分期确认收入','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','fqqrsr','1',' ','{Q[tccit_qysds_a105020#5#fqskfsxshwsr]}+{Q[tccit_qysds_a105020#5#cxsjcg12gy]}+{Q[tccit_qysds_a105020#5#qtfqqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932507;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932507,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#9#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#9#2.资产处置收入','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype in (''701030501'',''701030502'',''701030503'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932370;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932370,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#21#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#21#1.账载金额资产原值','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020303'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320868;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320868,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#3#nstzje','{Q[3.1.财产保险业务非投资型#1.账载金额]}-{Q[3.1.财产保险业务非投资型#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#3.1.财产保险业务非投资型#3.纳税调整金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#3#zzje]}-{Q[tccit_qysds_a105120#3#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320915;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320915,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#7#yfhdfyje','{Q[8#研发活动费用金额]}+{Q[9#研发活动费用金额]}+{Q[10#研发活动费用金额]}+{Q[11#研发活动费用金额]}+{Q[12#研发活动费用金额]}+{Q[13#研发活动费用金额]}+{Q[14#研发活动费用金额]}+{Q[15#研发活动费用金额]}','A107012研发费用加计扣除优惠明细#7#研发活动费用金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','{Q[tccit_qysds_a107012_mx#8#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#9#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#10#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#11#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#12#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#13#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#14#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#15#yfhdfyje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320644;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320644,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#7#jwsqsd','{Q[7#9.境外税后所得_小计]}+{Q[7#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[7#11.境外所得可抵免的所得税额_间接负担的所得税额]}','A108010境外所得纳税调整后所得明细表#7#14.境外税前所得','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsqsd','1',' ','{Q[tccit_qysds_a108010#7#jwshxj]}+{Q[tccit_qysds_a108010#7#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#7#jwsdkdmjjfd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338352,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#14#jmsde','if({Q[14.五、清洁发展机制项目#9.免税项目所得额]}+*{Q[14.五、清洁发展机制项目#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#14.五、清洁发展机制项目#11.减免所得额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#14#msxmsde]}+{Q[tccit_qysds_a107020#14#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#14#msxmsde]}+{Q[tccit_qysds_a107020#14#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320642;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320642,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#5#jwsqsd','{Q[5#9.境外税后所得_小计]}+{Q[5#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[5#11.境外所得可抵免的所得税额_间接负担的所得税额]}','A108010境外所得纳税调整后所得明细表#5#14.境外税前所得','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsqsd','1',' ','{Q[tccit_qysds_a108010#5#jwshxj]}+{Q[tccit_qysds_a108010#5#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#5#jwsdkdmjjfd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114391772903325696;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114391772903325696,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#qsndynbe',' ','A106000企业所得税弥补亏损明细表#4#6.弥补亏损企业类型','4','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and flosstype=''jnsd'']}>0)       {S[select fnumber  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and flosstype=''jnsd'']}    #else  {S[SELECT fqsndynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1069597240532865024;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069597240532865024,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#4#nstze',' ','A107020所得减免优惠明细表#4#8.纳税调整额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze',' ',' ','{S[select fnstz from t_tccit_getredu_sum where  FREDUCENAME in (1064506748737653761,1064508826394528768,1064508826394528769,1064508826394528770,1064508826394528771,1064508826394528772,1064508826394528773,1064508826394528774,1064508826394528775)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113738003777375232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113738003777375232,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#14#qsind',' ','A105040专项用途财政性资金纳税调整明细#14#2.前四年度','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind',' ',' ','{S[SELECT sum(e.FINCLUDEDTAXAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-4 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113758353315956736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113758353315956736,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#14#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#14#5.特殊性税务处理递延纳税税收金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010308'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321395;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321395,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#bnkcdyqndjze','if({Q[金额#3.本年符合条件的广告费和业务宣传费支出1-2]}>{Q[金额#6.本企业计算的广告费和业务宣传费扣除限额]},if(>{Q[金额#8.加：以前年度累计结转扣除额]}{Q[金额#8.加：以前年度累计结转扣除额]}>({Q[金额#6.本企业计算的广告费和业务宣传费扣除限额]}-{Q[金额#3.本年符合条件的广告费和业务宣传费支出1-2]})({Q[金额#6.本企业计算的广告费和业务宣传费扣除限额]}-{Q[金额#3.本年符合条件的广告费和业务宣传费支出1-2]}),{Q[金额#8.加：以前年度累计结转扣除额]}))','A105060广告业务宣传费跨年纳税调整明细#金额#9.减：本年扣除的以前年度结转额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','bnkcdyqndjze','1',' ','if({Q[tccit_qysds_a105060#1#bnfhtjdggfhywxcfzc]}>{Q[tccit_qysds_a105060#1#bqyjsdggfhywxcfkcxe]},0,if({Q[tccit_qysds_a105060#1#yqndljjzkce]}>({Q[tccit_qysds_a105060#1#bqyjsdggfhywxcfkcxe]}-{Q[tccit_qysds_a105060#1#bnfhtjdggfhywxcfzc]}),({Q[tccit_qysds_a105060#1#bqyjsdggfhywxcfkcxe]}-{Q[tccit_qysds_a105060#1#bnfhtjdggfhywxcfzc]}),{Q[tccit_qysds_a105060#1#yqndljjzkce]}))'); 
DELETE FROM t_tctb_formula WHERE FID = 1077603949760004096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077603949760004096,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#41#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#41#1.账载金额资产原值','1','41','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020613'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135455039612282880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135455039612282880,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#1#qsinddme',' ','A107050税额抵免优惠明细表#1#6.前四年度一抵免额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','qsinddme',' ',' ','{S[select fqsnddme from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320646;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320646,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#9#jwsqsd','{Q[9#9.境外税后所得_小计]}+{Q[9#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[9#11.境外所得可抵免的所得税额_间接负担的所得税额]}','A108010境外所得纳税调整后所得明细表#9#14.境外税前所得','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsqsd','1',' ','{Q[tccit_qysds_a108010#9#jwshxj]}+{Q[tccit_qysds_a108010#9#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#9#jwsdkdmjjfd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932167;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932167,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#ysyxgdzfbz',' ','A105020未按权责发生确实收入调整明细#4#10.与收益相关的政府补助','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','ysyxgdzfbz',' ',' ','{S[select ftaxincomecurrent from t_tccit_right_income_sum where FITEMTYPE=''001_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071730742658373632;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071730742658373632,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#16#xmsr',' ','A107020所得减免优惠明细表#16#4.项目收入','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr',' ',' ','{S[select   fincome from t_tccit_getredu_sum where FREDUCENAME=1064511941495720961 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321374;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321374,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#ghjfzc',' ','A105050职工薪酬支出明细#账载金额#7.工会经费支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','ghjfzc','1',' ','{S[select FZZJE from t_tccit_deduct_summary_dg where FITEMTYPE=''gonghui'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932836;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932836,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#16#ybnstzje','{Q[16#2.一般性税务处理税收金额]}-{Q[16#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#16#3.一般性税务处理纳税调整金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#16#ybssje]}-{Q[tccit_qysds_a105100#16#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321312,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#bzf',' ','A104000期间费用明细表#管理费用#17.包装费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','bzf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=17 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113708393333470208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113708393333470208,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#qsndyjbe',' ','A106000企业所得税弥补亏损明细表#7#5.可弥补年限10年','1','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndyjbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}>0)      {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}   #else  #if({S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}>0 )     0-{S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}  #else   {S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1071727968545707008;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071727968545707008,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#15#jbxmsde',' ','A107020所得减免优惠明细表#15#10.减半项目所得额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','{Q[tccit_qysds_a107020#13#jbxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112295921095326720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112295921095326720,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#2#snmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#2#5.上年末准予提取贷款损失准备金的贷款资产余额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkzcye',' ',' ','{S[select fsnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''2'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071735050074362880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071735050074362880,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#22#xmsr',' ','A107020所得减免优惠明细表#22#4.项目收入','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr',' ',' ','{S[select fincome from t_tccit_getredu_sum where FREDUCENAME in (1119510373058271232,1119510373058271233) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320822;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320822,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#2#nstzje','{Q[2.二、应收及预付款项坏账损失#1.资产损失的账载金额]}-{Q[2.二、应收及预付款项坏账损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#2.二、应收及预付款项坏账损失#6.纳税调整金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#2#zzje]}+{Q[tccit_qysds_a105090#2#zchxje]}-{Q[tccit_qysds_a105090#2#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932842;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932842,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#6#tsnstzje','{Q[6#5.特殊性税务处理递延纳税税收金额]}-{Q[6#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#6#6.特殊性税务处理递延纳税纳税调整金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#6#tsssje]}-{Q[tccit_qysds_a105100#6#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932265;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932265,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#5#cyzdqtz',' ','A105030投资收益纳税调整明细#5#3.持有至到期投资','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105030','cyzdqtz',' ',' ','{S[select fssjsczsr from t_tccit_asset_dispose_sum where fitemtype=''6010803'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321308;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321308,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#clf',' ','A104000期间费用明细表#管理费用#13.差旅费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','clf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=13 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321485;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321485,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#6#hjje','if({Q[金额#19.纳税调整后所得]}-{Q[金额#20.减：所得减免]}-{Q[金额#21.抵扣应纳税所得额]}-{Q[13#1.合计金额]}>=0,{Q[金额#19.纳税调整后所得]}-{Q[金额#20.减：所得减免]}-{Q[金额#21.抵扣应纳税所得额]}-{Q[13#1.合计金额]})','A107030抵扣应纳税所得额明细表#6#1.合计金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','if({Q[tccit_qysds_a100000#1#nstzhsd]}-{Q[tccit_qysds_a100000#1#sdjm]}-{Q[tccit_qysds_a100000#1#dkynssde]}-{Q[tccit_qysds_a107030#13#hjje]}>=0,{Q[tccit_qysds_a100000#1#nstzhsd]}-{Q[tccit_qysds_a100000#1#sdjm]}-{Q[tccit_qysds_a100000#1#dkynssde]}-{Q[tccit_qysds_a107030#13#hjje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1113701432382665728;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113701432382665728,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#nxbn',' ','A106000企业所得税弥补亏损明细表#11#11.可弥补年限8年','1','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','nxbn',' ',' ','{S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1095553598600823808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095553598600823808,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#jjkcqtzxyh',' ','A107010免税减计收入及加计扣除优惠明细表#1#30.加计扣除其他专项优惠','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','jjkcqtzxyh',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''3.2'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320636;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320636,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#9#jwsdkdmxj','{Q[8#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[8#11.境外所得可抵免的所得税额_间接负担的所得税额]}+{Q[8#12.境外所得可抵免的所得税额_享受税收饶让抵免税额]}','A108010境外所得纳税调整后所得明细表#9#13.境外所得可抵免的所得税额_小计','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdkdmxj','1',' ','{Q[tccit_qysds_a108010#8#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#8#jwsdkdmjjfd]}+{Q[tccit_qysds_a108010#8#jwsdkdmxssrrdm]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315463088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315463088,{ts'2021-06-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#35#hj','{Q[1.一、符合条件的小型微利企业减免企业所得税#1.金额]}+{Q[2.二、国家需要重点扶持的高新技术企业减按15%的税率征收企业所得税#1.金额]}+{Q[3.三、经济特区和上海浦东新区新设立的高新技术企业在区内取得的所得定期减免企业所得税#1.金额]}+{Q[4.四、受灾地区农村信用社免征企业所得税#1.金额]}+{Q[5.五、动漫企业自主开发、生产动漫产品定期减免企业所得税#1.金额]}+{Q[6.六、线宽小于0.8微米（含）的集成电路生产企业减免企业所得税#1.金额]}+{Q[7.七、线宽小于0.25微米的集成电路生产企业减按15%税率征收企业所得税#1.金额]}+{Q[8.八、投资额超过80亿元的集成电路生产企业减按15%税率征收企业所得税#1.金额]}+{Q[9.九、线宽小于0.25微米的集成电路生产企业减免企业所得税#1.金额]}+{Q[10.十、投资额超过80亿元的集成电路生产企业减免企业所得税#1.金额]}+{Q[11.十一、新办集成电路设计企业减免企业所得税#1.金额]}+{Q[12.十二、国家规划布局内集成电路设计企业可减按10%的税率征收企业所得税#1.金额]}+{Q[13.十三、符合条件的软件企业减免企业所得税#1.金额]}+{Q[14.十四、国家规划布局内重点软件企业可减按10%的税率征收企业所得税#1.金额]}+{Q[15.十五、符合条件的集成电路封装、测试企业定期减免企业所得税#1.金额]}+{Q[16.十六、符合条件的集成电路关键专用材料生产企业、集成电路专用设备生产企业定期减免企业所得税#1.金额]}+{Q[17.十七、经营性文化事业单位转制为企业的免征企业所得税#1.金额]}+{Q[18.十八、符合条件的生产和装配伤残人员专门用品企业免征企业所得税#1.金额]}+{Q[19.十九、技术先进型服务企业减按15%的税率征收企业所得税#1.金额]}+{Q[20.二十、服务贸易类技术先进型服务企业减按15%的税率征收企业所得税#1.金额]}+{Q[21.二十一、设在西部地区的鼓励类产业企业减按15%的税率征收企业所得税#1.金额]}+{Q[22.二十二、新疆困难地区新办企业定期减免企业所得税#1.金额]}+{Q[23.二十三、新疆喀什、霍尔果斯特殊经济开发区新办企业定期免征企业所得税#1.金额]}+{Q[24.二十四、广东横琴、福建平潭、深圳前海等地区的鼓励类产业企业减按15%税率征收企业所得税#1.金额]}+{Q[25.二十五、北京冬奥组委、北京冬奥会测试赛赛事组委会免征企业所得税#1.金额]}+{Q[26.二十六、线宽小于130纳米的集成电路生产企业减免企业所得税#1.金额]}+{Q[27.二十七、线宽小于65纳米或投资额超过150亿元的集成电路生产企业减免企业所得税#1.金额]}+{Q[28.二十八、其他#1.金额]}-{Q[29.二十九、减：项目所得额按法定税率减半征收企业所得税叠加享受减免税优惠#1.金额]}+{Q[30.三十、支持和促进重点群体创业就业企业限额减征企业所得税#1.金额]}+{Q[33.三十一、扶持自主就业退役士兵创业就业企业限额减征企业所得税#1.金额]}+{Q[34.三十二、民族自治地方的自治机关对本民族自治地方的企业应缴纳的企业所得税#1.金额]}','A107040减免所得税优惠明细表#35.合计#1.金额','1','35','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj','1',' ','if({Q[tccit_qysds_a107040#1#hj]}+{Q[tccit_qysds_a107040#2#hj]}+{Q[tccit_qysds_a107040#3#hj]}+{Q[tccit_qysds_a107040#4#hj]}+{Q[tccit_qysds_a107040#5#hj]}+{Q[tccit_qysds_a107040#6#hj]}+{Q[tccit_qysds_a107040#7#hj]}+{Q[tccit_qysds_a107040#8#hj]}+{Q[tccit_qysds_a107040#9#hj]}+{Q[tccit_qysds_a107040#10#hj]}+{Q[tccit_qysds_a107040#11#hj]}+{Q[tccit_qysds_a107040#12#hj]}+{Q[tccit_qysds_a107040#13#hj]}+{Q[tccit_qysds_a107040#14#hj]}+{Q[tccit_qysds_a107040#15#hj]}+{Q[tccit_qysds_a107040#16#hj]}+{Q[tccit_qysds_a107040#17#hj]}+{Q[tccit_qysds_a107040#18#hj]}+{Q[tccit_qysds_a107040#19#hj]}+{Q[tccit_qysds_a107040#20#hj]}+{Q[tccit_qysds_a107040#21#hj]}+{Q[tccit_qysds_a107040#22#hj]}+{Q[tccit_qysds_a107040#23#hj]}+{Q[tccit_qysds_a107040#24#hj]}+{Q[tccit_qysds_a107040#25#hj]}+{Q[tccit_qysds_a107040#26#hj]}+{Q[tccit_qysds_a107040#27#hj]}+{Q[tccit_qysds_a107040#28#hj]}-{Q[tccit_qysds_a107040#29#hj]}+{Q[tccit_qysds_a107040#30#hj]}+{Q[tccit_qysds_a107040#33#hj]}+{Q[tccit_qysds_a107040#34#hj]}<0,0,if({Q[tccit_qysds_a107040#1#hj]}+{Q[tccit_qysds_a107040#2#hj]}+{Q[tccit_qysds_a107040#3#hj]}+{Q[tccit_qysds_a107040#4#hj]}+{Q[tccit_qysds_a107040#5#hj]}+{Q[tccit_qysds_a107040#6#hj]}+{Q[tccit_qysds_a107040#7#hj]}+{Q[tccit_qysds_a107040#8#hj]}+{Q[tccit_qysds_a107040#9#hj]}+{Q[tccit_qysds_a107040#10#hj]}+{Q[tccit_qysds_a107040#11#hj]}+{Q[tccit_qysds_a107040#12#hj]}+{Q[tccit_qysds_a107040#13#hj]}+{Q[tccit_qysds_a107040#14#hj]}+{Q[tccit_qysds_a107040#15#hj]}+{Q[tccit_qysds_a107040#16#hj]}+{Q[tccit_qysds_a107040#17#hj]}+{Q[tccit_qysds_a107040#18#hj]}+{Q[tccit_qysds_a107040#19#hj]}+{Q[tccit_qysds_a107040#20#hj]}+{Q[tccit_qysds_a107040#21#hj]}+{Q[tccit_qysds_a107040#22#hj]}+{Q[tccit_qysds_a107040#23#hj]}+{Q[tccit_qysds_a107040#24#hj]}+{Q[tccit_qysds_a107040#25#hj]}+{Q[tccit_qysds_a107040#26#hj]}+{Q[tccit_qysds_a107040#27#hj]}+{Q[tccit_qysds_a107040#28#hj]}-{Q[tccit_qysds_a107040#29#hj]}+{Q[tccit_qysds_a107040#30#hj]}+{Q[tccit_qysds_a107040#33#hj]}+{Q[tccit_qysds_a107040#34#hj]}>{Q[tccit_qysds_a100000#1#ynsdse]},{Q[tccit_qysds_a100000#1#ynsdse]},{Q[tccit_qysds_a107040#1#hj]}+{Q[tccit_qysds_a107040#2#hj]}+{Q[tccit_qysds_a107040#3#hj]}+{Q[tccit_qysds_a107040#4#hj]}+{Q[tccit_qysds_a107040#5#hj]}+{Q[tccit_qysds_a107040#6#hj]}+{Q[tccit_qysds_a107040#7#hj]}+{Q[tccit_qysds_a107040#8#hj]}+{Q[tccit_qysds_a107040#9#hj]}+{Q[tccit_qysds_a107040#10#hj]}+{Q[tccit_qysds_a107040#11#hj]}+{Q[tccit_qysds_a107040#12#hj]}+{Q[tccit_qysds_a107040#13#hj]}+{Q[tccit_qysds_a107040#14#hj]}+{Q[tccit_qysds_a107040#15#hj]}+{Q[tccit_qysds_a107040#16#hj]}+{Q[tccit_qysds_a107040#17#hj]}+{Q[tccit_qysds_a107040#18#hj]}+{Q[tccit_qysds_a107040#19#hj]}+{Q[tccit_qysds_a107040#20#hj]}+{Q[tccit_qysds_a107040#21#hj]}+{Q[tccit_qysds_a107040#22#hj]}+{Q[tccit_qysds_a107040#23#hj]}+{Q[tccit_qysds_a107040#24#hj]}+{Q[tccit_qysds_a107040#25#hj]}+{Q[tccit_qysds_a107040#26#hj]}+{Q[tccit_qysds_a107040#27#hj]}+{Q[tccit_qysds_a107040#28#hj]}-{Q[tccit_qysds_a107040#29#hj]}+{Q[tccit_qysds_a107040#30#hj]}+{Q[tccit_qysds_a107040#33#hj]}+{Q[tccit_qysds_a107040#34#hj]}))'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320875;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320875,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#10#nstzje','{Q[10.4.意外伤害保险业务非投资型#1.账载金额]}-{Q[10.4.意外伤害保险业务非投资型#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#10.4.意外伤害保险业务非投资型#3.纳税调整金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#10#zzje]}-{Q[tccit_qysds_a105120#10#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1139919843378623488;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1139919843378623488,{ts'2021-04-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#34#jzfd',' ','A107040减免所得税优惠明细表#34#减征幅度','1','34','1066581598406760448','qysdsnb','tccit_qysds_a107040','jzfd',' ',' ','{S[select fjmbl from t_tccit_other_deductions a left join t_tccit_other_detentry b on a.fid=b.fid where a.forgid=''#orgid'' and a.fyear >= ''#startDate'' and a.fyear < ''#endDate'' and b.fproject=''1117362391177236484'']}*100'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932480,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#2#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#2#3.赔偿收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ',' {S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype in (''701030201'',''701030202'',''701030203'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932905;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932905,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#chjstzqrjeshcstzcb','{Q[6#4.投资成本]}*{Q[6#12.撤回或减少投资确认金额_减少投资比例]}','A107011居民企业之间权益性投资收益优惠#6#13.撤回或减少投资确认金额_收回初始投资成本','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeshcstzcb','1',' ','{Q[tccit_qysds_a107011#6#tzcb]}*{Q[tccit_qysds_a107011#6#chjstzqrjejstzbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932476;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932476,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#1#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#1#3.赔偿收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''7010301'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932500;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932500,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#7#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#7#2.资产处置收入','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype in (''701030401'',''701030402'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337810;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337810,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#3#nstze','{Q[1.一、农、林、牧、渔业项目#8.纳税调整额]}+{Q[2.一、农、林、牧、渔业项目#8.纳税调整额]}','A107020所得减免优惠明细表#3.一、农、林、牧、渔业项目小计#8.纳税调整额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze','1',' ','{Q[tccit_qysds_a107020#1#nstze]}+{Q[tccit_qysds_a107020#2#nstze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321222;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321222,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#zqywsxfjyjzcqt',' ','A102020金融企业支出明细#金额#29.证券业务其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','zqywsxfjyjzcqt','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=29 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321398;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321398,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#bcyiliaobx',' ','A105050职工薪酬支出明细#税收金额#11.补充医疗保险','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','bcyiliaobx','1',' ','#if({Q[tccit_qysds_a105050#1#bcyiliaobx]}>{Q[tccit_qysds_a105050#2#bcyiliaobx]}) #if({Q[tccit_qysds_a105050#2#bcyiliaobx]}>({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#bcyiliaobx]})) ({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#bcyiliaobx]}) #else  {Q[tccit_qysds_a105050#2#bcyiliaobx]}  #end #else   #if({Q[tccit_qysds_a105050#1#bcyiliaobx]}>({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#bcyiliaobx]}))  ({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#bcyiliaobx]})  #else {Q[tccit_qysds_a105050#1#bcyiliaobx]} #end #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1112221859836855296;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112221859836855296,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#19#bnd',' ','A107041高新技术企业优惠情况及明细表#19#1.本年度','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd',' ',' ','{S[select fcurryear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''5'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069475687653456896;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069475687653456896,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#30#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#30#2.资产处置收入','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype in (''70103080101'',''70103080102'',''70103080103'',''70103080104'',''70103080105'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320591;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320591,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#1#wcgjwdmxeye','{Q[1#11.境外所得抵免限额]}-{Q[1#12.本年可抵免境外所得税额]}','A108000境外所得税收抵免明细表#1#13.未超过境外所得税抵免限额的余额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108000','wcgjwdmxeye','1',' ','{Q[tccit_qysds_a108000#1#jwsddmxe]}-{Q[tccit_qysds_a108000#1#bnkdmjwsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932165;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932165,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#yzcxgdzfbz',' ','A105020未按权责发生确实收入调整明细#3#11.与资产相关的政府补助','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','yzcxgdzfbz',' ',' ','{S[select fzzjesum from t_tccit_right_income_sum where FITEMTYPE=''001_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932383;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932383,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#35#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#35#1.账载金额资产原值','1','35','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020502'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112314458249673728;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112314458249673728,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#9#snmsszbjye',' ','A105120贷款损失准备金及纳税调整明细表#9#3.上年末贷款损失准备金余额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmsszbjye',' ',' ','{S[select fsnmsszbjye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''9'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112312083711571968;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112312083711571968,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#6#snmdkye',' ','A105120贷款损失准备金及纳税调整明细表#6#1.上年末贷款资产余额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkye',' ',' ','{S[select fsnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''6'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932691;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932691,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#csgjxzhjzhy','[{"val":"1","text":"是"},{"val":"0","text":"否"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#106从事国家限制或禁止行业','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','csgjxzhjzhy','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932743;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932743,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#9#dqtz','{Q[处置收益税收计算处置收入#7.短期投资]}-{Q[处置收益计税基础#7.短期投资]}','A105030投资收益纳税调整明细#处置收益税收计算处置所得#7.短期投资','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105030','dqtz','1',' ','{Q[tccit_qysds_a105030#5#dqtz]}-{Q[tccit_qysds_a105030#7#dqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851112;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851112,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#5#kjzyhndkcdjze',' ','A105070捐赠支出及纳税调整明细#前二年度#7.可结转以后年度扣除的捐赠额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105070','kjzyhndkcdjze','1',' ','{S[select fmoney from  t_tccit_dg_b105021_sum where FITEMNO=''17a'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932591;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932591,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105090#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105090资产损失税前扣除及纳税调整明细表#表单名称','3','A105090','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321196;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321196,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#tbj',' ','A102020金融企业支出明细#金额#16.退保金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','tbj','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=16 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320618;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320618,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#1#jwshxj','{Q[1#2.境外税后所得_分支机构机构营业利润所得]}+{Q[1#3.境外税后所得_股息、红利等权益性投资所得]}+{Q[1#4.境外税后所得_利息所得]}+{Q[1#5.境外税后所得_租金所得]}+{Q[1#6.境外税后所得_特许权使用费所得]}+{Q[1#7.境外税后所得_财产转让所得]}+{Q[1#8.境外税后所得_其他所得]}','A108010境外所得纳税调整后所得明细表#1#9.境外税后所得_小计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwshxj','1',' ','{Q[tccit_qysds_a108010#1#jwshfzjgyylr]}+{Q[tccit_qysds_a108010#1#jwshgxhltzsd]}+{Q[tccit_qysds_a108010#1#jwshlxsd]}+{Q[tccit_qysds_a108010#1#jwshzjsd]}+{Q[tccit_qysds_a108010#1#jwshtxqfysd]}+{Q[tccit_qysds_a108010#1#jwshcczrsd]}+{Q[tccit_qysds_a108010#1#jwshqtsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851062;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851062,{ts'2022-02-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#kcltzxmqt',' ','A105000纳税调整项目明细#税收金额#30.扣除类调整其他','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','kcltzxmqt','1',' ','{S[select sum(ftaxamount) from t_tccit_zctz_expense_sum where (FITEMTYPE=''7010501'' or FITEMTYPE=''7010504'') and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}+{S[select sum(fssje) from t_tccit_deduct_other_sum where fitemtype in (''count'') and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932286;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932286,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#7#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#7#1.账载金额资产原值','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020106'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932826;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932826,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#6#ybnstzje','{Q[6#2.一般性税务处理税收金额]}-{Q[6#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#6#3.一般性税务处理纳税调整金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#6#ybssje]}-{Q[tccit_qysds_a105100#6#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321376;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321376,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#zfgjj',' ','A105050职工薪酬支出明细#账载金额#9.住房公积金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','zfgjj','1',' ','{S[SELECT fzzje FROM t_tccit_salary_summary_dg WHERE fitemtype=''commreserve'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932792;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932792,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#bzxjk','{Q[账载金额#8.各类基本社会保障性缴款]}-{Q[税收金额#8.各类基本社会保障性缴款]}','A105050职工薪酬支出明细#纳税调整金额#8.各类基本社会保障性缴款','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','bzxjk','1',' ','{Q[tccit_qysds_a105050#1#bzxjk]}-{Q[tccit_qysds_a105050#5#bzxjk]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113020014866404352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113020014866404352,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#1#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#1#2.一般性税务处理税收金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113721315908438016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113721315908438016,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#1#qend',' ','A105040专项用途财政性资金纳税调整明细#1#4.前二年度','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105040','qend',' ',' ','{C[#declareyear]}-2'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321300;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321300,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#ccshpk',' ','A104000期间费用明细表#管理费用#8.财产损耗、盘亏及毁损损失','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','ccshpk','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=8 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337844;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337844,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#24#yftqjfy','{Q[22.八、线宽小于65纳米或投资额超过150亿元的集成电路生产项目#7.应分摊期间费用]}+{Q[23.八、线宽小于65纳米或投资额超过151亿元的集成电路生产项目#7.应分摊期间费用]}','A107020所得减免优惠明细表#24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#7.应分摊期间费用','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy','1',' ','{Q[tccit_qysds_a107020#22#yftqjfy]}+{Q[tccit_qysds_a107020#23#yftqjfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338366;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338366,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#28#jmsde','if({Q[28.合计#9.免税项目所得额]}+{Q[28.合计#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#28.合计#11.减免所得额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#28#msxmsde]}+{Q[tccit_qysds_a107020#28#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#28#msxmsde]}+{Q[tccit_qysds_a107020#28#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931990;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931990,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042_ba#1#ksjsyhqnd1',' ','A107042软件、集成电路企业优惠情况基本信息表#1#3.获利年度\开始计算优惠期年度1','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107042_ba','ksjsyhqnd1',' ',' ','{S[select year(t.fhlnd) from t_tccit_soft_ic_jb_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemno=1]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932253;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932253,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#4#qt',' ','A105030投资收益纳税调整明细#4#9.其他','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105030','qt',' ',' ','{S[select fkjqrczsr from t_tccit_asset_dispose_sum where fitemtype=''6010809'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932850;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932850,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#14#tsnstzje','{Q[14#5.特殊性税务处理递延纳税税收金额]}-{Q[14#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#14#6.特殊性税务处理递延纳税纳税调整金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#14#tsssje]}-{Q[tccit_qysds_a105100#14#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113755765824653312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113755765824653312,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#10#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#10#4.特殊性税务处理递延纳税账载金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030402'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932944;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932944,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105010#tabname',' ','企业所得税年度纳税申报表填报表#A105010视同销售和房地产开发企业特定业务纳税调整明细表#表单名称','1','A105010','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105010'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321451;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321451,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#chjstzqrjeyqrgxsd','if({Q[4#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]}>{Q[4#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[4#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[4#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]})','A107011居民企业之间权益性投资收益优惠#4#16.撤回或减少投资确认金额_应确认的股息所得','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#4#chjstzqrjeljwfplryygj]}>{Q[tccit_qysds_a107011#4#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#4#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#4#chjstzqrjeljwfplryygj]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932220;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932220,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#1#cqzqtz',' ','A105030投资收益纳税调整明细#1#8.长期债券投资','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqzqtz',' ',' ','{S[select fzzje from t_tccit_invest_profit_sum where fitemtype=''6010408'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114443668690830336;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114443668690830336,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#10#zjlx',' ','A000000主要股东及分红情况#10#2.证件种类','1','10','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx',' ',' ','{S[select h.ffidtype from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=10 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075553638290;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075553638290,{ts'2021-03-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#qsndynbe','[{"val":"","text":""},{"val":"100","text":"一般企业"},{"val":"200","text":"符合条件的高新技术企业"},{"val":"300","text":"符合条件的科技型中小企业"},{"val":"400","text":"线宽小于 130 纳米(含)的集成电路生产企业"},{"val":"500","text":"受疫情影响困难行业企业"},{"val":"600","text":"电影行业企业"}]','A106000企业所得税弥补亏损明细表#11.本年度#6.弥补亏损企业类型','3','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1095563963581644800;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095563963581644800,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#tzcb',' ','A107011居民企业之间权益性投资收益优惠#6#4.投资成本','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzcb',' ',' ','{S[select fincost from t_tccit_dg_b105036_sum where fitemno=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069470325193849856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069470325193849856,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#24#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#24#7.资产损失准备金核销金额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''701030901'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133325352991696896;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133325352991696896,{ts'2022-01-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#zjgssfzftybtse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#14.总机构所属分支机构分摊本年应补退的所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','zjgssfzftybtse',' ',' ','{Q[tccit_qysds_a109000#1#zjgbnyftybtse]} * if({S[select count(*) from t_tccit_policy where forgid = ''#orgid'' and fenddate = ''#endDate'']}=0,0.25,{S[select ffzjgftbl/100  from t_tccit_policy where forgid = ''#orgid'' and fenddate = ''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320727;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320727,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#18#zzjebnzj','{Q[19.（一）专利权#2.账载金额本年折旧摊销额]}+{Q[20.（二）商标权#2.账载金额本年折旧摊销额]}+{Q[21.（三）著作权#2.账载金额本年折旧摊销额]}+{Q[22.（四）土地使用权#2.账载金额本年折旧摊销额]}+{Q[23.（五）非专利技术#2.账载金额本年折旧摊销额]}+{Q[24.（六）特许权使用费#2.账载金额本年折旧摊销额]}+{Q[25.（七）软件#2.账载金额本年折旧摊销额]}+{Q[27.（八）其他#2.账载金额本年折旧摊销额]}','A105080资产折旧摊销及纳税调整明细#18.三、无形资产19+20+21+22+23+24+25+27#2.账载金额本年折旧摊销额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj','1',' ','{Q[tccit_qysds_a105080#19#zzjebnzj]}+{Q[tccit_qysds_a105080#20#zzjebnzj]}+{Q[tccit_qysds_a105080#21#zzjebnzj]}+{Q[tccit_qysds_a105080#22#zzjebnzj]}+{Q[tccit_qysds_a105080#23#zzjebnzj]}+{Q[tccit_qysds_a105080#24#zzjebnzj]}+{Q[tccit_qysds_a105080#25#zzjebnzj]}+{Q[tccit_qysds_a105080#27#zzjebnzj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932281;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932281,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#2#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#2#1.账载金额资产原值','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020101'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321329;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321329,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#5#hdce',' ','A104000期间费用明细表#财务费用#22.汇兑差额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a104000','hdce','1',' ','{S[select ffinancecost from t_tccit_profit_fees_sum where fitemno=22 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069458367551958016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069458367551958016,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#11#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#11#7.资产损失准备金核销金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''701030502'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095567405402341376;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095567405402341376,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#btzlrfpqrjejdsj',' ','A107011居民企业之间权益性投资收益优惠#2#6.被投资企业利润分配确认金额_被投资企业做出利润分配或转股决定时间','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzlrfpqrjejdsj',' ',' ','{S[select fbizdate from t_tccit_dg_b105037_sum where fitemno=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320789;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320789,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#28#zcczsr','{Q[1.一、现金及银行存款损失#2.资产处置收入]}+{Q[2.二、应收及预付款项坏账损失#2.资产处置收入]}+{Q[5.三、存货损失#2.资产处置收入]}+{Q[7.四、固定资产损失#2.资产处置收入]}+{Q[9.五、无形资产损失#2.资产处置收入]}+{Q[12.六、在建工程损失#2.资产处置收入]}+{Q[14.七、生产性生物资产损失#2.资产处置收入]}+{Q[16.八、债权性投资损失#2.资产处置收入]}+{Q[23.九、股权（权益）性投资损失#2.资产处置收入]}+{Q[25.十、通过各种交易场所、市场买卖债券、股票、期货、基金以及金融衍生产品等发生的损失#2.资产处置收入]}+{Q[26.十一、打包出售资产损失#2.资产处置收入]}+{Q[27.十二、其他资产损失#2.资产处置收入]}','A105090资产损失税前扣除及纳税调整明细#28.合计#2.资产处置收入','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr','1',' ','{Q[tccit_qysds_a105090#1#zcczsr]}+{Q[tccit_qysds_a105090#2#zcczsr]}+{Q[tccit_qysds_a105090#5#zcczsr]}+{Q[tccit_qysds_a105090#7#zcczsr]}+{Q[tccit_qysds_a105090#9#zcczsr]}+{Q[tccit_qysds_a105090#12#zcczsr]}+{Q[tccit_qysds_a105090#14#zcczsr]}+{Q[tccit_qysds_a105090#16#zcczsr]}+{Q[tccit_qysds_a105090#23#zcczsr]}+{Q[tccit_qysds_a105090#25#zcczsr]}+{Q[tccit_qysds_a105090#26#zcczsr]}+{Q[tccit_qysds_a105090#27#zcczsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320880,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#15#nstzje','{Q[15.（四）长期健康险责任准备金#1.账载金额]}-{Q[15.（四）长期健康险责任准备金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#15.四长期健康险责任准备金#3.纳税调整金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#15#zzje]}-{Q[tccit_qysds_a105120#15#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932483;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932483,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#3#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#3#2.资产处置收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''701030201'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932750;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932750,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#10#jyxjrfz','{Q[处置收益税收计算处置所得#5.交易性金融负债]}-{Q[处置收益会计确认所得或损失#5.交易性金融负债]}','A105030投资收益纳税调整明细#处置收益纳税调整金额#5.交易性金融负债','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrfz','1',' ','{Q[tccit_qysds_a105030#9#jyxjrfz]}-{Q[tccit_qysds_a105030#8#jyxjrfz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932665;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932665,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#fqqrsr','{Q[本年税收金额#6.分期收款方式销售货物收入]}+{Q[本年税收金额#7.持续时间超过12个月的建造合同收入]}+{Q[本年税收金额#8.其他分期确认收入]}','A105020未按权责发生确实收入调整明细#本年税收金额#5.分期确认收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','fqqrsr','1',' ','{Q[tccit_qysds_a105020#4#fqskfsxshwsr]}+{Q[tccit_qysds_a105020#4#cxsjcg12gy]}+{Q[tccit_qysds_a105020#4#qtfqqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932873;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932873,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#czjylx','[{"val":"","text":""},{"val":"100","text":"法律形式改变"},{"val":"200","text":"债务重组"},{"val":"300","text":"股权收购"},{"val":"400","text":"资产收购"},{"val":"500","text":"合并"},{"val":"600","text":"分立"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#213重组交易类型','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','czjylx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1071730844579960832;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071730844579960832,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#16#xmcb',' ','A107020所得减免优惠明细表#16#5.项目成本','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb',' ',' ','{S[select   fcost from t_tccit_getredu_sum where FREDUCENAME=1064511941495720961 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114451949681721344;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114451949681721344,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#sjnbe',' ','A106000企业所得税弥补亏损明细表#9#10.使用境外所得弥补','1','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','sjnbe',' ',' ','{S[select sum(fsyjwsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932985;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932985,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#5#kjzyhnddmdse','{Q[前一年度#4.本年可抵免税额]}-{Q[前一年度#10.小计]}-{Q[前一年度#11.本年实际抵免的各年度税额]}','A107050税额抵免优惠明细表#前一年度#12.可结转以后年度抵免的税额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107050','kjzyhnddmdse','1',' ','{Q[tccit_qysds_a107050#5#bnkdmse]}-{Q[tccit_qysds_a107050#5#xj]}-{Q[tccit_qysds_a107050#5#bnsjdmdgndse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932176;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932176,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#zj',' ','A105020未按权责发生确实收入调整明细#2#2.租金','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','zj',' ',' ','{S[select fzzjecurrent from t_tccit_right_income_sum where FITEMTYPE=''002_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932647;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932647,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#stxsyysr','{Q[税收金额#2.非货币性资产交换视同销售收入]}+{Q[税收金额#3.用于市场推广或销售视同销售收入]}+{Q[税收金额#4.用于交际应酬视同销售收入]}+{Q[税收金额#5.用于职工奖励或福利视同销售收入]}+{Q[税收金额#6.用于股息分配视同销售收入]}+{Q[税收金额#7.用于对外捐赠视同销售收入]}+{Q[税收金额#8.用于对外投资项目视同销售收入]}+{Q[税收金额#9.提供劳务视同销售收入]}+{Q[税收金额#10.视同销售收入其他]}','A05010视同销售纳税调整明细#税收金额#1.视同销售营业收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','stxsyysr','1',' ','{Q[tccit_qysds_a105010#1#fhbxzcjhsr]}+{Q[tccit_qysds_a105010#1#yysctgsr]}+{Q[tccit_qysds_a105010#1#yyjjycsr]}+{Q[tccit_qysds_a105010#1#yyzgjlsr]}+{Q[tccit_qysds_a105010#1#yygxfpsr]}+{Q[tccit_qysds_a105010#1#yydwjzsr]}+{Q[tccit_qysds_a105010#1#yydwtzsr]}+{Q[tccit_qysds_a105010#1#tglwsr]}+{Q[tccit_qysds_a105010#1#stxsyysrqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932222;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932222,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#2#kgcsjrzc',' ','A105030投资收益纳税调整明细#2#2.可供出售金融资','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105030','kgcsjrzc',' ',' ','{S[select ftaxincome from t_tccit_invest_profit_sum where fitemtype=''6010402'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321241;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321241,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#zczjtx','if({Q[36.合计#9.纳税调整金额]}>={Q[36.合计#9.纳税调整金额]})','A105000纳税调整项目明细#调增金额#32.资产折旧、摊销','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','zczjtx','1',' ','if({Q[tccit_qysds_a105080#36#nstzje]}>=0,{Q[tccit_qysds_a105080#36#nstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320589;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320589,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#8#jwsdynse1','{Q[8#7.抵减境内亏损后的境外应纳税所得额]}*{Q[8#8.税率]}','A108000境外所得税收抵免明细表#8#9.境外所得应纳税额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsdynse1','1',' ','{Q[tccit_qysds_a108000#8#djjnkshjwyne]}*{Q[tccit_qysds_a108000#8#sl2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069459003567827968;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069459003567827968,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#15#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#15#7.资产损失准备金核销金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''701030701'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077612326749782016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077612326749782016,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#39#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#39#4.税收金额资产计税基础','1','39','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020606'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932798;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932798,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#7#zgjyjfzc','{Q[结转后年度扣除额#5.按税收规定比例扣除的职工教育经费]}','A105050职工薪酬支出明细#结转后年度扣除额#4.职工教育经费支出','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105050','zgjyjfzc','1',' ','{Q[tccit_qysds_a105050#7#blkcjyjf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932776,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#14#hj','{Q[计入本年应税金额#1.前五年度]}+{Q[计入本年应税金额#2.前四年度]}+{Q[计入本年应税金额#3.前三年度]}+{Q[计入本年应税金额#4.前二年度]}+{Q[计入本年应税金额#5.前一年度]}+{Q[计入本年应税金额#6.本年]}','A105040专项用途财政性资金纳税调整明细#计入本年应税金额#7.合计','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105040','hj','1',' ','{Q[tccit_qysds_a105040#14#qwnd]}+{Q[tccit_qysds_a105040#14#qsind]}+{Q[tccit_qysds_a105040#14#qsand]}+{Q[tccit_qysds_a105040#14#qend]}+{Q[tccit_qysds_a105040#14#qynd]}+{Q[tccit_qysds_a105040#14#bn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113757786665486336;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113757786665486336,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#9#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#9#5.特殊性税务处理递延纳税税收金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030401'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113018713214489600;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113018713214489600,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#16#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#16#1.一般性税务处理账载金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{Q[tccit_qysds_a105100#1#ybzzje]}+{Q[tccit_qysds_a105100#4#ybzzje]}+{Q[tccit_qysds_a105100#6#ybzzje]}+{Q[tccit_qysds_a105100#8#ybzzje]}+{Q[tccit_qysds_a105100#11#ybzzje]}+{Q[tccit_qysds_a105100#12#ybzzje]}+{Q[tccit_qysds_a105100#13#ybzzje]}+{Q[tccit_qysds_a105100#14#ybzzje]}+{Q[tccit_qysds_a105100#15#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320799;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320799,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#8#ssje','{Q[8.其中：固定资产盘亏、丢失、报废、损毁或被盗损失#4.资产计税基础]}-{Q[8.其中：固定资产盘亏、丢失、报废、损毁或被盗损失#2.资产处置收入]}-{Q[8.其中：固定资产盘亏、丢失、报废、损毁或被盗损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#8.其中：固定资产盘亏、丢失、报废、损毁或被盗损失#5.资产损失的税收金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#8#zcjsjc]}-{Q[tccit_qysds_a105090#8#zcczsr]}-{Q[tccit_qysds_a105090#8#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932196;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932196,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#cxsjcg12gy',' ','A105020未按权责发生确实收入调整明细#2#7.持续时间超过12个月的建造合同收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','cxsjcg12gy',' ',' ','{S[select fzzjecurrent from t_tccit_right_income_sum where FITEMTYPE=''003_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932545;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932545,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#20#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#20#4.资产计税基础','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''70103080104'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112317159138179072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112317159138179072,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#5#jtbl',' ','A105120贷款损失准备金及纳税调整明细表#5#7.计提比例','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jtbl',' ',' ','{S[select fjtbl from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''5'' ]}*100'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932170;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932170,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#ysyxgdzfbz',' ','A105020未按权责发生确实收入调整明细#5#10.与收益相关的政府补助','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','ysyxgdzfbz',' ',' ','{S[select ftaxincomesum from t_tccit_right_income_sum where FITEMTYPE=''001_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321199;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321199,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#thpfzc',' ','A102020金融企业支出明细#金额#18.摊回赔付支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','thpfzc','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=18 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320606;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320606,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#7#jyjsxj','{Q[7#15.按简易办法计算_按低于12.5%的实际税率计算的抵免额]}+{Q[7#16.按简易办法计算_按12.5%计算的抵免额]}+{Q[7#17.按简易办法计算_按25%计算的抵免额]}','A108000境外所得税收抵免明细表#7#18.按简易办法计算_小计','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsxj','1',' ','{Q[tccit_qysds_a108000#7#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#7#jyjsldyewdme]}+{Q[tccit_qysds_a108000#7#jyjsldewdme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133311342229563392;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133311342229563392,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#9#fpbl',' ','A109010分支机构信息#9#6.分配比例','1','9','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#9#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#9#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#9#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932659;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932659,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#kqsqdzjlxtxq','{Q[累计账载金额#2.租金]}+{Q[累计账载金额#3.利息]}+{Q[累计账载金额#4.特许权使用费]}','A105020未按权责发生确实收入调整明细#累计账载金额#1.跨期收取的租金、利息、特许权使用费收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','kqsqdzjlxtxq','1',' ','{Q[tccit_qysds_a105020#3#zj]}+{Q[tccit_qysds_a105020#3#lx]}+{Q[tccit_qysds_a105020#3#txqsyf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932748;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932748,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#10#cyzdqtz','{Q[处置收益税收计算处置所得#3.持有至到期投资]}-{Q[处置收益会计确认所得或损失#3.持有至到期投资]}','A105030投资收益纳税调整明细#处置收益纳税调整金额#3.持有至到期投资','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105030','cyzdqtz','1',' ','{Q[tccit_qysds_a105030#9#cyzdqtz]}-{Q[tccit_qysds_a105030#8#cyzdqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932246;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932246,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#4#kgcsjrzc',' ','A105030投资收益纳税调整明细#4#2.可供出售金融资','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105030','kgcsjrzc',' ',' ','{S[select fkjqrczsr from t_tccit_asset_dispose_sum where fitemtype=''6010802'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071732918101251072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071732918101251072,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#19#yhfs',' ','A107020所得减免优惠明细表#19#3.优惠方式','4','19','1066581598406760448','qysdsnb','tccit_qysds_a107020','yhfs',' ',' ','{S[select  fyhfs from t_tccit_getredu_sum where FREDUCENAME=1119507313238005760 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113776848745349120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113776848745349120,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#qsndynbe',' ','A106000企业所得税弥补亏损明细表#2#6.弥补亏损企业类型','4','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and flosstype=''jnsd'']}>0)       {S[select fnumber  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and flosstype=''jnsd'']}    #else  {S[SELECT fqsndynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1113756829290180608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113756829290180608,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#1#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#1#5.特殊性税务处理递延纳税税收金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321265;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321265,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#zlf',' ','A104000期间费用明细表#销售费用#11.租赁费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','zlf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=11 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112324507466513408;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112324507466513408,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#8#nstzje',' ','A105120贷款损失准备金及纳税调整明细表#8#11.纳税调整金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','nstzje',' ',' ','{Q[tccit_qysds_a105120_dk#8#bnmsszbjye]} - {Q[tccit_qysds_a105120_dk#8#snmsszbjye]} - {Q[tccit_qysds_a105120_dk#8#dksszbj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320773;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320773,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#30#nstzje','{Q[30.（二）租入固定资产的改建支出#2.账载金额本年折旧摊销额]}-{Q[30.（二）租入固定资产的改建支出#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#30.二租入固定资产的改建支出#9.纳税调整金额','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#30#zzjebnzj]}-{Q[tccit_qysds_a105080#30#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113738471207389184;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113738471207389184,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#14#qynd',' ','A105040专项用途财政性资金纳税调整明细#14#5.前一年度','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105040','qynd',' ',' ','{S[SELECT sum(e.FINCLUDEDTAXAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-1 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320626;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320626,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#9#jwshxj','{Q[9#2.境外税后所得_分支机构机构营业利润所得]}+{Q[9#3.境外税后所得_股息、红利等权益性投资所得]}+{Q[9#4.境外税后所得_利息所得]}+{Q[9#5.境外税后所得_租金所得]}+{Q[9#6.境外税后所得_特许权使用费所得]}+{Q[9#7.境外税后所得_财产转让所得]}+{Q[9#8.境外税后所得_其他所得]}','A108010境外所得纳税调整后所得明细表#9#9.境外税后所得_小计','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwshxj','1',' ','{Q[tccit_qysds_a108010#9#jwshfzjgyylr]}+{Q[tccit_qysds_a108010#9#jwshgxhltzsd]}+{Q[tccit_qysds_a108010#9#jwshlxsd]}+{Q[tccit_qysds_a108010#9#jwshzjsd]}+{Q[tccit_qysds_a108010#9#jwshtxqfysd]}+{Q[tccit_qysds_a108010#9#jwshcczrsd]}+{Q[tccit_qysds_a108010#9#jwshqtsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932314;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932314,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#5#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#5#8.税收金额累计折旧、摊销额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020104'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113699212564050944;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113699212564050944,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#nxbn',' ','A106000企业所得税弥补亏损明细表#3#11.可弥补年限8年','1','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','nxbn',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-8 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-8 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}  #else #if({S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}>0 )    0-{S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']} #else  {S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321016,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#jwsdynsdse','{Q[合计#9.境外所得应纳税额]}','A100000年度纳税申报表#金额#29.境外所得应纳所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','jwsdynsdse','1',' ','{Q[tccit_qysds_a108000#10#jwsdynse1]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931975;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931975,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#2#yqndljjzkce',' ','A105060广告业务宣传费跨年纳税调整明细#2#8.加：以前年度累计结转扣除额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105060','yqndljjzkce',' ',' ','{S[select famount from t_tccit_insurance_summary where fitemtype=''sum_before_year_deduct'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114420317347905536;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114420317347905536,{ts'2021-04-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#fzsj2',' ','A000000企业所得税年度纳税申报基础信息表#1#211-4发证时间2','4','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','fzsj2',' ',' ','{C[#issuedate_2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077603541217979392;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077603541217979392,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#40#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#40#1.账载金额资产原值','1','40','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020612'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932970;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932970,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A109010#tabname',' ','企业所得税年度纳税申报表填报表#A109010企业所得税汇总纳税分支机构所得税分配表#表单名称','1','A109010','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A109010'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321303;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321303,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#yxhhqyfrhhfyfddynsdstze','if({Q[账载金额#41.有限合伙企业法人合伙方应分得的应纳税所得额]}-{Q[税收金额#41.有限合伙企业法人合伙方应分得的应纳税所得额]}>)','A105000纳税调整项目明细#调减金额#41.有限合伙企业法人合伙方应分得的应纳税所得额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','yxhhqyfrhhfyfddynsdstze','1',' ','if({Q[tccit_qysds_a105000#1#yxhhqyfrhhfyfddynsdstze]}-{Q[tccit_qysds_a105000#2#yxhhqyfrhhfyfddynsdstze]}>0,{Q[tccit_qysds_a105000#1#yxhhqyfrhhfyfddynsdstze]}-{Q[tccit_qysds_a105000#2#yxhhqyfrhhfyfddynsdstze]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1131158824519294976;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1131158824519294976,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#1#kjxqy',' ','A107030抵扣应纳税所得额明细表#1#3.投资于种子期、初创期科技型企业','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107030','kjxqy',' ',' ','{S[select  fzzqcurrent  from t_tccit_dg_a100000_7_sum where fitemno=''9'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932731;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932731,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#8#ysgj','{Q[处置收益会计确认处置收入#4.衍生工具]}-{Q[处置收益账面价值#4.衍生工具]}','A105030投资收益纳税调整明细#处置收益会计确认所得或损失#4.衍生工具','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105030','ysgj','1',' ','{Q[tccit_qysds_a105030#4#ysgj]}-{Q[tccit_qysds_a105030#6#ysgj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320993;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320993,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#25#bnd','({Q[26.境内的外部研发费#1.本年度]}+{Q[28.可计入研发费用的境外的外部研发费#1.本年度]})*0.8','A107041高新技术企业优惠情况及明细表#25.委托外部研发费用#1.本年度','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd','1',' ','({Q[tccit_qysds_a107041#26#bnd]}+{Q[tccit_qysds_a107041#28#bnd]})*0.8'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932656;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932656,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#fdcqyxswwg','{Q[纳税调整金额#28.转回的销售未完工产品预计毛利额]}-{Q[纳税调整金额#29.转回实际发生的营业税金及附加、土地增值税]}','A05010视同销售纳税调整明细#纳税调整金额#26.房地产企业销售的未完工产品转完工产品特定业务计算的纳税调整额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','fdcqyxswwg','1',' ','{Q[tccit_qysds_a105010#2#zhdxswwgcp]}-{Q[tccit_qysds_a105010#2#zhsjfsdyysj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320713;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320713,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#hj','{Q[调减金额#1.收入类调整项目]}+{Q[调减金额#12.扣除类调整项目]}+{Q[调减金额#31.资产类调整项目]}+{Q[调减金额#36.特殊事项调整项目]}+{Q[调减金额#43.特别纳税调整应税所得]}+{Q[调减金额#44.其他]}','A105000纳税调整项目明细#调减金额#45.合计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','hj','1',' ','{Q[tccit_qysds_a105000#4#srltzxm]}+{Q[tccit_qysds_a105000#4#kclxmtz]}+{Q[tccit_qysds_a105000#4#zcltzxm]}+{Q[tccit_qysds_a105000#4#tssxtzxm]}+{Q[tccit_qysds_a105000#4#tbnstzyssd]}+{Q[tccit_qysds_a105000#4#ztqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320744;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320744,{ts'2021-02-08  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#36#ssje2014zje','{Q[8.（一）重要行业固定资产加速折旧#7.税收金额加速折旧、摊销统计额]}+{Q[9.（二）其他行业研发设备加速折旧#7.税收金额加速折旧、摊销统计额]}+{Q[10.（三）固定资产一次性扣除#7.税收金额加速折旧、摊销统计额]}+{Q[11.（四）技术进步、更新换代固定资产#7.税收金额加速折旧、摊销统计额]}+{Q[12.（五）常年强震动、高腐蚀固定资产#7.税收金额加速折旧、摊销统计额]}+{Q[13.（六）外购软件折旧#7.税收金额加速折旧、摊销统计额]}+{Q[14.（七）集成电路企业生产设备#7.税收金额加速折旧、摊销统计额]}+{Q[26.其中：享受企业外购软件加速摊销政策#7.税收金额加速折旧、摊销统计额]}','A105080资产折旧摊销及纳税调整明细#36.合计#7.税收金额加速折旧、摊销统计额','1','36','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje','1',' ','{Q[tccit_qysds_a105080#8#ssje2014zje]}+{Q[tccit_qysds_a105080#9#ssje2014zje]}+{Q[tccit_qysds_a105080#10#ssje2014zje]}+{Q[tccit_qysds_a105080#11#ssje2014zje]}+{Q[tccit_qysds_a105080#12#ssje2014zje]}+{Q[tccit_qysds_a105080#13#ssje2014zje]}+{Q[tccit_qysds_a105080#14#ssje2014zje]}+{Q[tccit_qysds_a105080#37#ssje2014zje]}+{Q[tccit_qysds_a105080#26#ssje2014zje]}+{Q[tccit_qysds_a105080#38#ssje2014zje]}+{Q[tccit_qysds_a105080#39#ssje2014zje]}+{Q[tccit_qysds_a105080#40#ssje2014zje]}+{Q[tccit_qysds_a105080#41#ssje2014zje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118810789499948032;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118810789499948032,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#6#je',' ','A107042软件、集成电路企业优惠情况及明细表#6#2.金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107042','je',' ',' ','{S[select t.fjesl from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''yffyze'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932767;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932767,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#12#qynd','{Q[符合不征税收入条件的财政性资金金额#5.前一年度]}-{Q[前一年度支出情况#5.前一年度]}-{Q[本年支出金额#5.前一年度]}','A105040专项用途财政性资金纳税调整明细#本年结余金额#5.前一年度','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105040','qynd','1',' ','{Q[tccit_qysds_a105040#3#qynd]}-{Q[tccit_qysds_a105040#9#qynd]}-{Q[tccit_qysds_a105040#10#qynd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932345;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932345,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#8#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#8#5.税收金额-税收折旧、摊销额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020601'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320814;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320814,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#23#ssje','{Q[23.九、股权（权益）性投资损失#4.资产计税基础]}-{Q[23.九、股权（权益）性投资损失#2.资产处置收入]}-{Q[23.九、股权（权益）性投资损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#23.九、股权权益性投资损失#5.资产损失的税收金额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#23#zcjsjc]}-{Q[tccit_qysds_a105090#23#zcczsr]}-{Q[tccit_qysds_a105090#23#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932961;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932961,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107040#tabname',' ','企业所得税年度纳税申报表填报表#A107040减免所得税优惠明细表#表单名称','1','A107040','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A107040'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932698;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932698,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#yxhhzfrhhr','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#204有限合伙制创业投资企业的法人合伙人','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','yxhhzfrhhr','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321170;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321170,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#jzzc',' ','A102010一般企业成本支出明细#金额#21.捐赠支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','jzzc','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=21 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321394;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321394,{ts'2021-06-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#blkcjyjf',' ','A105050职工薪酬支出明细#税收金额#5.按税收规定比例扣除的职工教育经费','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','blkcjyjf','1',' ','#if(({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#blkcjyjf]})>({Q[tccit_qysds_a105050#2#blkcjyjf]}+{Q[tccit_qysds_a105050#4#blkcjyjf]}))  ({Q[tccit_qysds_a105050#2#blkcjyjf]}+{Q[tccit_qysds_a105050#4#blkcjyjf]})  #else ({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#blkcjyjf]}) #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1135450173103958016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135450173103958016,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#3#bnyxdmdzysbtze',' ','A107050税额抵免优惠明细表#3#3.本年允许抵免的专用设备投资额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnyxdmdzysbtze',' ',' ','{S[select fbnyxdmdzysbtze from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''4'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932142;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932142,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#yydwjzsr',' ','A05010视同销售纳税调整明细#1#7.用于对外捐赠视同销售收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','yydwjzsr',' ',' ','{S[select sum(fincome) from t_tccit_thinkofsell_sum where FITEMTYPE=''50105'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095568370922734592;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095568370922734592,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#btzlrfpqrjesyje',' ','A107011居民企业之间权益性投资收益优惠#2#7.被投资企业利润分配确认金额_依决定归属于本公司的股息、红利等权益性投资收益金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzlrfpqrjesyje',' ',' ','{S[select fqddbtzzc  from t_tccit_dg_b105037_sum where flabel=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932716;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932716,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#9#hj','{Q[处置收益税收计算处置所得#1.交易性金融资产]}+{Q[处置收益税收计算处置所得#2.可供出售金融资]}+{Q[处置收益税收计算处置所得#3.持有至到期投资]}+{Q[处置收益税收计算处置所得#4.衍生工具]}+{Q[处置收益税收计算处置所得#5.交易性金融负债]}+{Q[处置收益税收计算处置所得#6.长期股权投资]}+{Q[处置收益税收计算处置所得#7.短期投资]}+{Q[处置收益税收计算处置所得#8.长期债券投资]}+{Q[处置收益税收计算处置所得#9.其他]}','A105030投资收益纳税调整明细#处置收益税收计算处置所得#10.合计','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105030','hj','1',' ','{Q[tccit_qysds_a105030#9#jyxjrzc]}+{Q[tccit_qysds_a105030#9#kgcsjrzc]}+{Q[tccit_qysds_a105030#9#cyzdqtz]}+{Q[tccit_qysds_a105030#9#ysgj]}+{Q[tccit_qysds_a105030#9#jyxjrfz]}+{Q[tccit_qysds_a105030#9#cqgqtz]}+{Q[tccit_qysds_a105030#9#dqtz]}+{Q[tccit_qysds_a105030#9#cqzqtz]}+{Q[tccit_qysds_a105030#9#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932568;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932568,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#26#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#26#3.赔偿收入','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''7010311'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932794;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932794,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#bcylbx','{Q[账载金额#10.补充养老保险]}-{Q[税收金额#10.补充养老保险]}','A105050职工薪酬支出明细#纳税调整金额#10.补充养老保险','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','bcylbx','1',' ','{Q[tccit_qysds_a105050#1#bcylbx]}-{Q[tccit_qysds_a105050#5#bcylbx]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321010;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321010,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#nstzjse','{Q[调减金额#45.合计]}','A100000年度纳税申报表#金额#16.纳税调整减少额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','nstzjse','1',' ','{Q[tccit_qysds_a105000#4#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133325277880100864;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133325277880100864,{ts'2022-01-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#czjzfpybtse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#13.财政集中分配本年应补退的所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','czjzfpybtse',' ',' ','{Q[tccit_qysds_a109000#1#zjgbnyftybtse]} * if({S[select count(*) from t_tccit_policy where forgid = ''#orgid'' and fenddate = ''#endDate'']}=0,0.25,{S[select fczjzfpbl/100  from t_tccit_policy where forgid = ''#orgid'' and fenddate = ''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462498;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462498,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#2#ssje','{Q[全额扣除的公益性捐赠-1#4.税收金额]}','A105070捐赠支出及纳税调整明细#全额扣除的公益性金额#4.税收金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105070','ssje','1',' ','{Q[tccit_qysds_a105070#11#ssje]}+{Q[tccit_qysds_a105070#12#ssje]}+{Q[tccit_qysds_a105070#13#ssje]}+{Q[tccit_qysds_a105070#14#ssje]}+{Q[tccit_qysds_a105070#15#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113726593676659712;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113726593676659712,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#7#qwnd',' ','A105040专项用途财政性资金纳税调整明细#7#1.前五年度','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','select fqsind from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''8'''); 
DELETE FROM t_tctb_formula WHERE FID = 1095581772244108288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095581772244108288,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#chjstzqrjezc',' ','A107011居民企业之间权益性投资收益优惠#7#11.撤回或减少投资确认金额_从被投资企业撤回或减少投资取得的资产','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjezc',' ',' ','{S[select fqddbtzzc  from t_tccit_dg_b105036_sum where ftranstype=''撤资'' and fitemno=3  and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932298;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932298,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#7#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#7#3.账载金额累计折旧、摊销额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020106'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114427994476340224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114427994476340224,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#qendynbe',' ','A106000企业所得税弥补亏损明细表#3#7.当年亏损额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','qendynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(flossmoney)  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  {S[SELECT fqendynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321493;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321493,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#3#jwynssde','if({Q[3#3.境外所得纳税调整后所得]}-{Q[3#4.弥补境外以前年度亏损]}>=)','A108000境外所得税收抵免明细表#3#5.境外应纳税所得额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwynssde','1',' ','if({Q[tccit_qysds_a108000#3#jwstzhsd]}-{Q[tccit_qysds_a108000#3#mbjwyqnks]}>=0,{Q[tccit_qysds_a108000#3#jwstzhsd]}-{Q[tccit_qysds_a108000#3#mbjwyqnks]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932571;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932571,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#27#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#27#2.资产处置收入','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''7010312'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932589;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932589,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105070#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105070捐赠支出及纳税调整明细表#表单名称','3','A105070','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1113679899429909504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113679899429909504,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#hbflzrknbks',' ','A106000企业所得税弥补亏损明细表#3#3.分立转出的亏损额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','hbflzrknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'']}>0)      {S[select sum(fflzcje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'']}   #else  #if({S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}<0 )     0-{S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}  #else   {S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932606;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932606,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A108010#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A108010境外所得纳税调整后所得明细表#表单名称','3','A108010','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932287;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932287,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#2#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#2#2.账载金额本年折旧摊销额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020101'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135344369302561792;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135344369302561792,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#15#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#15#研发活动费用金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=15]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932763;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932763,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#12#qwnd','{Q[符合不征税收入条件的财政性资金金额#1.前五年度]}-{Q[前五年度支出情况#1.前五年度]}-{Q[前四年度支出情况#1.前五年度]}-{Q[前三年度支出情况#1.前五年度]}-{Q[前二年度支出情况#1.前五年度]}-{Q[前一年度支出情况#1.前五年度]}-{Q[本年支出金额#1.前五年度]}','A105040专项用途财政性资金纳税调整明细#本年结余金额#1.前五年度','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd','1',' ','{Q[tccit_qysds_a105040#3#qwnd]}-{Q[tccit_qysds_a105040#5#qwnd]}-{Q[tccit_qysds_a105040#6#qwnd]}-{Q[tccit_qysds_a105040#7#qwnd]}-{Q[tccit_qysds_a105040#8#qwnd]}-{Q[tccit_qysds_a105040#9#qwnd]}-{Q[tccit_qysds_a105040#10#qwnd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932465;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932465,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#27#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#27#8.税收金额累计折旧、摊销额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020308'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321069;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321069,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#stxszb','{Q[税收金额#11.视同销售营业成本]}','A105000纳税调整项目明细#税收金额#13.视同销售成本','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','stxszb','1',' ','{Q[tccit_qysds_a105010#1#stxsyycb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123715810058308608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123715810058308608,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#31#jbxmsde',' ','A107020所得减免优惠明细表#31#10.减半项目所得额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','{Q[tccit_qysds_a107020#29#jbxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320741;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320741,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#36#ssjessgdzje','{Q[1.一、固定资产#5.税收金额-税收折旧、摊销额]}+{Q[15.二、生产性生物资产#5.税收金额-税收折旧、摊销额]}+{Q[18.三、无形资产（19+20+21+22+23+24+25+27）#5.税收金额-税收折旧、摊销额]}+{Q[28.四、长期待摊费用#5.税收金额-税收折旧、摊销额]}+{Q[34.五、油气勘探投资#5.税收金额-税收折旧、摊销额]}+{Q[35.六、油气开发投资#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#36.合计#5.税收金额-税收折旧、摊销额','1','36','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje','1',' ','{Q[tccit_qysds_a105080#1#ssjessgdzje]}+{Q[tccit_qysds_a105080#15#ssjessgdzje]}+{Q[tccit_qysds_a105080#18#ssjessgdzje]}+{Q[tccit_qysds_a105080#28#ssjessgdzje]}+{Q[tccit_qysds_a105080#34#ssjessgdzje]}+{Q[tccit_qysds_a105080#35#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320771;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320771,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#28#nstzje','{Q[28.四、长期待摊费用#2.账载金额本年折旧摊销额]}-{Q[28.四、长期待摊费用#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#28.四、长期待摊费用#9.纳税调整金额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#28#zzjebnzj]}-{Q[tccit_qysds_a105080#28#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338361;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338361,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#23#jmsde','if({Q[23.八、线宽小于65纳米或投资额超过151亿元的集成电路生产项目#9.免税项目所得额]}+{Q[23.八、线宽小于65纳米或投资额超过151亿元的集成电路生产项目#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#23.八、线宽小于65纳米或投资额超过151亿元的集成电路生产项目#11.减免所得额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#23#msxmsde]}+{Q[tccit_qysds_a107020#23#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#23#msxmsde]}+{Q[tccit_qysds_a107020#23#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932198;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932198,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#cxsjcg12gy',' ','A105020未按权责发生确实收入调整明细#4#7.持续时间超过12个月的建造合同收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','cxsjcg12gy',' ',' ','{S[select ftaxincomecurrent from t_tccit_right_income_sum where FITEMTYPE=''003_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321068;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321068,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#tzsy','{Q[持有收益税收金额#10.合计]}{Q[处置收益税收计算处置所得#10.合计]}','A105000纳税调整项目明细#税收金额#4.投资收益','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','tzsy','1',' ','{Q[tccit_qysds_a105030#2#hj]}{Q[tccit_qysds_a105030#9#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075553638292;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075553638292,{ts'2021-03-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#qsndynbe','[{"val":"","text":""},{"val":"100","text":"一般企业"},{"val":"200","text":"符合条件的高新技术企业"},{"val":"300","text":"符合条件的科技型中小企业"},{"val":"400","text":"线宽小于 130 纳米(含)的集成电路生产企业"},{"val":"500","text":"受疫情影响困难行业企业"},{"val":"600","text":"电影行业企业"}]','A106000企业所得税弥补亏损明细表#1.前十年度#6.弥补亏损企业类型','3','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320872,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#7#nstzje','{Q[7.2.人寿保险业务无保证收益#1.账载金额]}-{Q[7.2.人寿保险业务无保证收益#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#7.2.人寿保险业务无保证收益#3.纳税调整金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#7#zzje]}-{Q[tccit_qysds_a105120#7#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581606619207871;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581606619207871,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#srltzxmqt',' ','A105000纳税调整项目明细#1#11.收入类调整项目其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','srltzxmqt',' ',' ','{S[select sum(fzzje) from t_tccit_zctz_expense_sum where FITEMTYPE=''7010503'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]} + {S[select sum(fzzje) from t_tccit_income_other_sum where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932988;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932988,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#8#kjzyhnddmdse','{Q[前四年度#12.可结转以后年度抵免的税额]}+{Q[前三年度#12.可结转以后年度抵免的税额]}+{Q[前二年度#12.可结转以后年度抵免的税额]}+{Q[前一年度#12.可结转以后年度抵免的税额]}+{Q[本年度#12.可结转以后年度抵免的税额]}','A107050税额抵免优惠明细表#可结转以后年度抵免的税额合计#12.可结转以后年度抵免的税额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a107050','kjzyhnddmdse','1',' ','{Q[tccit_qysds_a107050#2#kjzyhnddmdse]}+{Q[tccit_qysds_a107050#3#kjzyhnddmdse]}+{Q[tccit_qysds_a107050#4#kjzyhnddmdse]}+{Q[tccit_qysds_a107050#5#kjzyhnddmdse]}+{Q[tccit_qysds_a107050#6#kjzyhnddmdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321386;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321386,{ts'2021-06-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#bcyiliaobx',' ','A105050职工薪酬支出明细#实际发生额#11.补充医疗保险','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','bcyiliaobx','1',' ','{S[select fsjje from t_tccit_deduct_summary_dg where FITEMTYPE=''yiliao'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932400;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932400,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#34#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#34#2.账载金额本年折旧摊销额','1','34','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020501'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095565152306118656;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095565152306118656,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#tzbl',' ','A107011居民企业之间权益性投资收益优惠#6#5.投资比例','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzbl',' ',' ','{S[select fnumorrate  from t_tccit_dg_b105036_sum where fitemno=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112323219689356288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112323219689356288,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#8#jszbje',' ','A105120贷款损失准备金及纳税调整明细表#8#8.按本年末准予提取贷款资产余额与计提比例计算的准备金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jszbje',' ',' ','{Q[tccit_qysds_a105120_dk#8#bnmdkzcye]} * {Q[tccit_qysds_a105120_dk#8#jtbl]}/100'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320587;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320587,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#6#jwsdynse1','{Q[6#7.抵减境内亏损后的境外应纳税所得额]}*{Q[6#8.税率]}','A108000境外所得税收抵免明细表#6#9.境外所得应纳税额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsdynse1','1',' ','{Q[tccit_qysds_a108000#6#djjnkshjwyne]}*{Q[tccit_qysds_a108000#6#sl2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932664;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932664,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#fqqrsr','{Q[累计账载金额#6.分期收款方式销售货物收入]}+{Q[累计账载金额#7.持续时间超过12个月的建造合同收入]}+{Q[累计账载金额#8.其他分期确认收入]}','A105020未按权责发生确实收入调整明细#累计账载金额#5.分期确认收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','fqqrsr','1',' ','{Q[tccit_qysds_a105020#3#fqskfsxshwsr]}+{Q[tccit_qysds_a105020#3#cxsjcg12gy]}+{Q[tccit_qysds_a105020#3#qtfqqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135410010344711168;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135410010344711168,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#42#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#42#研发活动费用金额','1','42','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=42]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123713711119535104;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123713711119535104,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#31#xgsf',' ','A107020所得减免优惠明细表#31#6.相关税费','1','31','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf',' ',' ','{Q[tccit_qysds_a107020#29#xgsf]}+{Q[tccit_qysds_a107020#30#xgsf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133306269906617344;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133306269906617344,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#9#fzjgsrze',' ','A109010分支机构信息#9#3.营业收入','1','9','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''9'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932538;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932538,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#19#zzje',' ','A105090资产损失税前扣除及纳税调整明细#19#1.资产损失的账载金额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''70103080103'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077609587005243392;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077609587005243392,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#41#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#41#3.账载金额累计折旧、摊销额','1','41','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020613'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135450458492790784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135450458492790784,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#5#bnyxdmdzysbtze',' ','A107050税额抵免优惠明细表#5#3.本年允许抵免的专用设备投资额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnyxdmdzysbtze',' ',' ','{S[select fbnyxdmdzysbtze from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''6'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704544392042496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704544392042496,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#51#hj',' ','A107040减免所得税优惠明细表#51#1.金额','1','51','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932482;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932482,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#3#zzje',' ','A105090资产损失税前扣除及纳税调整明细#3#1.资产损失的账载金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ',' {S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''701030201'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320798;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320798,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#7#ssje','{Q[7.四、固定资产损失#4.资产计税基础]}-{Q[7.四、固定资产损失#2.资产处置收入]}-{Q[7.四、固定资产损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#7.四、固定资产损失#5.资产损失的税收金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#7#zcjsjc]}-{Q[tccit_qysds_a105090#7#zcczsr]}-{Q[tccit_qysds_a105090#7#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321430;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321430,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#12#kjz','{Q[1.前十年度#11.当年可结转以后年度弥补的亏损额]}+{Q[2.前九年度#11.当年可结转以后年度弥补的亏损额]}+{Q[3.前八年度#11.当年可结转以后年度弥补的亏损额]}+{Q[4.前七年度#11.当年可结转以后年度弥补的亏损额]}+{Q[5.前六年度#11.当年可结转以后年度弥补的亏损额]}+{Q[6.前五年度#11.当年可结转以后年度弥补的亏损额]}+{Q[7.前四年度#11.当年可结转以后年度弥补的亏损额]}+{Q[8.前三年度#11.当年可结转以后年度弥补的亏损额]}+{Q[9.前二年度#11.当年可结转以后年度弥补的亏损额]}+{Q[10.前一年度#11.当年可结转以后年度弥补的亏损额]}+{Q[11.本年度#11.当年可结转以后年度弥补的亏损额]}','A106000企业所得税弥补亏损明细表#12.可结转以后年度弥补的亏损额合计#11.当年可结转以后年度弥补的亏损额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a106000','kjz','1',' ','{Q[tccit_qysds_a106000#1#kjz]}+{Q[tccit_qysds_a106000#2#kjz]}+{Q[tccit_qysds_a106000#3#kjz]}+{Q[tccit_qysds_a106000#4#kjz]}+{Q[tccit_qysds_a106000#5#kjz]}+{Q[tccit_qysds_a106000#6#kjz]}+{Q[tccit_qysds_a106000#7#kjz]}+{Q[tccit_qysds_a106000#8#kjz]}+{Q[tccit_qysds_a106000#9#kjz]}+{Q[tccit_qysds_a106000#10#kjz]}+{Q[tccit_qysds_a106000#11#kjz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337815;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337815,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#6#nstze','{Q[4.二、国家重点扶持的公共基础设施项目#8.纳税调整额]}+{Q[5.二、国家重点扶持的公共基础设施项目#8.纳税调整额]}','A107020所得减免优惠明细表#6.二、国家重点扶持的公共基础设施项目小计#8.纳税调整额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze','1',' ','{Q[tccit_qysds_a107020#4#nstze]}+{Q[tccit_qysds_a107020#5#nstze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320701;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320701,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#4#hj','{Q[管理费用境外支付#2.劳务费]}+{Q[管理费用境外支付#3.咨询顾问费]}+{Q[管理费用境外支付#6.佣金和手续费]}+{Q[管理费用境外支付#11.租赁费]}+{Q[管理费用境外支付#15.运输、仓储费]}+{Q[管理费用境外支付#16.修理费]}+{Q[管理费用境外支付#18.技术转让费]}+{Q[管理费用境外支付#19.研究费用]}+{Q[管理费用境外支付#25.其他]}','A104000期间费用明细表#管理费用境外支付#26.合计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a104000','hj','1',' ','{Q[tccit_qysds_a104000#4#lwf]}+{Q[tccit_qysds_a104000#4#zxgwf]}+{Q[tccit_qysds_a104000#4#yjsxf]}+{Q[tccit_qysds_a104000#4#zlf]}+{Q[tccit_qysds_a104000#4#ysccf]}+{Q[tccit_qysds_a104000#4#xlf]}+{Q[tccit_qysds_a104000#4#jszrf]}+{Q[tccit_qysds_a104000#4#yjfy]}+{Q[tccit_qysds_a104000#4#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337835;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337835,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#18#nstze','{Q[16.六、符合条件的节能服务公司实施的合同能源管理项目#8.纳税调整额]}+{Q[17.六、符合条件的节能服务公司实施的合同能源管理项目#8.纳税调整额]}','A107020所得减免优惠明细表#18.六、符合条件的节能服务公司实施的合同能源管理项目小计#8.纳税调整额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze','1',' ','{Q[tccit_qysds_a107020#16#nstze]}+{Q[tccit_qysds_a107020#17#nstze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321377;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321377,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#bcylbx',' ','A105050职工薪酬支出明细#账载金额#10.补充养老保险','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','bcylbx','1',' ','{S[select FZZJE from t_tccit_deduct_summary_dg where FITEMTYPE=''yanglao'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095552666811024384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095552666811024384,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#qtjjsrsqjtfwsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#24.1.取得的社区家庭服务收入在计算应纳税所得额时减计收','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','qtjjsrsqjtfwsr',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''2.6'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321081;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321081,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#qycz','{Q[16#1.一般性税务处理账载金额]}+{Q[16#4.特殊性税务处理递延纳税账载金额]}','A105000纳税调整项目明细#账载金额#37.企业重组','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','qycz','1',' ','{Q[tccit_qysds_a105100#16#ybzzje]}+{Q[tccit_qysds_a105100#16#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932641;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932641,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#yywzc','{Q[金额#34.非流动资产处置损失]}+{Q[金额#35.非货币性资产交换损失]}+{Q[金额#36.债务重组损失]}+{Q[金额#37.捐赠支出]}+{Q[金额#38.非常损失]}+{Q[金额#39.其他]}','A102020金融企业支出明细#金额#33.营业外支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','yywzc','1',' ','{Q[tccit_qysds_a102020#1#fldzcczss]}+{Q[tccit_qysds_a102020#1#fhbxzcjhss]}+{Q[tccit_qysds_a102020#1#zwzcss]}+{Q[tccit_qysds_a102020#1#jzzc]}+{Q[tccit_qysds_a102020#1#fcss]}+{Q[tccit_qysds_a102020#1#yywzcqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135445824785115136;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135445824785115136,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#3#bndmqynse',' ','A107050税额抵免优惠明细表#3#2.本年抵免前应纳税额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','bndmqynse',' ',' ','{S[select fbndmqynse from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''4'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321446;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321446,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#btzqsqrjeyqrgxsd','if({Q[6#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]}>{Q[6#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]},{Q[6#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]},{Q[6#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]})','A107011居民企业之间权益性投资收益优惠#6#10.被投资企业清算确认金额_应确认的股息所得','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#6#btzqsqrjeqssyzc]}>{Q[tccit_qysds_a107011#6#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#6#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#6#btzqsqrjeqssyzc]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1113729696782142464;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113729696782142464,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#10#qsind',' ','A105040专项用途财政性资金纳税调整明细#10#2.前四年度','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind',' ',' ','{S[SELECT sum(e.FPAYAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-4 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118814633210589184;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118814633210589184,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#24#ssyh',' ','A107042软件、集成电路企业优惠情况及明细表#24#3.税收优惠指标名称','4','24','1066581598406760448','qysdsnb','tccit_qysds_a107042','ssyh',' ',' ','{S[select t.fitemname from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''qtzb2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112315015177747456;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112315015177747456,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#9#bnmsszbjye',' ','A105120贷款损失准备金及纳税调整明细表#9#4.本年末贷款损失准备金余额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmsszbjye',' ',' ','{S[select fbnmsszbjye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''9'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112250900912537600;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112250900912537600,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#2#bnmdkye',' ','A105120贷款损失准备金及纳税调整明细表#2#2.本年末贷款资产余额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkye',' ',' ','{S[select fbnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''2'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1068919535920440320;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1068919535920440320,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#1#xmsr',' ','A107020所得减免优惠明细表#1#4.项目收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr',' ',' ','{S[select FINCOME from t_tccit_getredu_sum where  FREDUCENAME in (1064403692599497729,1064416857580229632,1064416857580229633,1064416857580229634,1064416857580229636,1064416857580229637,1064416857580229638,1064416857580229639,1064506234591581184,1064506234591581185,1064506234591581186) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320734;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320734,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#28#zzjezcjs','{Q[29.（一）已足额提取折旧的固定资产的改建支出#3.账载金额累计折旧、摊销额]}+{Q[30.（二）租入固定资产的改建支出#3.账载金额累计折旧、摊销额]}+{Q[31.（三）固定资产的大修理支出#3.账载金额累计折旧、摊销额]}+{Q[32.（四）开办费#3.账载金额累计折旧、摊销额]}+{Q[33.（五）其他#3.账载金额累计折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#28.四、长期待摊费用#3.账载金额累计折旧、摊销额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs','1',' ','{Q[tccit_qysds_a105080#29#zzjezcjs]}+{Q[tccit_qysds_a105080#30#zzjezcjs]}+{Q[tccit_qysds_a105080#31#zzjezcjs]}+{Q[tccit_qysds_a105080#32#zzjezcjs]}+{Q[tccit_qysds_a105080#33#zzjezcjs]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135410109103793152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135410109103793152,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#43#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#43#研发活动费用金额','1','43','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=43]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932981;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932981,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#5#xj','{Q[前一年度#9.前一年度一抵免额]}','A107050税额抵免优惠明细表#前一年度#10.小计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107050','xj','1',' ','{Q[tccit_qysds_a107050#5#qynddme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113019701677724672;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113019701677724672,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#5#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#5#2.一般性税务处理税收金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030201'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095472457373978624;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095472457373978624,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#cawhqdsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#14.中国残奥委会取得北京冬奥组委分期支付的收入免征企业所得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','cawhqdsr',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''1.5'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113736758354298880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113736758354298880,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#13#qwnd',' ','A105040专项用途财政性资金纳税调整明细#13#1.前五年度','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','{S[SELECT sum(e.FFINANCIALAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-5 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133296372154607616;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133296372154607616,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#8#fzjgnsrsbh',' ','A109010分支机构信息#8#1.分支机构纳税人识别号','4','8','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''8'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932527;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932527,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#14#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#14#2.资产处置收入','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype in(''701030701'',''701030702'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932673;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932673,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#hj','{Q[本年账载金额#1.跨期收取的租金、利息、特许权使用费收入]}+{Q[本年账载金额#5.分期确认收入]}+{Q[本年账载金额#9.政府补助递延收入]}+{Q[本年账载金额#13.其他未按权责发生制确认收入]}','A105020未按权责发生确实收入调整明细#本年账载金额#14.合计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','hj','1',' ','{Q[tccit_qysds_a105020#2#kqsqdzjlxtxq]}+{Q[tccit_qysds_a105020#2#fqqrsr]}+{Q[tccit_qysds_a105020#2#zfbzdysr]}+{Q[tccit_qysds_a105020#2#qtwaqzfszqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321101;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321101,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#jwyssddjjnks','{Q[金额#13.利润总额]}-{Q[金额#14.境外所得金额]}+{Q[金额#15.纳税调整增加额]}-{Q[金额#16.纳税调整减少额]}-{Q[金额#17.减：免税、减计收入及加计扣除]}>=if(<&{Q[合计#5.境外应纳税所得额]}>=&{Q[合计#6.抵减境内亏损]}{Q[合计#6.抵减境内亏损]}{Q[合计#6.抵减境内亏损]}>=>{Q[金额#13.利润总额]}-{Q[金额#14.境外所得金额]}+{Q[金额#15.纳税调整增加额]}-{Q[金额#16.纳税调整减少额]}-{Q[金额#17.减：免税、减计收入及加计扣除]}>{Q[合计#5.境外应纳税所得额]}>','A100000年度纳税申报表#金额#18.加：境外应税所得抵减境内亏损','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','jwyssddjjnks','1',' ','if({Q[tccit_qysds_a100000#1#lrze]}-{Q[tccit_qysds_a100000#1#jwsdje]}+{Q[tccit_qysds_a100000#1#nstzzje]}-{Q[tccit_qysds_a100000#1#nstzjse]}-{Q[tccit_qysds_a100000#1#msjjsrjjjkc]}>=0,0,if({Q[tccit_qysds_a100000#1#lrze]}-{Q[tccit_qysds_a100000#1#jwsdje]}+{Q[tccit_qysds_a100000#1#nstzzje]}-{Q[tccit_qysds_a100000#1#nstzjse]}-{Q[tccit_qysds_a100000#1#msjjsrjjjkc]}<0&{Q[tccit_qysds_a108000#10#jwynssde]}>=0&{Q[tccit_qysds_a108000#10#djjnks]}>0,if({Q[tccit_qysds_a100000#1#lrze]}-{Q[tccit_qysds_a100000#1#jwsdje]}+{Q[tccit_qysds_a100000#1#nstzzje]}-{Q[tccit_qysds_a100000#1#nstzjse]}-{Q[tccit_qysds_a100000#1#msjjsrjjjkc]}>0,if({Q[tccit_qysds_a108000#10#jwynssde]}>{Q[tccit_qysds_a100000#1#lrze]}-{Q[tccit_qysds_a100000#1#jwsdje]}+{Q[tccit_qysds_a100000#1#nstzzje]}-{Q[tccit_qysds_a100000#1#nstzjse]}-{Q[tccit_qysds_a100000#1#msjjsrjjjkc]},{Q[tccit_qysds_a100000#1#lrze]}-{Q[tccit_qysds_a100000#1#jwsdje]}+{Q[tccit_qysds_a100000#1#nstzzje]}-{Q[tccit_qysds_a100000#1#nstzjse]}-{Q[tccit_qysds_a100000#1#msjjsrjjjkc]},{Q[tccit_qysds_a108000#10#jwynssde]}),if({Q[tccit_qysds_a108000#10#jwynssde]}>0-({Q[tccit_qysds_a100000#1#lrze]}-{Q[tccit_qysds_a100000#1#jwsdje]}+{Q[tccit_qysds_a100000#1#nstzzje]}-{Q[tccit_qysds_a100000#1#nstzjse]}-{Q[tccit_qysds_a100000#1#msjjsrjjjkc]}),0-({Q[tccit_qysds_a100000#1#lrze]}-{Q[tccit_qysds_a100000#1#jwsdje]}+{Q[tccit_qysds_a100000#1#nstzzje]}-{Q[tccit_qysds_a100000#1#nstzjse]}-{Q[tccit_qysds_a100000#1#msjjsrjjjkc]}),{Q[tccit_qysds_a108000#10#jwynssde]})),0))'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932231;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932231,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#yxhhqyfrhhfyfddynsdstze',' ','A105000纳税调整项目明细#2#41.有限合伙企业法人合伙方应分得的应纳税所得额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','yxhhqyfrhhfyfddynsdstze',' ',' ','{S[select sum(fssje) from t_tccit_hhqyhhr_summary where forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321328;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321328,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#5#lxsz',' ','A104000期间费用明细表#财务费用#21.利息收支','1','5','1066581598406760448','qysdsnb','tccit_qysds_a104000','lxsz','1',' ','{S[select ffinancecost from t_tccit_profit_fees_sum where fitemno=21 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932644;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932644,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#mjfylzzsr','{Q[金额#11.接受捐赠收入]}+{Q[金额#12.会费收入]}+{Q[金额#13.提供劳务收入]}+{Q[金额#14.商品销售收入]}+{Q[金额#15.政府补助收入]}+{Q[金额#16.民间投资收益]}+{Q[金额#17.其他收入]}','A103000事业单位支出明细#金额#10.民间非营利组织收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','mjfylzzsr','1',' ','{Q[tccit_qysds_a103000#1#jsjzsr]}+{Q[tccit_qysds_a103000#1#hfsr]}+{Q[tccit_qysds_a103000#1#tglwsr]}+{Q[tccit_qysds_a103000#1#spxssr]}+{Q[tccit_qysds_a103000#1#zfbzsr]}+{Q[tccit_qysds_a103000#1#mjtzsy]}+{Q[tccit_qysds_a103000#1#mjfylzzsrqtsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932727;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932727,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#3#qt','{Q[持有收益税收金额#9.其他]}-{Q[持有收益账载金额#9.其他]}','A105030投资收益纳税调整明细#持有收益纳税调整金额#9.其他','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105030','qt','1',' ','{Q[tccit_qysds_a105030#2#qt]}-{Q[tccit_qysds_a105030#1#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320687;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320687,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#10#bnxj','{Q[合计#8.本年实际抵免以前年度未抵免的境外已缴所得税额_前五年]}+{Q[合计#9.本年实际抵免以前年度未抵免的境外已缴所得税额_前四年]}+{Q[合计#10.本年实际抵免以前年度未抵免的境外已缴所得税额_前三年]}+{Q[合计#11.本年实际抵免以前年度未抵免的境外已缴所得税额_前二年]}+{Q[合计#12.本年实际抵免以前年度未抵免的境外已缴所得税额_前一年]}','A108030跨年度结转抵免境外所得税明细表#合计#13.本年实际抵免以前年度未抵免的境外已缴所得税额_小计','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108030','bnxj','1',' ','{Q[tccit_qysds_a108030#10#bnqwn]}+{Q[tccit_qysds_a108030#10#bnqsin]}+{Q[tccit_qysds_a108030#10#bnqsann]}+{Q[tccit_qysds_a108030#10#bnqln]}+{Q[tccit_qysds_a108030#10#bnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932570;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932570,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#27#zzje',' ','A105090资产损失税前扣除及纳税调整明细#27#1.资产损失的账载金额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''7010312'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932407;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932407,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#22#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#22#3.账载金额累计折旧、摊销额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020304'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321390;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321390,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#3#bcylbx',' ','A105050职工薪酬支出明细#税收规定扣除率#10.补充养老保险','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105050','bcylbx','1',' ','{S[select frate from t_tccit_deduct_summary_dg where FITEMTYPE=''yanglao'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932131;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932131,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#yyzgjlcb',' ','A05010视同销售纳税调整明细#2#15.用于职工奖励或福利视同销售成本','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','yyzgjlcb',' ',' ','{Q[tccit_qysds_a105010#1#yyzgjlcb]}*-1'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321442;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321442,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#btzqsqrjeyqrgxsd','if({Q[2#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]}>{Q[2#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]},{Q[2#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]},{Q[2#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]})','A107011居民企业之间权益性投资收益优惠#2#10.被投资企业清算确认金额_应确认的股息所得','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#2#btzqsqrjeqssyzc]}>{Q[tccit_qysds_a107011#2#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#2#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#2#btzqsqrjeqssyzc]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932930;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932930,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#15#kjxqy','{Q[7#3.投资于种子期、初创期科技型企业]}+{Q[13#3.投资于种子期、初创期科技型企业]}','A107030抵扣应纳税所得额明细表#15#3.投资于种子期、初创期科技型企业','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107030','kjxqy','1',' ','{Q[tccit_qysds_a107030#7#kjxqy]}+{Q[tccit_qysds_a107030#13#kjxqy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932452;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932452,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#32#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#32#5.税收金额-税收折旧、摊销额','1','32','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020404'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932751;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932751,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#10#cqgqtz','{Q[处置收益税收计算处置所得#6.长期股权投资]}-{Q[处置收益会计确认所得或损失#6.长期股权投资]}','A105030投资收益纳税调整明细#处置收益纳税调整金额#6.长期股权投资','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqgqtz','1',' ','{Q[tccit_qysds_a105030#9#cqgqtz]}-{Q[tccit_qysds_a105030#8#cqgqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932683;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932683,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#cxsjcg12gy','{Q[本年税收金额#7.持续时间超过12个月的建造合同收入]}-{Q[本年账载金额#7.持续时间超过12个月的建造合同收入]}','A105020未按权责发生确实收入调整明细#纳税调整金额#7.持续时间超过12个月的建造合同收入','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','cxsjcg12gy','1',' ','{Q[tccit_qysds_a105020#4#cxsjcg12gy]}-{Q[tccit_qysds_a105020#2#cxsjcg12gy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113601302602268672;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113601302602268672,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#hbflzrknbks',' ','A106000企业所得税弥补亏损明细表#1#3.分立转出的亏损额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','hbflzrknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'']}>0)      {S[select sum(fflzcje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'']}   #else  #if({S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}<0 )     0-{S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}  #else   {S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075553638287;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075553638287,{ts'2021-03-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#qsndynbe','[{"val":"","text":""},{"val":"100","text":"一般企业"},{"val":"200","text":"符合条件的高新技术企业"},{"val":"300","text":"符合条件的科技型中小企业"},{"val":"400","text":"线宽小于 130 纳米(含)的集成电路生产企业"},{"val":"500","text":"受疫情影响困难行业企业"},{"val":"600","text":"电影行业企业"}]','A106000企业所得税弥补亏损明细表#10.前一年度#6.弥补亏损企业类型','3','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1071725786509382656;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071725786509382656,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#13#nstze',' ','A107020所得减免优惠明细表#13#8.纳税调整额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze',' ',' ','{S[select  fnstz from t_tccit_getredu_sum where FREDUCENAME=1064511471960165376 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320702;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320702,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#5#hj','{Q[财务费用#6.佣金和手续费]}+{Q[财务费用#21.利息收支]}+{Q[财务费用#22.汇兑差额]}+{Q[财务费用#23.现金折扣]}+{Q[财务费用#25.其他]}','A104000期间费用明细表#财务费用#26.合计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a104000','hj','1',' ','{Q[tccit_qysds_a104000#5#yjsxf]}+{Q[tccit_qysds_a104000#5#lxsz]}+{Q[tccit_qysds_a104000#5#hdce]}+{Q[tccit_qysds_a104000#5#xjzk]}+{Q[tccit_qysds_a104000#5#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321094;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321094,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#czgdzcsr',' ','A101010一般企业收入明细表#金额#12.出租固定资产收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','czgdzcsr','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=12 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112312500331788288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112312500331788288,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#10#snmdkye',' ','A105120贷款损失准备金及纳税调整明细表#10#1.上年末贷款资产余额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkye',' ',' ','{Q[tccit_qysds_a105120_dk#1#snmdkye]} + {Q[tccit_qysds_a105120_dk#8#snmdkye]}+ {Q[tccit_qysds_a105120_dk#9#snmdkye]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932382;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932382,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#34#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#34#1.账载金额资产原值','1','34','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020501'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932725;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932725,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#3#dqtz','{Q[持有收益税收金额#7.短期投资]}-{Q[持有收益账载金额#7.短期投资]}','A105030投资收益纳税调整明细#持有收益纳税调整金额#7.短期投资','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105030','dqtz','1',' ','{Q[tccit_qysds_a105030#2#dqtz]}-{Q[tccit_qysds_a105030#1#dqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113721021174695936;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113721021174695936,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#1#qsind',' ','A105040专项用途财政性资金纳税调整明细#1#2.前四年度','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind',' ',' ','{C[#declareyear]}-4'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321009;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321009,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#nstzzje','{Q[调增金额#45.合计]}','A100000年度纳税申报表#金额#15.纳税调整增加额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','nstzzje','1',' ','{Q[tccit_qysds_a105000#3#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932938;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932938,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A101020#tabname',' ','企业所得税年度纳税申报表填报表#A101020金融企业收入明细表#表单名称','1','A101020','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A101020'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1069476170141068288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069476170141068288,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#30#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#30#3.赔偿收入','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype in (''70103080101'',''70103080102'',''70103080103'',''70103080104'',''70103080105'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320738;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320738,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#36#zzjezczz','{Q[1.一、固定资产#1.账载金额资产原值]}+{Q[15.二、生产性生物资产#1.账载金额资产原值]}+{Q[18.三、无形资产（19+20+21+22+23+24+25+27）#1.账载金额资产原值]}+{Q[28.四、长期待摊费用#1.账载金额资产原值]}+{Q[34.五、油气勘探投资#1.账载金额资产原值]}+{Q[35.六、油气开发投资#1.账载金额资产原值]}','A105080资产折旧摊销及纳税调整明细#36.合计#1.账载金额资产原值','1','36','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz','1',' ','{Q[tccit_qysds_a105080#1#zzjezczz]}+{Q[tccit_qysds_a105080#15#zzjezczz]}+{Q[tccit_qysds_a105080#18#zzjezczz]}+{Q[tccit_qysds_a105080#28#zzjezczz]}+{Q[tccit_qysds_a105080#34#zzjezczz]}+{Q[tccit_qysds_a105080#35#zzjezczz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932297;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932297,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#6#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#6#3.账载金额累计折旧、摊销额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020105'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320812;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320812,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#21#ssje','{Q[21.其他债权性投资损失#4.资产计税基础]}-{Q[21.其他债权性投资损失#2.资产处置收入]}-{Q[21.其他债权性投资损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#21.其他债权性投资损失#5.资产损失的税收金额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#21#zcjsjc]}-{Q[tccit_qysds_a105090#21#zcczsr]}-{Q[tccit_qysds_a105090#21#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069596184935600128;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069596184935600128,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#4#xgsf',' ','A107020所得减免优惠明细表#4#6.相关税费','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf',' ',' ','{S[select frelaxtax from t_tccit_getredu_sum where  FREDUCENAME in (1064506748737653761,1064508826394528768,1064508826394528769,1064508826394528770,1064508826394528771,1064508826394528772,1064508826394528773,1064508826394528774,1064508826394528775)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321306;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321306,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#zlf',' ','A104000期间费用明细表#管理费用#11.租赁费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','zlf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=11 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338365;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338365,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#27#jmsde','if(({Q[27.九、其他小计#9.免税项目所得额]}+{Q[27.九、其他小计#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#27.九、其他小计#11.减免所得额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#27#msxmsde]}+{Q[tccit_qysds_a107020#27#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#27#msxmsde]}+{Q[tccit_qysds_a107020#27#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321059;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321059,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#3#hj','{Q[32.经济特区和上海浦东新区新设立的高新技术企业定期减免税额#4.合计]}','A107040减免所得税优惠明细表#3.三、经济特区和上海浦东新区新设立的高新技术企业在区内取得的所得定期减免企业所得税#1.金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj','1',' ','{Q[tccit_qysds_a107041#32#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932355;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932355,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#11#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#11#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020607'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069454192055217152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069454192055217152,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#4#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#4#7.资产损失准备金核销金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''701030202'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931982;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931982,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#qtjjsr','{Q[金额#24.1.取得的社区家庭服务收入在计算应纳税所得额时减计收]}+{Q[金额#24.2其他减计收入-其它]}','A107010免税减计收入及加计扣除优惠明细表#1#24.其他减计收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','qtjjsr',' ',' ','{Q[tccit_qysds_a107010#1#qtjjsrsqjtfwsr]}+{Q[tccit_qysds_a107010#1#qtjjsrqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462511;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462511,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#8#nstjje','{Q[限额扣除的公益性捐赠#6.纳税调减金额]}','A105070捐赠支出及纳税调整明细#合计#6.纳税调减金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105070','nstjje','1',' ','{Q[tccit_qysds_a105070#3#nstjje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932173;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932173,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#qt',' ','A105020未按权责发生确实收入调整明细#1#12.其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','qt',' ',' ','{S[select fsignamount from t_tccit_right_income_sum where FITEMTYPE=''001_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932467;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932467,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#30#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#30#8.税收金额累计折旧、摊销额','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020402'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112296025214729216;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112296025214729216,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#2#bnmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#2#6.本年末准予提取贷款损失准备金的贷款资产余额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkzcye',' ',' ','{S[select fbnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''2'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133308892370027520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133308892370027520,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#5#fzjgzcze',' ','A109010分支机构信息#5#5.资产总额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''5'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135344958191232000;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135344958191232000,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#21#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#21#研发活动费用金额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=21]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1110158389130187776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1110158389130187776,{ts'2021-03-12  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#1#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#1#1.一般性税务处理账载金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133313544323049472;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133313544323049472,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#9#fpse',' ','A109010分支机构信息#9#7.分配所得税额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#9#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112294207713753088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112294207713753088,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#1#bnmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#1#6.本年末准予提取贷款损失准备金的贷款资产余额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkzcye',' ',' ','{Q[tccit_qysds_a105120_dk#2#bnmdkzcye]}  +  {Q[tccit_qysds_a105120_dk#3#bnmdkzcye]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1133306931432244224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133306931432244224,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#2#fzjggzze',' ','A109010分支机构信息#2#4.职工薪酬','1','2','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''2'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320988;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320988,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#15#hj','{Q[16.内部研究开发投入#4.合计]}+{Q[25.委托外部研发费用#4.合计]}','A107041高新技术企业优惠情况及明细表#15.归集的高新研发费用金额#4.合计','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj','1',' ','{Q[tccit_qysds_a107041#16#hj]}+{Q[tccit_qysds_a107041#25#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320775;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320775,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#32#nstzje','{Q[32.（四）开办费#2.账载金额本年折旧摊销额]}-{Q[32.（四）开办费#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#32.四开办费#9.纳税调整金额','1','32','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#32#zzjebnzj]}-{Q[tccit_qysds_a105080#32#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112218923488510976;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112218923488510976,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#12#hj',' ','A107041高新技术企业优惠情况及明细表#12#4.合计','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{S[select fpeopleamount from t_tccit_a301010201_people where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fpeopletype=''2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932923;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932923,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#3#zxgxjsqy','{Q[1#2.投资于未上市中小高新技术企业]}*{Q[2#2.投资于未上市中小高新技术企业]}','A107030抵扣应纳税所得额明细表#3#2.投资于未上市中小高新技术企业','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107030','zxgxjsqy','1',' ','{S[select  fwsscurrent  from t_tccit_dg_a100000_7_sum where fitemno=''11'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932654;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932654,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#fdckfqytdyw','{Q[纳税调整金额#24.销售未完工产品预计毛利额]}-{Q[纳税调整金额#25.实际发生的营业税金及附加、土地增值税]}','A05010视同销售纳税调整明细#纳税调整金额#22.房地产企业销售未完工开发产品特定业务计算的纳税调整额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','fdckfqytdyw','1',' ','{Q[tccit_qysds_a105010#2#xswwgcpyjmle]}-{Q[tccit_qysds_a105010#2#sjfsdyysj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112322136132860928;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112322136132860928,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#9#jtbl',' ','A105120贷款损失准备金及纳税调整明细表#9#7.计提比例','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jtbl',' ',' ','{S[select fjtbl from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''9'' ]}*100'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321354;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321354,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#qtzc',' ','A103000事业单位支出明细#金额#23.其他支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','qtzc','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=23 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133325013076912128;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133325013076912128,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#zjgbnyftybtse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#11.总机构本年度应分摊的应补退的所得税','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','zjgbnyftybtse',' ',' ','{Q[tccit_qysds_a109000#1#zjgyyftdbnsjynsdse]} - {Q[tccit_qysds_a109000#1#bnljyysds]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321129;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321129,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#fcbf',' ','A101020金融企业收入明细#金额#30.分出保费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','fcbf','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=30 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321012;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321012,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#dkynssde','{Q[11.本年度#9.使用境内所得弥补]}','A100000年度纳税申报表#金额#21.抵扣应纳税所得额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','dkynssde','1',' ','{Q[tccit_qysds_a106000#11#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320581;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320581,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#9#djjnkshjwyne','{Q[8#5.境外应纳税所得额]}-{Q[8#6.抵减境内亏损]}','A108000境外所得税收抵免明细表#9#7.抵减境内亏损后的境外应纳税所得额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108000','djjnkshjwyne','1',' ','{Q[tccit_qysds_a108000#8#jwynssde]}-{Q[tccit_qysds_a108000#8#djjnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932152,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#yydwtzcb',' ','A05010视同销售纳税调整明细#1#18.用于对外投资项目视同销售成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','yydwtzcb',' ',' ','{S[select sum(fcost) from t_tccit_thinkofsell_sum where FITEMTYPE=''50106'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932251;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932251,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#4#dqtz',' ','A105030投资收益纳税调整明细#4#7.短期投资','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105030','dqtz',' ',' ','{S[select fkjqrczsr from t_tccit_asset_dispose_sum where fitemtype=''6010807'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114438065645944832;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114438065645944832,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#8#gdmc',' ','A000000主要股东及分红情况#8#1.股东名称','4','8','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gdmc',' ',' ','{S[select h.fgdname from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=8 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932963;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932963,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107042#tabname',' ','企业所得税年度纳税申报表填报表#A107042软件、集成电路企业优惠情况及明细表#表单名称','1','A107042','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A107042'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1113018291091346432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113018291091346432,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#11#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#11#1.一般性税务处理账载金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010305'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932475;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932475,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#1#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#1#2.资产处置收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''7010301'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932696;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932696,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#czjwgljy','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#202存在境外关联交易','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','czjwgljy','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321437;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321437,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#kjz','{Q[7.前四年度#8.当年待弥补的亏损额]}-{Q[7.前四年度#9.使用境内所得弥补]}-{Q[7.前四年度#10.使用境外所得弥补]}','A106000企业所得税弥补亏损明细表#7.前四年度#11.当年可结转以后年度弥补的亏损额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','kjz','1',' ','if({Q[tccit_qysds_a106000#7#qyndynbe]}>{Q[tccit_qysds_a106000#7#hj]}+{Q[tccit_qysds_a106000#7#sjnbe]},{Q[tccit_qysds_a106000#7#qyndynbe]}-{Q[tccit_qysds_a106000#7#hj]}-{Q[tccit_qysds_a106000#7#sjnbe]},{Q[tccit_qysds_a106000#7#hj]}+{Q[tccit_qysds_a106000#7#sjnbe]}-{Q[tccit_qysds_a106000#7#qyndynbe]})'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338344;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338344,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#4#jmsde','if({Q[4.二、国家重点扶持的公共基础设施项目#9.免税项目所得额]}+{Q[4.二、国家重点扶持的公共基础设施项目#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#4.二、国家重点扶持的公共基础设施项目#11.减免所得额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#4#msxmsde]}+{Q[tccit_qysds_a107020#4#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#4#msxmsde]}+{Q[tccit_qysds_a107020#4#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320796;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320796,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#5#ssje','{Q[5.三、存货损失#4.资产计税基础]}-{Q[5.三、存货损失#2.资产处置收入]}-{Q[5.三、存货损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#5.三、存货损失#5.资产损失的税收金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#5#zcjsjc]}-{Q[tccit_qysds_a105090#5#zcczsr]}-{Q[tccit_qysds_a105090#5#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114427795725050880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114427795725050880,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#qendynbe',' ','A106000企业所得税弥补亏损明细表#2#7.当年亏损额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','qendynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(flossmoney)  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  {S[SELECT fqendynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932486;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932486,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#4#zzje',' ','A105090资产损失税前扣除及纳税调整明细#4#1.资产损失的账载金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''701030202'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932699;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932699,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#cytzqy','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#205创业投资企业','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','cytzqy','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932869;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932869,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#qylx','[ { "val": "", "text": "" }, { "val": "100", "text": "非跨地区经营企业" }, { "val": "210", "text": "总机构（跨省）——适用《跨地区经营汇总纳税企业所得税征收管理办法》" }, { "val": "220", "text": "总机构（跨省）——不适用《跨地区经营汇总纳税企业所得税征收管理办法》" }, { "val": "230", "text": "总机构（省内）" }, { "val": "311", "text": "分支机构（须进行完整年度申报并按比例纳税）" }, { "val": "312", "text": "分支机构（须进行完整年度申报但不就地缴纳）" } ]','A000000企业所得税年度纳税申报基础信息表#基础信息#101纳税申报企业类型','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','qylx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1135455196655413248;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135455196655413248,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#2#qsinddme',' ','A107050税额抵免优惠明细表#2#6.前四年度一抵免额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','qsinddme',' ',' ','{S[select fqsnddme from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320895;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320895,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#30#nstzje','{Q[30.（四）其他#1.账载金额]}-{Q[30.（四）其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#30.四其他#3.纳税调整金额','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#30#zzje]}-{Q[tccit_qysds_a105120#30#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932928;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932928,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#15#hjje','{Q[7#1.合计金额]}+{Q[13#1.合计金额]}','A107030抵扣应纳税所得额明细表#15#1.合计金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','{Q[tccit_qysds_a107030#7#hjje]}+{Q[tccit_qysds_a107030#13#hjje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069469923278863360;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069469923278863360,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#23#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#23#7.资产损失准备金核销金额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype in(''701030901'',''701030902'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113737862899092480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113737862899092480,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#14#qwnd',' ','A105040专项用途财政性资金纳税调整明细#14#1.前五年度','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','{S[SELECT sum(e.FINCLUDEDTAXAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-5 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932420;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932420,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#16#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#16#4.税收金额资产计税基础','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020201'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135459763598157824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135459763598157824,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#2#bnsjdmdgndse',' ','A107050税额抵免优惠明细表#2#11.本年实际抵免的各年度税额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse',' ',' ','{S[select t.fbnsjdmdgndse from t_tccit_yh_taxcredit_data t where t.forgid=''#orgid'' and t.fitemno=2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932303;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932303,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#6#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#6#4.税收金额资产计税基础','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020105'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320869;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320869,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#4#nstzje','{Q[4.1.财产保险业务投资型保证收益#1.账载金额]}-{Q[4.1.财产保险业务投资型保证收益#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#4.1.财产保险业务投资型保证收益#3.纳税调整金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#4#zzje]}-{Q[tccit_qysds_a105120#4#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113708021223207936;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113708021223207936,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#qsndyjbe',' ','A106000企业所得税弥补亏损明细表#5#5.可弥补年限10年','1','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndyjbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}>0)      {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}   #else  #if({S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}>0 )     0-{S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}  #else   {S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932501;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932501,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#7#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#7#3.赔偿收入','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype in (''701030401'',''701030402'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932643;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932643,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#qtsr','{Q[金额#8.投资收益]}+{Q[金额#9.其他]}','A103000事业单位支出明细#金额#7.其他收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','qtsr','1',' ','{Q[tccit_qysds_a103000#1#tzsy]}+{Q[tccit_qysds_a103000#1#qtsrqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932991;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932991,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#3#djjnkshjwyne','{Q[3#5.境外应纳税所得额]}-{Q[3#6.抵减境内亏损]}','A108000境外所得税收抵免明细表#3#7.抵减境内亏损后的境外应纳税所得额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108000','djjnkshjwyne','1',' ','{Q[tccit_qysds_a108000#3#jwynssde]}-{Q[tccit_qysds_a108000#3#djjnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112296134182747136;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112296134182747136,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#2#jtbl',' ','A105120贷款损失准备金及纳税调整明细表#2#7.计提比例','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jtbl',' ',' ','{S[select fjtbl from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''2'' ]}*100'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320677;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320677,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#10#qwnxj','{Q[合计#2.前五年境外所得已缴所得税未抵免余额_前五年]}+{Q[合计#3.前五年境外所得已缴所得税未抵免余额_前四年]}+{Q[合计#4.前五年境外所得已缴所得税未抵免余额_前三年]}+{Q[合计#5.前五年境外所得已缴所得税未抵免余额_前二年]}+{Q[合计#6.前五年境外所得已缴所得税未抵免余额_前一年]}','A108030跨年度结转抵免境外所得税明细表#合计#7.前五年境外所得已缴所得税未抵免余额_小计','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108030','qwnxj','1',' ','{Q[tccit_qysds_a108030#10#qwnqwn]}+{Q[tccit_qysds_a108030#10#qwnqsin]}+{Q[tccit_qysds_a108030#10#qwnqsann]}+{Q[tccit_qysds_a108030#10#qwnqln]}+{Q[tccit_qysds_a108030#10#qwnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932372;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932372,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#23#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#23#1.账载金额资产原值','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020305'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321359;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321359,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#fjfkhbmscwdss',' ','A105000纳税调整项目明细#账载金额#19.罚金、罚款和被没收财物的损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','fjfkhbmscwdss','1',' ','{S[select fzzje from t_tccit_beforetax_summary  where FITEMNO=1 AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133309346436989952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133309346436989952,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#10#fzjgzcze',' ','A109010分支机构信息#10#5.资产总额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''10'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932585;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932585,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105030#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105030投资收益纳税调整明细表#表单名称','3','A105030','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1133312079277704192;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133312079277704192,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#12#fpbl',' ','A109010分支机构信息#12#6.分配比例','1','12','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#12#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#12#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#12#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932914;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932914,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#hj','{Q[1#7.被投资企业利润分配确认金额_依决定归属于本公司的股息、红利等权益性投资收益金额]}+{Q[1#10.被投资企业清算确认金额_应确认的股息所得]}+{Q[1#16.撤回或减少投资确认金额_应确认的股息所得]}','A107011居民企业之间权益性投资收益优惠#1#17.合计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj','1',' ','{Q[tccit_qysds_a107011#1#btzlrfpqrjesyje]}+{Q[tccit_qysds_a107011#1#btzqsqrjeyqrgxsd]}+{Q[tccit_qysds_a107011#1#chjstzqrjeyqrgxsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133324136844863488;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133324136844863488,{ts'2021-06-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#zjgyyftdbnsjynsdse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#4.总机构用于分摊的本年实际应纳所得税','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','zjgyyftdbnsjynsdse',' ',' ','if({Q[tccit_qysds_a109000#1#zjgsjynsdse]} - {Q[tccit_qysds_a109000#1#jwsdynsdse1]} + {Q[tccit_qysds_a109000#1#jwsddmsdse]}>0,{Q[tccit_qysds_a109000#1#zjgsjynsdse]} - {Q[tccit_qysds_a109000#1#jwsdynsdse1]} + {Q[tccit_qysds_a109000#1#jwsddmsdse]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321077;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321077,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#zczjtx','{Q[36.合计#2.账载金额本年折旧摊销额]}','A105000纳税调整项目明细#账载金额#32.资产折旧、摊销','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','zczjtx','1',' ','{Q[tccit_qysds_a105080#36#zzjebnzj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320862;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320862,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#35#zzje','{Q[36.（一）担保赔偿准备#1.账载金额]}+{Q[37.（二）未到期责任准备#1.账载金额]}+{Q[38.（三）其他#1.账载金额]}','A105120特殊行业准备金及纳税调整明细表#35.五、中小企业融资信用担保机构#1.账载金额','1','35','1066581598406760448','qysdsnb','tccit_qysds_a105120','zzje','1',' ','{Q[tccit_qysds_a105120#36#zzje]}+{Q[tccit_qysds_a105120#37#zzje]}+{Q[tccit_qysds_a105120#38#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704497222899712;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704497222899712,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#50#hj',' ','A107040减免所得税优惠明细表#50#1.金额','1','50','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321307;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321307,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#ssf',' ','A104000期间费用明细表#管理费用#12.诉讼费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','ssf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=12 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320726;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320726,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#18#zzjezczz','{Q[19.（一）专利权#1.账载金额资产原值]}+{Q[20.（二）商标权#1.账载金额资产原值]}+{Q[21.（三）著作权#1.账载金额资产原值]}+{Q[22.（四）土地使用权#1.账载金额资产原值]}+{Q[23.（五）非专利技术#1.账载金额资产原值]}+{Q[24.（六）特许权使用费#1.账载金额资产原值]}+{Q[25.（七）软件#1.账载金额资产原值]}+{Q[27.（八）其他#1.账载金额资产原值]}','A105080资产折旧摊销及纳税调整明细#18.三、无形资产19+20+21+22+23+24+25+27#1.账载金额资产原值','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz','1',' ','{Q[tccit_qysds_a105080#19#zzjezczz]}+{Q[tccit_qysds_a105080#20#zzjezczz]}+{Q[tccit_qysds_a105080#21#zzjezczz]}+{Q[tccit_qysds_a105080#22#zzjezczz]}+{Q[tccit_qysds_a105080#23#zzjezczz]}+{Q[tccit_qysds_a105080#24#zzjezczz]}+{Q[tccit_qysds_a105080#25#zzjezczz]}+{Q[tccit_qysds_a105080#27#zzjezczz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462504,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#3#nstjje','{Q[前三年度#6.纳税调减金额]}+{Q[前二年度#6.纳税调减金额]}+{Q[前一年度#6.纳税调减金额]}','A105070捐赠支出及纳税调整明细#限额扣除的公益性捐赠#6.纳税调减金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105070','nstjje','1',' ','{Q[tccit_qysds_a105070#4#nstjje]}+{Q[tccit_qysds_a105070#5#nstjje]}+{Q[tccit_qysds_a105070#6#nstjje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851103;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851103,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#6#yqndjzkkcdjze',' ','A105070捐赠支出及纳税调整明细#前一年度#2.以前年度结转可扣除的捐赠额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105070','yqndjzkkcdjze','1',' ','{S[select fmoney from  t_tccit_dg_b105021_sum where FITEMNO=''6c'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321201;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321201,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#xszkzrhth','if({Q[账载金额#10.销售折扣、折让和退回]}-{Q[税收金额#10.销售折扣、折让和退回]}<-({Q[账载金额#10.销售折扣、折让和退回]}-{Q[税收金额#10.销售折扣、折让和退回]}),)','A105000纳税调整项目明细#调减金额#10.销售折扣、折让和退回','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','xszkzrhth','1',' ','if({Q[tccit_qysds_a105000#1#xszkzrhth]}-{Q[tccit_qysds_a105000#2#xszkzrhth]}<0,0-({Q[tccit_qysds_a105000#1#xszkzrhth]}-{Q[tccit_qysds_a105000#2#xszkzrhth]}),0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932895;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932895,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105110#1#bqzc','{Q[金额#10.搬迁费用支出]}+{Q[金额#16.搬迁资产处置支出]}','A105110政策性搬迁纳税调整明细表#金额#9.搬迁支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105110','bqzc','1',' ','{Q[tccit_qysds_a105110#1#bqfyzc]}+{Q[tccit_qysds_a105110#1#bqzcczzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135343811804062720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135343811804062720,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#9#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#9#研发活动费用金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=9]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321286;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321286,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#zcxbq','if({Q[金额#24.纳税调整金额]}<{Q[金额#24.纳税调整金额]})','A105000纳税调整项目明细#调减金额#38.政策性搬迁','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcxbq','1',' ','if({Q[tccit_qysds_a105110#1#nstzje]}<0,0-{Q[tccit_qysds_a105110#1#nstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932608,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A108030#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A108030跨年度结转抵免境外所得税明细表#表单名称','3','A108030','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932320;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932320,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#11#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#11#1.账载金额资产原值','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020607'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114481450226287616;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114481450226287616,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#6#zjlx','[{"val":"","text":""},{"val":"1","text":"居民身份证"},{"val":"2","text":"中国护照"},{"val":"3","text":"税务登记证"},{"val":"4","text":"营业执照"},{"val":"5","text":"组织机构代码证"},{"val":"6","text":"其他单位证件"},{"val":"7","text":"香港特别行政区护照"},{"val":"8","text":"澳门特别行政区护照"},{"val":"9","text":"港澳居民来往内地通行证"},{"val":"10","text":"中华人民共和国往来港澳通行证"},{"val":"11","text":"台湾居民来往大陆通行证"},{"val":"12","text":"大陆居民往来台湾通行证"},{"val":"13","text":"香港永久性居民身份证"},{"val":"14","text":"台湾身份证"},{"val":"15","text":"澳门特别行政区永久性居民身份证"},{"val":"16","text":"外国护照"},{"val":"17","text":"外国人身份证件"},{"val":"18","text":"其他个人证件"}]','A000000主要股东及分红情况#6#2.证件种类','3','6','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320761;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320761,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#16#nstzje','{Q[16.（一）林木类#2.账载金额本年折旧摊销额]}-{Q[16.（一）林木类#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#16.一林木类#9.纳税调整金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#16#zzjebnzj]}-{Q[tccit_qysds_a105080#16#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1199134194287057920;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1199134194287057920,{ts'2021-07-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#42#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#42#4.税收金额资产计税基础','1','42','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932235;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932235,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#gyjzbdjsy',' ','A105000纳税调整项目明细#1#7.公允价值变动净损益','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','gyjzbdjsy',' ',' ','{S[select sum(fzzje)  from t_tccit_gyjzbdsy_summary where forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321449;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321449,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#chjstzqrjeyqrgxsd','if({Q[2#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]}>{Q[2#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[2#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[2#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]})','A107011居民企业之间权益性投资收益优惠#2#16.撤回或减少投资确认金额_应确认的股息所得','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#2#chjstzqrjeljwfplryygj]}>{Q[tccit_qysds_a107011#2#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#2#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#2#chjstzqrjeljwfplryygj]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932364;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932364,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#13#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#13#8.税收金额累计折旧、摊销额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje) from t_tccit_zczjtx_summary where FITEMTYPE=''701020609'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932399;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932399,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#33#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#33#2.账载金额本年折旧摊销额','1','33','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020405'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113707752955524096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113707752955524096,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#qsndyjbe',' ','A106000企业所得税弥补亏损明细表#4#5.可弥补年限10年','1','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndyjbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}>0)      {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}   #else  #if({S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}>0 )     0-{S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}  #else   {S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1113755296280709120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113755296280709120,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#5#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#5#4.特殊性税务处理递延纳税账载金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030201'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337811;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337811,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#6#xmsr','{Q[4.二、国家重点扶持的公共基础设施项目#4.项目收入]}+{Q[5.二、国家重点扶持的公共基础设施项目#4.项目收入]}','A107020所得减免优惠明细表#6.二、国家重点扶持的公共基础设施项目小计#4.项目收入','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr','1',' ','{Q[tccit_qysds_a107020#4#xmsr]}+{Q[tccit_qysds_a107020#5#xmsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113706889650320384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113706889650320384,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#qsndyjbe',' ','A106000企业所得税弥补亏损明细表#1#5.可弥补年限10年','1','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndyjbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}>0)      {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}   #else  #if({S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}>0 )     0-{S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}  #else   {S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932596;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932596,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107010#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A107010免税、减计收入及加计扣除优惠明细表#表单名称','3','A107010','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321316;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321316,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#dzzgzjf',' ','A104000期间费用明细表#管理费用#24.党组织工作经费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','dzzgzjf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=24 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321509;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321509,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#9#bnkdmjwsdse','if({Q[9#10.境外所得可抵免税额]}>={Q[9#11.境外所得抵免限额]})','A108000境外所得税收抵免明细表#9#12.本年可抵免境外所得税额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108000','bnkdmjwsdse','1',' ','if({Q[tccit_qysds_a108000#9#jwsdkdmse1]}>={Q[tccit_qysds_a108000#9#jwsddmxe]},{Q[tccit_qysds_a108000#9#jwsddmxe]},{Q[tccit_qysds_a108000#9#jwsdkdmse1]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1114428442469950464;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114428442469950464,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#qendynbe',' ','A106000企业所得税弥补亏损明细表#5#7.当年亏损额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','qendynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(flossmoney)  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6  and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  {S[SELECT fqendynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1071710079881090048;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071710079881090048,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#6#msxmsde',' ','A107020所得减免优惠明细表#6#9.免税项目所得额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','{Q[tccit_qysds_a107020#4#msxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932210;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932210,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#xszkzrhth',' ','A105000纳税调整项目明细#1#10.销售折扣、折让和退回','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','xszkzrhth',' ',' ','{S[select  sum(fjrdqsyje)  from t_tccit_sale_zkzrth_sum where forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320667;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320667,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108020#10#jzhndmbfsjkse','{Q[合计#2.非实际亏损额的弥补以前年度结转尚未弥补的非实际亏损额]}+{Q[合计#3.非实际亏损额的弥补本年发生的非实际亏损额]}-{Q[合计#4.非实际亏损额的弥补本年弥补的以前年度非实际亏损额]}','A108020境外分支机构弥补亏损明细表#合计#5.非实际亏损额的弥补结转以后年度弥补的非实际亏损额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108020','jzhndmbfsjkse','1',' ','{Q[tccit_qysds_a108020#10#yqndjzwmbfsjkse]}+{Q[tccit_qysds_a108020#10#bnfsfsjkse]}-{Q[tccit_qysds_a108020#10#bnmbyqfsjkse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932276;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932276,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#7#jyxjrfz',' ','A105030投资收益纳税调整明细#7#5.交易性金融负债','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrfz',' ',' ','{S[select fczzcjsjc from t_tccit_asset_dispose_sum where fitemtype=''6010805'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462502;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462502,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#3#ssje','{Q[限额扣除的公益性捐赠#1.账载金额]}','A105070捐赠支出及纳税调整明细#限额扣除的公益性捐赠#4.税收金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105070','ssje','1',' ','if(({Q[tccit_qysds_a105070#3#zzje]}+{Q[tccit_qysds_a105070#3#yqndjzkkcdjze]})-{Q[tccit_qysds_a105070#3#assgdjsdkcxe]}>0,{Q[tccit_qysds_a105070#3#assgdjsdkcxe]},{Q[tccit_qysds_a105070#3#zzje]}+{Q[tccit_qysds_a105070#3#yqndjzkkcdjze]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320668;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320668,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#1#qwnxj','{Q[1#2.前五年境外所得已缴所得税未抵免余额_前五年]}+{Q[1#3.前五年境外所得已缴所得税未抵免余额_前四年]}+{Q[1#4.前五年境外所得已缴所得税未抵免余额_前三年]}+{Q[1#5.前五年境外所得已缴所得税未抵免余额_前二年]}+{Q[1#6.前五年境外所得已缴所得税未抵免余额_前一年]}','A108030跨年度结转抵免境外所得税明细表#1#7.前五年境外所得已缴所得税未抵免余额_小计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108030','qwnxj','1',' ','{Q[tccit_qysds_a108030#1#qwnqwn]}+{Q[tccit_qysds_a108030#1#qwnqsin]}+{Q[tccit_qysds_a108030#1#qwnqsann]}+{Q[tccit_qysds_a108030#1#qwnqln]}+{Q[tccit_qysds_a108030#1#qwnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320586;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320586,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#5#jwsdynse1','{Q[4#7.抵减境内亏损后的境外应纳税所得额]}*{Q[4#8.税率]}','A108000境外所得税收抵免明细表#5#9.境外所得应纳税额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsdynse1','1',' ','{Q[tccit_qysds_a108000#4#djjnkshjwyne]}*{Q[tccit_qysds_a108000#4#sl2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932553;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932553,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#22#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#22#4.资产计税基础','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''701030802'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321310;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321310,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#ysccf',' ','A104000期间费用明细表#管理费用#15.运输、仓储费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','ysccf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=15 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932868;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932868,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#16#nstzje','{Q[16#3.一般性税务处理纳税调整金额]}+{Q[16#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#16#7.纳税调整金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#16#ybnstzje]}+{Q[tccit_qysds_a105100#16#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133305604773889024;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133305604773889024,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#2#fzjgsrze',' ','A109010分支机构信息#2#3.营业收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''2'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337824,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#12#yftqjfy','{Q[10.四、符合条件的技术转让项目#7.应分摊期间费用]}+{Q[11.四、符合条件的技术转让项目#7.应分摊期间费用]}','A107020所得减免优惠明细表#12.四、符合条件的技术转让项目小计#7.应分摊期间费用','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy','1',' ','{Q[tccit_qysds_a107020#10#yftqjfy]}+{Q[tccit_qysds_a107020#11#yftqjfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932777;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932777,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#zgjyjfzc','{Q[账载金额#5.按税收规定比例扣除的职工教育经费]}+{Q[账载金额#6.按税收规定全额扣除的职工培训费用]}','A105050职工薪酬支出明细#账载金额#4.职工教育经费支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','zgjyjfzc','1',' ','{Q[tccit_qysds_a105050#1#blkcjyjf]}+{Q[tccit_qysds_a105050#1#qekcpxfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320839;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320839,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#19#nstzje','{Q[19.其中：单户贷款余额300万（含）以下的贷款损失#1.资产损失的账载金额]}-{Q[19.其中：单户贷款余额300万（含）以下的贷款损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#19.其中：单户贷款余额300万含以下的贷款损失#6.纳税调整金额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#19#zzje]}+{Q[tccit_qysds_a105090#19#zchxje]}-{Q[tccit_qysds_a105090#19#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114437126331565056;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114437126331565056,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#2#gdmc',' ','A000000主要股东及分红情况#2#1.股东名称','4','2','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gdmc',' ',' ','{S[select h.fgdname from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=2 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932224,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#2#ysgj',' ','A105030投资收益纳税调整明细#2#4.衍生工具','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105030','ysgj',' ',' ','{S[select ftaxincome from t_tccit_invest_profit_sum where fitemtype=''6010404''and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931991;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931991,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042_ba#1#ksjsyhqnd2',' ','A107042软件、集成电路企业优惠情况基本信息表#1#4.获利年度.开始计算优惠期年度2','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107042_ba','ksjsyhqnd2',' ',' ','{S[select year(t.fhlnd) from t_tccit_soft_ic_jb_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemno=2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932284;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932284,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#5#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#5#1.账载金额资产原值','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020104'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113707547761783808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113707547761783808,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#qsndyjbe',' ','A106000企业所得税弥补亏损明细表#3#5.可弥补年限10年','1','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndyjbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}>0)      {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}   #else  #if({S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}>0 )     0-{S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}  #else   {S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1199133874160999424;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1199133874160999424,{ts'2021-07-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#10#zzje',' ','A105070捐赠支出及纳税调整明细#10#1.账载金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105070','zzje',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321248;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321248,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#zcjzzbj','if({Q[账载金额#33.资产减值准备金]}>=,{Q[账载金额#33.资产减值准备金]})','A105000纳税调整项目明细#调增金额#33.资产减值准备金','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcjzzbj','1',' ','if({Q[tccit_qysds_a105000#1#zcjzzbj]}>=0,{Q[tccit_qysds_a105000#1#zcjzzbj]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932828;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932828,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#8#ybnstzje','{Q[8#2.一般性税务处理税收金额]}-{Q[8#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#8#3.一般性税务处理纳税调整金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#8#ybssje]}-{Q[tccit_qysds_a105100#8#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320785;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320785,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#17#zcczsr','{Q[18.符合条件的涉农和中小企业贷款损失#2.资产处置收入]}+{Q[21.其他债权性投资损失#2.资产处置收入]}','A105090资产损失税前扣除及纳税调整明细#17.一金融企业债权性投资损失#2.资产处置收入','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr','1',' ','{Q[tccit_qysds_a105090#18#zcczsr]}+{Q[tccit_qysds_a105090#21#zcczsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320720,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#15#zzjezczz','{Q[16.（一）林木类#1.账载金额资产原值]}+{Q[17.（二）畜类#1.账载金额资产原值]}','A105080资产折旧摊销及纳税调整明细#15.二、生产性生物资产#1.账载金额资产原值','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz','1',' ','{Q[tccit_qysds_a105080#16#zzjezczz]}+{Q[tccit_qysds_a105080#17#zzjezczz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932449;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932449,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#29#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#29#5.税收金额-税收折旧、摊销额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020401'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932849;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932849,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#13#tsnstzje','{Q[13#5.特殊性税务处理递延纳税税收金额]}-{Q[13#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#13#6.特殊性税务处理递延纳税纳税调整金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#13#tsssje]}-{Q[tccit_qysds_a105100#13#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114429220236518400;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114429220236518400,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#qendynbe',' ','A106000企业所得税弥补亏损明细表#9#7.当年亏损额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','qendynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(flossmoney)  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  {S[SELECT fqendynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321254;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321254,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#zcss','if({Q[28.合计#6.纳税调整金额]}<{Q[28.合计#6.纳税调整金额]})','A105000纳税调整项目明细#调减金额#34.资产损失','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcss','1',' ','if({Q[tccit_qysds_a105090#28#nstzje]}<0,0-{Q[tccit_qysds_a105090#28#nstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932341;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932341,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#11#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#11#4.税收金额资产计税基础','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020607'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113734603144742912;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113734603144742912,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#11#qynd',' ','A105040专项用途财政性资金纳税调整明细#11#5.前一年度','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105040','qynd',' ',' ','{S[SELECT sum(e.FEXPENSINGAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-1 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932295;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932295,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#4#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#4#3.账载金额累计折旧、摊销额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020103'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320608,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#9#jyjsxj','{Q[9#15.按简易办法计算_按低于12.5%的实际税率计算的抵免额]}+{Q[9#16.按简易办法计算_按12.5%计算的抵免额]}+{Q[9#17.按简易办法计算_按25%计算的抵免额]}','A108000境外所得税收抵免明细表#9#18.按简易办法计算_小计','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsxj','1',' ','{Q[tccit_qysds_a108000#9#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#9#jyjsldyewdme]}+{Q[tccit_qysds_a108000#9#jyjsldewdme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133309434961970176;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133309434961970176,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#11#fzjgzcze',' ','A109010分支机构信息#11#5.资产总额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''11'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077606390551292928;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077606390551292928,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#38#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#38#2.账载金额本年折旧摊销额','1','38','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020605'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337853;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337853,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#28#xgsf','{Q[3.一、农、林、牧、渔业项目小计#6.相关税费]}+{Q[6.二、国家重点扶持的公共基础设施项目小计#6.相关税费]}+{Q[9.三、符合条件的环境保护、节能节水项目小计#6.相关税费]}+{Q[12.四、符合条件的技术转让项目小计#6.相关税费]}+{Q[15.五、清洁发展机制项目小计#6.相关税费]}+{Q[18.六、符合条件的节能服务公司实施的合同能源管理项目小计#6.相关税费]}+{Q[21.七、线宽小于132纳米的集成电路生产项目小计#6.相关税费]}+{Q[24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#6.相关税费]}+{Q[27.九、其他小计#6.相关税费]}','A107020所得减免优惠明细表#28.合计#6.相关税费','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf','1',' ','{Q[tccit_qysds_a107020#3#xgsf]}+{Q[tccit_qysds_a107020#6#xgsf]}+{Q[tccit_qysds_a107020#9#xgsf]}+{Q[tccit_qysds_a107020#12#xgsf]}+{Q[tccit_qysds_a107020#15#xgsf]}+{Q[tccit_qysds_a107020#18#xgsf]}+{Q[tccit_qysds_a107020#21#xgsf]}+{Q[tccit_qysds_a107020#24#xgsf]}+{Q[tccit_qysds_a107020#27#xgsf]}+{Q[tccit_qysds_a107020#31#xgsf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095471895177859072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095471895177859072,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#bxbzjjsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#12.中国保险保障基金有限责任公司取得的保险保障基金等收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','bxbzjjsr',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''1.3'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932122;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932122,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#yyzgjlsr',' ','A05010视同销售纳税调整明细#2#5.用于职工奖励或福利视同销售收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','yyzgjlsr',' ',' ','{Q[tccit_qysds_a105010#1#yyzgjlsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321444;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321444,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#btzqsqrjeyqrgxsd','if({Q[4#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]}>{Q[4#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]},{Q[4#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]},{Q[4#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]})','A107011居民企业之间权益性投资收益优惠#4#10.被投资企业清算确认金额_应确认的股息所得','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#4#btzqsqrjeqssyzc]}>{Q[tccit_qysds_a107011#4#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#4#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#4#btzqsqrjeqssyzc]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1113730989265307648;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113730989265307648,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#11#qwnd',' ','A105040专项用途财政性资金纳税调整明细#11#1.前五年度','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','{S[SELECT sum(e.FEXPENSINGAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-5 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932357;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932357,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#13#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#13#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020609'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932456;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932456,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#16#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#16#8.税收金额累计折旧、摊销额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020201'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932520,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#12#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#12#3.赔偿收入','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype in(''701030601'',''701030602'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932439;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932439,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#17#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#17#5.税收金额-税收折旧、摊销额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020202'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112323364350900224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112323364350900224,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#10#jszbje',' ','A105120贷款损失准备金及纳税调整明细表#10#8.按本年末准予提取贷款资产余额与计提比例计算的准备金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jszbje',' ',' ','{Q[tccit_qysds_a105120_dk#1#jszbje]} + {Q[tccit_qysds_a105120_dk#8#jszbje]}+ {Q[tccit_qysds_a105120_dk#9#jszbje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932697;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932697,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#xzcydjwsddmfs','[{ "val": "", "text": "" },{"val":"1","text":"分国（地区）不分项"},{"val":"2","text":"不分国（地区）不分项"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#203选择采用的境外所得抵免方式','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','xzcydjwsddmfs','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1095564044120670208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095564044120670208,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#tzcb',' ','A107011居民企业之间权益性投资收益优惠#7#4.投资成本','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzcb',' ',' ','{S[select fincost from t_tccit_dg_b105036_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135456323262244864;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135456323262244864,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#4#qenddme',' ','A107050税额抵免优惠明细表#4#8.前二年度一抵免额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','qenddme',' ',' ','{S[select fqynddme from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''5'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071735544280814592;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071735544280814592,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#22#yftqjfy',' ','A107020所得减免优惠明细表#22#7.应分摊期间费用','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy',' ',' ','{S[select   fqjfyfte from t_tccit_getredu_sum where FREDUCENAME in (1119510373058271232,1119510373058271233)  and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321080;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321080,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#zcss','{Q[28.合计#5.资产损失的税收金额]}','A105000纳税调整项目明细#税收金额#34.资产损失','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcss','1',' ','{Q[tccit_qysds_a105090#28#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320707;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320707,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#kclxmtz','{Q[调减金额#13.视同销售成本]}+{Q[调减金额#14.职工薪酬]}+{Q[调减金额#15.业务招待费支出]}+{Q[调减金额#16.广告费和业务宣传费支出]}+{Q[调减金额#17.捐赠支出]}+{Q[调减金额#18.利息支出]}+{Q[调减金额#19.罚金、罚款和被没收财物的损失]}+{Q[调减金额#20.税收滞纳金、加收利息]}+{Q[调减金额#21.赞助支出]}+{Q[调减金额#22.与未实现融资收益相关在当期确认的财务费用]}+{Q[调减金额#23.佣金和手续费支出]}+{Q[调减金额#24.不征税收入用于支出所形成的费用]}+{Q[调减金额#26.跨期扣除项目]}+{Q[调减金额#27.与取得收入无关的支出]}+{Q[调减金额#28.境外所得分摊的共同支出]}+{Q[调减金额#29.党组织工作经费]}+{Q[调减金额#30.扣除类调整其他]}','A105000纳税调整项目明细#调减金额#12.扣除类调整项目','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','kclxmtz','1',' ','{Q[tccit_qysds_a105000#4#stxszb]}+{Q[tccit_qysds_a105000#4#zgxc]}+{Q[tccit_qysds_a105000#4#ywzdfzc]}+{Q[tccit_qysds_a105000#4#ggfhywxcfzc]}+{Q[tccit_qysds_a105000#4#jzzc]}+{Q[tccit_qysds_a105000#4#lxzc]}+{Q[tccit_qysds_a105000#4#fjfkhbmscwdss]}+{Q[tccit_qysds_a105000#4#ssznjjslx]}+{Q[tccit_qysds_a105000#4#zzzc]}+{Q[tccit_qysds_a105000#4#ywsxrzsy]}+{Q[tccit_qysds_a105000#4#yjhsxfzc]}+{Q[tccit_qysds_a105000#4#bzssryyzc]}+{Q[tccit_qysds_a105000#4#kqkcxm]}+{Q[tccit_qysds_a105000#4#yqdsrwgdzc]}+{Q[tccit_qysds_a105000#4#jwsdftdgtzc]}+{Q[tccit_qysds_a105000#4#dzzgzjf]}+{Q[tccit_qysds_a105000#4#kcltzxmqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932899;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932899,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105110#1#nstzje','{Q[金额#18.应计入本年应纳税所得额的搬迁所得或损失]}-{Q[金额#22.计入当期损益的搬迁收益或损失]}-{Q[金额#23.以前年度搬迁损失当期扣除金额]}','A105110政策性搬迁纳税调整明细表#金额#24.纳税调整金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105110','nstzje','1',' ','{Q[tccit_qysds_a105110#1#yjbnsbqsdhss]}-{Q[tccit_qysds_a105110#1#dqsybqsyss]}-{Q[tccit_qysds_a105110#1#yqbqsskcje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114444640242974720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114444640242974720,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#hj',' ','A106000企业所得税弥补亏损明细表#5#9.使用境内所得弥补','1','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','hj',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fsyjnsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}>0) {S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}  #else 0-{S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932377;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932377,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#29#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#29#1.账载金额资产原值','1','29','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020401'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932481;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932481,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#2#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#2#4.资产计税基础','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ',' {S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype in (''701030201'',''701030202'',''701030203'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321298;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321298,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#yjsxf',' ','A104000期间费用明细表#管理费用#6.佣金和手续费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','yjsxf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=6 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321257;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321257,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#zcltzxmqt','if({Q[账载金额#35.资产类调整项目其他]}-{Q[税收金额#35.资产类调整项目其他]}>=,)','A105000纳税调整项目明细#调增金额#35.资产类调整项目其他','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcltzxmqt','1',' ','if({Q[tccit_qysds_a105000#1#zcltzxmqt]}-{Q[tccit_qysds_a105000#2#zcltzxmqt]}>=0,{Q[tccit_qysds_a105000#1#zcltzxmqt]}-{Q[tccit_qysds_a105000#2#zcltzxmqt]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932188;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932188,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#txqsyf',' ','A105020未按权责发生确实收入调整明细#4#4.特许权使用费','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','txqsyf',' ',' ','{S[select ftaxincomecurrent from t_tccit_right_income_sum where FITEMTYPE=''002_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095578957396361216;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095578957396361216,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#btzqsqrjeqssyzc',' ','A107011居民企业之间权益性投资收益优惠#7#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeqssyzc',' ',' ','{S[select fqddbtzzc  from t_tccit_dg_b105036_sum where ftranstype=''被投资企业清算'' and fitemno=3  and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133299767133317120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133299767133317120,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#8#fzjgmc',' ','A109010分支机构信息#8#2.分支机构名称','4','8','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''8'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320700;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320700,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#hj','{Q[管理费用#1.职工薪酬]}+{Q[管理费用#2.劳务费]}+{Q[管理费用#3.咨询顾问费]}+{Q[管理费用#4.业务招待费]}+{Q[管理费用#5.广告费和业务宣传费]}+{Q[管理费用#6.佣金和手续费]}+{Q[管理费用#7.资产折旧摊销费]}+{Q[管理费用#8.财产损耗、盘亏及毁损损失]}+{Q[管理费用#9.办公费]}+{Q[管理费用#10.董事会费]}+{Q[管理费用#11.租赁费]}+{Q[管理费用#12.诉讼费]}+{Q[管理费用#13.差旅费]}+{Q[管理费用#14.保险费]}+{Q[管理费用#15.运输、仓储费]}+{Q[管理费用#16.修理费]}+{Q[管理费用#17.包装费]}+{Q[管理费用#18.技术转让费]}+{Q[管理费用#19.研究费用]}+{Q[管理费用#20.各项税费]}+{Q[管理费用#24.党组织工作经费]}+{Q[管理费用#25.其他]}','A104000期间费用明细表#管理费用#26.合计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','hj','1',' ','{Q[tccit_qysds_a104000#3#zgxc]}+{Q[tccit_qysds_a104000#3#lwf]}+{Q[tccit_qysds_a104000#3#zxgwf]}+{Q[tccit_qysds_a104000#3#ywzdf]}+{Q[tccit_qysds_a104000#3#ggxcf]}+{Q[tccit_qysds_a104000#3#yjsxf]}+{Q[tccit_qysds_a104000#3#zczjtxf]}+{Q[tccit_qysds_a104000#3#ccshpk]}+{Q[tccit_qysds_a104000#3#bgf]}+{Q[tccit_qysds_a104000#3#dshf]}+{Q[tccit_qysds_a104000#3#zlf]}+{Q[tccit_qysds_a104000#3#ssf]}+{Q[tccit_qysds_a104000#3#clf]}+{Q[tccit_qysds_a104000#3#bxf]}+{Q[tccit_qysds_a104000#3#ysccf]}+{Q[tccit_qysds_a104000#3#xlf]}+{Q[tccit_qysds_a104000#3#bzf]}+{Q[tccit_qysds_a104000#3#jszrf]}+{Q[tccit_qysds_a104000#3#yjfy]}+{Q[tccit_qysds_a104000#3#gxsf]}+{Q[tccit_qysds_a104000#3#dzzgzjf]}+{Q[tccit_qysds_a104000#3#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932936;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932936,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A100000#tabname',' ','企业所得税年度纳税申报表填报表#A100000中华人民共和国企业所得税年度纳税申报表A类#表单名称','1','A100000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A100000'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932401;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932401,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#35#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#35#2.账载金额本年折旧摊销额','1','35','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020502'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320904;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320904,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#39#nstzje','{Q[39.六、小额贷款公司(40+41)#1.账载金额]}-{Q[39.六、小额贷款公司(40+41)#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#39.六、小额贷款公司40+41#3.纳税调整金额','1','39','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#39#zzje]}-{Q[tccit_qysds_a105120#39#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112230801782603776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112230801782603776,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#20#qend',' ','A107041高新技术企业优惠情况及明细表#20#3.前二年度','1','20','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend',' ',' ','{S[select fpretwoyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''6'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932833;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932833,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#13#ybnstzje','{Q[13#2.一般性税务处理税收金额]}-{Q[13#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#13#3.一般性税务处理纳税调整金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#13#ybssje]}-{Q[tccit_qysds_a105100#13#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932352,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#8#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#8#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020601'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321229;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321229,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#qtywcb',' ','A102020金融企业支出明细#金额#32.其他业务成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','qtywcb','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=32 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932650;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932650,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#stxsyycb','{Q[纳税调整金额#12.非货币性资产交换视同销售成本]}+{Q[纳税调整金额#13.用于市场推广或销售视同销售成]}+{Q[纳税调整金额#14.用于交际应酬视同销售成本]}+{Q[纳税调整金额#15.用于职工奖励或福利视同销售成本]}+{Q[纳税调整金额#16.用于股息分配视同销售成本]}+{Q[纳税调整金额#17.用于对外捐赠视同销售成本]}+{Q[纳税调整金额#18.用于对外投资项目视同销售成本]}+{Q[纳税调整金额#19.提供劳务视同销售成本]}+{Q[纳税调整金额#20.视同销售成本其他]}','A05010视同销售纳税调整明细#纳税调整金额#11.视同销售营业成本','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','stxsyycb','1',' ','{Q[tccit_qysds_a105010#2#fhbxzcjhcb]}+{Q[tccit_qysds_a105010#2#yysctgcb]}+{Q[tccit_qysds_a105010#2#yyjjyccb]}+{Q[tccit_qysds_a105010#2#yyzgjlcb]}+{Q[tccit_qysds_a105010#2#yygxfpcb]}+{Q[tccit_qysds_a105010#2#yydwjzcb]}+{Q[tccit_qysds_a105010#2#yydwtzcb]}+{Q[tccit_qysds_a105010#2#tglwcb]}+{Q[tccit_qysds_a105010#2#stxsyycbqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321004;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321004,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#20#je','{Q[19.年度软件出口收入总额（人民币）#2.金额]}/{Q[10.企业收入总额#2.金额]}','A107042软件、集成电路企业优惠情况及明细表#20.软件出口收入总额占本企业年度收入总额的比例#2.金额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a107042','je','1',' ','{Q[tccit_qysds_a107042#19#je]}/{Q[tccit_qysds_a107042#10#je]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133300895786845184;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133300895786845184,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#14#fzjgmc',' ','A109010分支机构信息#14#2.分支机构名称','4','14','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''14'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932624;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932624,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#lxsr','{Q[金额#4.存放同业]}+{Q[金额#5.存放中央银行]}+{Q[金额#6.拆出资金]}+{Q[金额#7.发放贷款及垫资]}+{Q[金额#8.买入返售金融资产]}+{Q[金额#9.其他]}','A101020金融企业收入明细#金额#3.利息收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','lxsr','1',' ','{Q[tccit_qysds_a101020#1#cfty]}+{Q[tccit_qysds_a101020#1#cfzyyh]}+{Q[tccit_qysds_a101020#1#czzj]}+{Q[tccit_qysds_a101020#1#ffdkjdz]}+{Q[tccit_qysds_a101020#1#mrfsjrzc]}+{Q[tccit_qysds_a101020#1#lxsrqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320857;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320857,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#21#ssje','{Q[22.（一）证券交易所风险基金#2.税收金额]}+{Q[23.（二）证券结算风险基金#2.税收金额]}+{Q[24.（三）证券投资者保护基金#2.税收金额]}+{Q[25.（四）其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#21.二、证券行业22+23+24+25#2.税收金额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105120','ssje','1',' ','{Q[tccit_qysds_a105120#22#ssje]}+{Q[tccit_qysds_a105120#23#ssje]}+{Q[tccit_qysds_a105120#24#ssje]}+{Q[tccit_qysds_a105120#25#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932651;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932651,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#fdckfqy','{Q[税收金额#22.房地产企业销售未完工开发产品特定业务计算的纳税调整额]}-{Q[税收金额#26.房地产企业销售的未完工产品转完工产品特定业务计算的纳税调整额]}','A05010视同销售纳税调整明细#税收金额#21.房地产开发企业特定业务计算的纳税调整额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','fdckfqy','1',' ','{Q[tccit_qysds_a105010#1#fdckfqytdyw]}-{Q[tccit_qysds_a105010#1#fdcqyxswwg]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932705;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932705,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#fhbxzcdwtzzr','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#219非货币性资产对外投资转让所得递延纳税年度','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','fhbxzcdwtzzr','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1131164238359127040;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1131164238359127040,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#9#zxgxjsqy',' ','A107030抵扣应纳税所得额明细表#9#2.投资于未上市中小高新技术企业','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107030','zxgxjsqy',' ',' ','{S[select  fwsscurrent  from t_tccit_dg_a100000_7_sum where fitemno=''1'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932558;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932558,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#24#zzje',' ','A105090资产损失税前扣除及纳税调整明细#24#1.资产损失的账载金额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''701030901'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932128;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932128,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#fhbxzcjhcb',' ','A05010视同销售纳税调整明细#2#12.非货币性资产交换视同销售成本','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','fhbxzcjhcb',' ',' ','{Q[tccit_qysds_a105010#1#fhbxzcjhcb]}*-1'); 
DELETE FROM t_tctb_formula WHERE FID = 1113699626248254464;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113699626248254464,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#nxbn',' ','A106000企业所得税弥补亏损明细表#4#11.可弥补年限8年','1','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','nxbn',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-7 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-7 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}  #else #if({S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}>0 )    0-{S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']} #else  {S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321434;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321434,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#kjz','{Q[4.前七年度#8.当年待弥补的亏损额]}-{Q[4.前七年度#9.使用境内所得弥补]}-{Q[4.前七年度#10.使用境外所得弥补]}','A106000企业所得税弥补亏损明细表#4.前七年度#11.当年可结转以后年度弥补的亏损额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','kjz','1',' ','if({Q[tccit_qysds_a106000#4#qyndynbe]}>{Q[tccit_qysds_a106000#4#hj]}+{Q[tccit_qysds_a106000#4#sjnbe]},{Q[tccit_qysds_a106000#4#qyndynbe]}-{Q[tccit_qysds_a106000#4#hj]}-{Q[tccit_qysds_a106000#4#sjnbe]},{Q[tccit_qysds_a106000#4#hj]}+{Q[tccit_qysds_a106000#4#sjnbe]}-{Q[tccit_qysds_a106000#4#qyndynbe]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321447;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321447,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#btzqsqrjeyqrgxsd','if({Q[7#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]}>{Q[7#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]},{Q[7#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]},{Q[7#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]})','A107011居民企业之间权益性投资收益优惠#7#10.被投资企业清算确认金额_应确认的股息所得','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#7#btzqsqrjeqssyzc]}>{Q[tccit_qysds_a107011#7#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#7#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#7#btzqsqrjeqssyzc]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321351;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321351,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#sjsjzc',' ','A103000事业单位支出明细#金额#20.上缴上级支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','sjsjzc','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=20 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337839;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337839,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#21#yftqjfy','{Q[19.七、线宽小于130纳米的集成电路生产项目#7.应分摊期间费用]}+{Q[20.七、线宽小于131纳米的集成电路生产项目#7.应分摊期间费用]}','A107020所得减免优惠明细表#21.七、线宽小于132纳米的集成电路生产项目小计#7.应分摊期间费用','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy','1',' ','{Q[tccit_qysds_a107020#19#yftqjfy]}+{Q[tccit_qysds_a107020#20#yftqjfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320692;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320692,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#5#jzxj','{Q[5#14.结转以后年度抵免的境外所得已缴所得税额_前四年]}+{Q[5#15.结转以后年度抵免的境外所得已缴所得税额_前三年]}+{Q[5#16.结转以后年度抵免的境外所得已缴所得税额_前二年]}+{Q[5#17.结转以后年度抵免的境外所得已缴所得税额_前一年]}+{Q[5#18.结转以后年度抵免的境外所得已缴所得税额_本年]}','A108030跨年度结转抵免境外所得税明细表#5#19.结转以后年度抵免的境外所得已缴所得税额_小计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108030','jzxj','1',' ','{Q[tccit_qysds_a108030#5#jzqsin]}+{Q[tccit_qysds_a108030#5#jzqsann]}+{Q[tccit_qysds_a108030#5#jzqln]}+{Q[tccit_qysds_a108030#5#jzqyn]}+{Q[tccit_qysds_a108030#5#jbzn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075562026413;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075562026413,{ts'2021-07-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#xsfy','{Q[销售费用#26.合计]}','A100000年度纳税申报表#金额#4.销售费用','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','xsfy','1',' ','if({Q[tccit_qysds_a104000#1#hj]}!=0,{Q[tccit_qysds_a104000#1#hj]},{S[select famount from t_tccit_dg_a100000_1_sum where fitemtype =''001_03'' and forgid = ''#orgid'' and fskssqq =''#startDate'' and fskssqz =''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1133313914587817984;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133313914587817984,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#14#fpse',' ','A109010分支机构信息#14#7.分配所得税额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#14#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932429;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932429,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#26#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#26#4.税收金额资产计税基础','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020611'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932172;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932172,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#qt',' ','A105020未按权责发生确实收入调整明细#5#12.其他','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','qt',' ',' ','{S[select ftaxincomesum from t_tccit_right_income_sum where FITEMTYPE=''001_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337849;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337849,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#27#yftqjfy','{Q[25.九、其他#7.应分摊期间费用]}+{Q[26.九、其他#7.应分摊期间费用]}','A107020所得减免优惠明细表#27.九、其他小计#7.应分摊期间费用','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy','1',' ','{Q[tccit_qysds_a107020#25#yftqjfy]}+{Q[tccit_qysds_a107020#26#yftqjfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321215;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321215,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#ggfhywxcfzc','if(({Q[金额#12.本年广告费和业务宣传费支出纳税调整金额]}>={Q[金额#12.本年广告费和业务宣传费支出纳税调整金额]})','A105000纳税调整项目明细#调增金额#16.广告费和业务宣传费支出','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','ggfhywxcfzc','1',' ','if({Q[tccit_qysds_a105060#1#bnggfhywxcfzcnstzje]}>=0,{Q[tccit_qysds_a105060#1#bnggfhywxcfzcnstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932151;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932151,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#yydwjzcb',' ','A05010视同销售纳税调整明细#1#17.用于对外捐赠视同销售成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','yydwjzcb',' ',' ','{S[select sum(fcost) from t_tccit_thinkofsell_sum where FITEMTYPE=''50105'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113707236225659904;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113707236225659904,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#qsndyjbe',' ','A106000企业所得税弥补亏损明细表#2#5.可弥补年限10年','1','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndyjbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}>0)      {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}   #else  #if({S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}>0 )     0-{S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}  #else   {S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932790;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932790,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#qekcpxfy','{Q[账载金额#6.按税收规定全额扣除的职工培训费用]}-{Q[税收金额#6.按税收规定全额扣除的职工培训费用]}','A105050职工薪酬支出明细#纳税调整金额#6.按税收规定全额扣除的职工培训费用','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','qekcpxfy','1',' ','{Q[tccit_qysds_a105050#1#qekcpxfy]}-{Q[tccit_qysds_a105050#5#qekcpxfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932569;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932569,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#26#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#26#4.资产计税基础','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''7010311'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932459;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932459,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#20#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#20#8.税收金额累计折旧、摊销额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020302'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932356;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932356,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#12#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#12#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020608'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932690;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932690,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#hj','{Q[纳税调整金额#1.跨期收取的租金、利息、特许权使用费收入]}+{Q[纳税调整金额#5.分期确认收入]}+{Q[纳税调整金额#9.政府补助递延收入]}+{Q[纳税调整金额#13.其他未按权责发生制确认收入]}','A105020未按权责发生确实收入调整明细#纳税调整金额#14.合计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','hj','1',' ','{Q[tccit_qysds_a105020#6#kqsqdzjlxtxq]}+{Q[tccit_qysds_a105020#6#fqqrsr]}+{Q[tccit_qysds_a105020#6#zfbzdysr]}+{Q[tccit_qysds_a105020#6#qtwaqzfszqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118813390438313984;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118813390438313984,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#11#je',' ','A107042软件、集成电路企业优惠情况及明细表#11#2.金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a107042','je',' ',' ','{S[select t.fjesl from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''fhtjdxssr'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071734920914965504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071734920914965504,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#22#yhfs',' ','A107020所得减免优惠明细表#22#3.优惠方式','4','22','1066581598406760448','qysdsnb','tccit_qysds_a107020','yhfs',' ',' ','{S[select  fyhfs from t_tccit_getredu_sum where FREDUCENAME in (1119510373058271232,1119510373058271233) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078902416469964800;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078902416469964800,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#39#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#39#8.税收金额累计折旧、摊销额','1','39','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje) from t_tccit_zczjtx_summary where FITEMTYPE=''701020606'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320590;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320590,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#9#jwsdynse1','{Q[9#7.抵减境内亏损后的境外应纳税所得额]}*{Q[9#8.税率]}','A108000境外所得税收抵免明细表#9#9.境外所得应纳税额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsdynse1','1',' ','{Q[tccit_qysds_a108000#9#djjnkshjwyne]}*{Q[tccit_qysds_a108000#9#sl2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113757233679806464;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113757233679806464,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#5#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#5#5.特殊性税务处理递延纳税税收金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030201'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320743;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320743,{ts'2021-02-08  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#36#ssjebnjszje','{Q[8.（一）重要行业固定资产加速折旧#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#36.合计#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','36','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje','1',' ','{Q[tccit_qysds_a105080#8#ssjebnjszje]}+{Q[tccit_qysds_a105080#9#ssjebnjszje]}+{Q[tccit_qysds_a105080#10#ssjebnjszje]}+{Q[tccit_qysds_a105080#11#ssjebnjszje]}+{Q[tccit_qysds_a105080#12#ssjebnjszje]}+{Q[tccit_qysds_a105080#13#ssjebnjszje]}+{Q[tccit_qysds_a105080#14#ssjebnjszje]}+{Q[tccit_qysds_a105080#37#ssjebnjszje]}+{Q[tccit_qysds_a105080#26#ssjebnjszje]}+{Q[tccit_qysds_a105080#38#ssjebnjszje]}+{Q[tccit_qysds_a105080#39#ssjebnjszje]}+{Q[tccit_qysds_a105080#40#ssjebnjszje]}+{Q[tccit_qysds_a105080#41#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321240;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321240,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#kcltzxmqt','if({Q[账载金额#30.扣除类调整其他]}-{Q[税收金额#30.扣除类调整其他]}<,())','A105000纳税调整项目明细#调减金额#30.扣除类调整其他','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','kcltzxmqt','1',' ','if({Q[tccit_qysds_a105000#1#kcltzxmqt]}-{Q[tccit_qysds_a105000#2#kcltzxmqt]}<0,0-({Q[tccit_qysds_a105000#1#kcltzxmqt]}-{Q[tccit_qysds_a105000#2#kcltzxmqt]}),0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932204;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932204,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#qtfqqrsr',' ','A105020未按权责发生确实收入调整明细#5#8.其他分期确认收入','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','qtfqqrsr',' ',' ','{S[select ftaxincomesum from t_tccit_right_income_sum where FITEMTYPE=''003_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320699;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320699,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#2#hj','{Q[销售费用境外支付#2.劳务费]}+{Q[销售费用境外支付#3.咨询顾问费]}+{Q[销售费用境外支付#6.佣金和手续费]}+{Q[销售费用境外支付#11.租赁费]}+{Q[销售费用境外支付#15.运输、仓储费]}+{Q[销售费用境外支付#16.修理费]}+{Q[销售费用境外支付#18.技术转让费]}+{Q[销售费用境外支付#19.研究费用]}+{Q[销售费用境外支付#25.其他]}','A104000期间费用明细表#销售费用境外支付#26.合计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a104000','hj','1',' ','{Q[tccit_qysds_a104000#2#lwf]}+{Q[tccit_qysds_a104000#2#zxgwf]}+{Q[tccit_qysds_a104000#2#yjsxf]}+{Q[tccit_qysds_a104000#2#zlf]}+{Q[tccit_qysds_a104000#2#ysccf]}+{Q[tccit_qysds_a104000#2#xlf]}+{Q[tccit_qysds_a104000#2#jszrf]}+{Q[tccit_qysds_a104000#2#yjfy]}+{Q[tccit_qysds_a104000#2#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320846;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320846,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#26#nstzje','{Q[26.十一、打包出售资产损失#1.资产损失的账载金额]}-{Q[26.十一、打包出售资产损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#26.十一、打包出售资产损失#6.纳税调整金额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#26#zzje]}+{Q[tccit_qysds_a105090#26#zchxje]}-{Q[tccit_qysds_a105090#26#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114451869193027584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114451869193027584,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#sjnbe',' ','A106000企业所得税弥补亏损明细表#8#10.使用境外所得弥补','1','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','sjnbe',' ',' ','{S[select sum(fsyjwsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320627;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320627,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#10#jwshxj','{Q[合计#2.境外税后所得_分支机构机构营业利润所得]}+{Q[合计#3.境外税后所得_股息、红利等权益性投资所得]}+{Q[合计#4.境外税后所得_利息所得]}+{Q[合计#5.境外税后所得_租金所得]}+{Q[合计#6.境外税后所得_特许权使用费所得]}+{Q[合计#7.境外税后所得_财产转让所得]}+{Q[合计#8.境外税后所得_其他所得]}','A108010境外所得纳税调整后所得明细表#合计#9.境外税后所得_小计','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwshxj','1',' ','{Q[tccit_qysds_a108010#10#jwshfzjgyylr]}+{Q[tccit_qysds_a108010#10#jwshgxhltzsd]}+{Q[tccit_qysds_a108010#10#jwshlxsd]}+{Q[tccit_qysds_a108010#10#jwshzjsd]}+{Q[tccit_qysds_a108010#10#jwshtxqfysd]}+{Q[tccit_qysds_a108010#10#jwshcczrsd]}+{Q[tccit_qysds_a108010#10#jwshqtsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320919;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320919,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#28#yfhdfyje','{Q[29#研发活动费用金额]}+{Q[30#研发活动费用金额]}+{Q[31#研发活动费用金额]}+{Q[32#研发活动费用金额]}+{Q[33#研发活动费用金额]}','A107012研发费用加计扣除优惠明细#28#研发活动费用金额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','{Q[tccit_qysds_a107012_mx#29#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#30#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#31#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#32#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#33#yfhdfyje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321381;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321381,{ts'2021-06-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#blkcjyjf',' ','A105050职工薪酬支出明细#实际发生额#5.按税收规定比例扣除的职工教育经费','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','blkcjyjf','1',' ','{S[select famount from t_tccit_b105014_3_sum where fitemtype=''sjfsje'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071712467916462080;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071712467916462080,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#7#yhfs',' ','A107020所得减免优惠明细表#7#3.优惠方式','4','7','1066581598406760448','qysdsnb','tccit_qysds_a107020','yhfs',' ',' ','{S[select  FYHFS  from t_tccit_getredu_sum where FREDUCENAME in (1064510411371678720,1064510411371678721,1064510411371678722,1064510411371678723,1064510411371678724,1064510411371678725) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932226;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932226,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#2#cqgqtz',' ','A105030投资收益纳税调整明细#2#6.长期股权投资','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqgqtz',' ',' ','{S[select ftaxincome from t_tccit_invest_profit_sum where fitemtype=''6010406'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321179;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321179,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#tzsy','if({Q[纳税调整金额#10.合计]}>=0,{Q[纳税调整金额#10.合计]},0)','A105000纳税调整项目明细#调增金额#4.投资收益','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','tzsy','1',' ','if({Q[tccit_qysds_a105030#11#hj]}>=0,{Q[tccit_qysds_a105030#11#hj]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338350;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338350,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#12#jmsde','if({Q[12.四、符合条件的技术转让项目小计#9.免税项目所得额]}+*{Q[12.四、符合条件的技术转让项目小计#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#12.四、符合条件的技术转让项目小计#11.减免所得额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#12#msxmsde]}+{Q[tccit_qysds_a107020#12#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#12#msxmsde]}+{Q[tccit_qysds_a107020#12#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321185;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321185,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#xsck',' ','A102020金融企业支出明细#金额#7.吸收存款','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','xsck','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=7 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932175;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932175,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#zj',' ','A105020未按权责发生确实收入调整明细#1#2.租金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','zj',' ',' ','{S[select fsignamount from t_tccit_right_income_sum where FITEMTYPE=''002_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932339;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932339,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#9#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#9#4.税收金额资产计税基础','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020602'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321172;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321172,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#zzzc',' ','A102010一般企业成本支出明细#金额#22.赞助支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','zzzc','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=22 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321266;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321266,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#ssf',' ','A104000期间费用明细表#销售费用#12.诉讼费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','ssf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=12 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931983;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931983,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#28#hj','{Q[二十八、其他 （一）从事污染防治的第三方企业减按15%的税率征收企业所得税#1.金额]}+{Q[二十八、其他 （二）其他1#1.金额]}+{Q[二十八、其他 （二）其他2#1.金额]}','A107040减免所得税优惠明细表#28#1.金额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ','{Q[tccit_qysds_a107040#39#hj]}+{Q[tccit_qysds_a107040#40#hj]}+{Q[tccit_qysds_a107040#41#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932306;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932306,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#3#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#3#5.税收金额-税收折旧、摊销额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020102'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077461791308562432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077461791308562432,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#15#ssje',' ','A105070捐赠支出及纳税调整明细#15#4.税收金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105070','ssje',' ',' ','{Q[tccit_qysds_a105070#15#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112222940180512768;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112222940180512768,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#24#bnd',' ','A107041高新技术企业优惠情况及明细表#24#1.本年度','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd',' ',' ','{S[select fcurryear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''10'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321245;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321245,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#zwzcss',' ','A102020金融企业支出明细#金额#36.债务重组损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','zwzcss','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=36 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321348;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321348,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#mjtzsy',' ','A103000事业单位支出明细#金额#16.民间投资收益','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','mjtzsy','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=16 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932906;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932906,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#chjstzqrjeshcstzcb','{Q[7#4.投资成本]}*{Q[7#12.撤回或减少投资确认金额_减少投资比例]}','A107011居民企业之间权益性投资收益优惠#7#13.撤回或减少投资确认金额_收回初始投资成本','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeshcstzcb','1',' ','{Q[tccit_qysds_a107011#7#tzcb]}*{Q[tccit_qysds_a107011#7#chjstzqrjejstzbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321105;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321105,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#fmld',' ','A101010一般企业收入明细表#金额#23.罚没利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','fmld','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=23 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118813633187852288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118813633187852288,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#22#je',' ','A107042软件、集成电路企业优惠情况及明细表#22#2.金额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107042','je',' ',' ','{S[select t.fjesl from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''jmse'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932160;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932160,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#ysyxgdzfbz',' ','A105020未按权责发生确实收入调整明细#2#10.与收益相关的政府补助','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','ysyxgdzfbz',' ',' ','{S[select fzzjecurrent from t_tccit_right_income_sum where FITEMTYPE=''001_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932328;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932328,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#12#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#12#2.账载金额本年折旧摊销额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020608'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321032;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321032,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#stxs','{Q[税收金额#1.视同销售营业收入]}','A105000纳税调整项目明细#税收金额#2.视同销售收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','stxs','1',' ','{Q[tccit_qysds_a105010#1#stxsyysr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113722717191851008;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113722717191851008,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#2#bn',' ','A105040专项用途财政性资金纳税调整明细#2#6.本年','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105040','bn',' ',' ','{S[ SELECT sum(ffiscalamount) FROM t_tccit_zero_rating_sum  where ftype=''specialfund'' and forgid = ''#orgid'' AND fincomedateyear = #declareyear  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932634;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932634,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#yyzc','{Q[金额#2.银行业务支出]}+{Q[金额#15.保险业务支出]}+{Q[金额#25.证券业务支出]}+{Q[金额#31.其他金融业务支出]}+{Q[金额#32.其他业务成本]}','A102020金融企业支出明细#金额#1.营业支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','yyzc','1',' ','{Q[tccit_qysds_a102020#1#yhywzc]}+{Q[tccit_qysds_a102020#1#bxywzc]}+{Q[tccit_qysds_a102020#1#zqywzc]}+{Q[tccit_qysds_a102020#1#qtjrywzc]}+{Q[tccit_qysds_a102020#1#qtywcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932858;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932858,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#6#nstzje','{Q[6#3.一般性税务处理纳税调整金额]}+{Q[6#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#6#7.纳税调整金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#6#ybnstzje]}+{Q[tccit_qysds_a105100#6#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932617;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932617,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#3#nstzhsd','{Q[3#13.利润总额]}-{Q[3#14.境外所得金额]}+{Q[3#15.纳税调整增加额]}-{Q[3#16.纳税调整减少额]}-{Q[3#17.减：免税、减计收入及加计扣除]}+{Q[3#18.加：境外应税所得抵减境内亏损]}','A100000年度纳税申报表#3#19.纳税调整后所得','1','3','1066581598406760448','qysdsnb','tccit_qysds_a100000','nstzhsd','1',' ','{Q[tccit_qysds_a100000#3#lrze]}-{Q[tccit_qysds_a100000#3#jwsdje]}+{Q[tccit_qysds_a100000#3#nstzzje]}-{Q[tccit_qysds_a100000#3#nstzjse]}-{Q[tccit_qysds_a100000#3#msjjsrjjjkc]}+{Q[tccit_qysds_a100000#3#jwyssddjjnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095563406552907776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095563406552907776,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#tzcb',' ','A107011居民企业之间权益性投资收益优惠#1#4.投资成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzcb',' ',' ','{S[select fincost from t_tccit_dg_b105037_sum where flabel=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932660;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932660,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#kqsqdzjlxtxq','{Q[本年税收金额#2.租金]}+{Q[本年税收金额#3.利息]}+{Q[本年税收金额#4.特许权使用费]}','A105020未按权责发生确实收入调整明细#本年税收金额#1.跨期收取的租金、利息、特许权使用费收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','kqsqdzjlxtxq','1',' ','{Q[tccit_qysds_a105020#4#zj]}+{Q[tccit_qysds_a105020#4#lx]}+{Q[tccit_qysds_a105020#4#txqsyf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320728;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320728,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#18#zzjezcjs','{Q[19.（一）专利权#3.账载金额累计折旧、摊销额]}+{Q[20.（二）商标权#3.账载金额累计折旧、摊销额]}+{Q[21.（三）著作权#3.账载金额累计折旧、摊销额]}+{Q[22.（四）土地使用权#3.账载金额累计折旧、摊销额]}+{Q[23.（五）非专利技术#3.账载金额累计折旧、摊销额]}+{Q[24.（六）特许权使用费#3.账载金额累计折旧、摊销额]}+{Q[25.（七）软件#3.账载金额累计折旧、摊销额]}+{Q[27.（八）其他#3.账载金额累计折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#18.三、无形资产19+20+21+22+23+24+25+27#3.账载金额累计折旧、摊销额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs','1',' ','{Q[tccit_qysds_a105080#19#zzjezcjs]}+{Q[tccit_qysds_a105080#20#zzjezcjs]}+{Q[tccit_qysds_a105080#21#zzjezcjs]}+{Q[tccit_qysds_a105080#22#zzjezcjs]}+{Q[tccit_qysds_a105080#23#zzjezcjs]}+{Q[tccit_qysds_a105080#24#zzjezcjs]}+{Q[tccit_qysds_a105080#25#zzjezcjs]}+{Q[tccit_qysds_a105080#27#zzjezcjs]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071703621013640192;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071703621013640192,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#4#yhfs',' ','A107020所得减免优惠明细表#4#3.优惠方式','4','4','1066581598406760448','qysdsnb','tccit_qysds_a107020','yhfs',' ',' ','{S[select   fyhfs from t_tccit_getredu_sum where FREDUCENAME in (1064506748737653761,1064508826394528768,1064508826394528769,1064508826394528770,1064508826394528771,1064508826394528772,1064508826394528773,1064508826394528774,1064508826394528775)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321326;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321326,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#4#qt',' ','A104000期间费用明细表#管理费用境外支付#25.其他','1','4','1066581598406760448','qysdsnb','tccit_qysds_a104000','qt','1',' ','{S[select fmanageoutside from t_tccit_profit_fees_sum where fitemno=25 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321013;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321013,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#mbyqndks','{Q[15#1.合计金额]}','A100000年度纳税申报表#金额#22.弥补以前年度亏损','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','mbyqndks','1',' ','{Q[tccit_qysds_a107030#15#hjje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133309529006654464;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133309529006654464,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#12#fzjgzcze',' ','A109010分支机构信息#12#5.资产总额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''12'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113755377625040896;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113755377625040896,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#6#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#6#4.特殊性税务处理递延纳税账载金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010303'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932365;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932365,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#14#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#14#8.税收金额累计折旧、摊销额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje) from t_tccit_zczjtx_summary where FITEMTYPE=''701020610'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112324399127641088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112324399127641088,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#10#dksszbj',' ','A105120贷款损失准备金及纳税调整明细表#10#10.准予当年税前扣除的贷款损失准备金','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','dksszbj',' ',' ','{Q[tccit_qysds_a105120_dk#1#dksszbj]} + {Q[tccit_qysds_a105120_dk#8#dksszbj]}+ {Q[tccit_qysds_a105120_dk#9#dksszbj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069596952317071360;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069596952317071360,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#4#yftqjfy',' ','A107020所得减免优惠明细表#4#7.应分摊期间费用','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy',' ',' ','{S[select fqjfyfte from t_tccit_getredu_sum where  FREDUCENAME in (1064506748737653761,1064508826394528768,1064508826394528769,1064508826394528770,1064508826394528771,1064508826394528772,1064508826394528773,1064508826394528774,1064508826394528775)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321209;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321209,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#zgxc','if({Q[纳税调整金额#13.合计]}>=,{Q[纳税调整金额#13.合计]},)','A105000纳税调整项目明细#调增金额#14.职工薪酬','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','zgxc','1',' ','if({Q[tccit_qysds_a105050#6#hj]}>=0,{Q[tccit_qysds_a105050#6#hj]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075553638285;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075553638285,{ts'2021-03-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#qsndynbe','[{"val":"","text":""},{"val":"100","text":"一般企业"},{"val":"200","text":"符合条件的高新技术企业"},{"val":"300","text":"符合条件的科技型中小企业"},{"val":"400","text":"线宽小于 130 纳米(含)的集成电路生产企业"},{"val":"500","text":"受疫情影响困难行业企业"},{"val":"600","text":"电影行业企业"}]','A106000企业所得税弥补亏损明细表#3.前八年度#6.弥补亏损企业类型','3','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1113729848674667520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113729848674667520,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#10#qsand',' ','A105040专项用途财政性资金纳税调整明细#10#3.前三年度','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsand',' ',' ','{S[SELECT sum(e.FPAYAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-3 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078898171205169152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078898171205169152,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#39#ssje2014zje',' ','A105080资产折旧摊销及纳税调整明细#39#7.税收金额加速折旧、摊销统计额','1','39','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje',' ',' ','{Q[tccit_qysds_a105080#39#ssjessgdzje]}-{Q[tccit_qysds_a105080#39#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932425;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932425,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#22#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#22#4.税收金额资产计税基础','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020304'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932279;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932279,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#7#cqzqtz',' ','A105030投资收益纳税调整明细#7#8.长期债券投资','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqzqtz',' ',' ','{S[select fczzcjsjc from t_tccit_asset_dispose_sum where fitemtype=''6010808'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320647;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320647,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#10#jwsqsd','{Q[合计#9.境外税后所得_小计]}+{Q[合计#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[合计#11.境外所得可抵免的所得税额_间接负担的所得税额]}','A108010境外所得纳税调整后所得明细表#合计#14.境外税前所得','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsqsd','1',' ','{Q[tccit_qysds_a108010#10#jwshxj]}+{Q[tccit_qysds_a108010#10#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#10#jwsdkdmjjfd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932744;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932744,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#9#cqzqtz','{Q[处置收益税收计算处置收入#8.长期债券投资]}-{Q[处置收益计税基础#8.长期债券投资]}','A105030投资收益纳税调整明细#处置收益税收计算处置所得#8.长期债券投资','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqzqtz','1',' ','{Q[tccit_qysds_a105030#5#cqzqtz]}-{Q[tccit_qysds_a105030#7#cqzqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932239;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932239,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#tssxtzxmqt',' ','A105000纳税调整项目明细#3#42.特殊事项调整其他','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','tssxtzxmqt',' ',' ','if({S[select fnstzje from t_tccit_spec_other_sum where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}>0,{S[select fnstzje  from t_tccit_spec_other_sum  where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1113757325384069120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113757325384069120,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#6#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#6#5.特殊性税务处理递延纳税税收金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010303'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932272;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932272,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#7#jyxjrzc',' ','A105030投资收益纳税调整明细#7#1.交易性金融资产','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrzc',' ',' ','{S[select fczzcjsjc from t_tccit_asset_dispose_sum where fitemtype=''6010801'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932329;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932329,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#13#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#13#2.账载金额本年折旧摊销额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020609'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112239610030718976;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112239610030718976,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#32#hj',' ','A107041高新技术企业优惠情况及明细表#32#4.合计','1','32','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{S[select fjmse from t_tccit_dg_a301010200_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133313837605562368;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133313837605562368,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#13#fpse',' ','A109010分支机构信息#13#7.分配所得税额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#13#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932126;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932126,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#tglwsr',' ','A05010视同销售纳税调整明细#2#9.提供劳务视同销售收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','tglwsr',' ',' ','{Q[tccit_qysds_a105010#1#tglwsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114444812167495680;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114444812167495680,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#hj',' ','A106000企业所得税弥补亏损明细表#6#9.使用境内所得弥补','1','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','hj',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fsyjnsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}>0) {S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}  #else 0-{S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320610;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320610,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#2#jwsddmsehj','{Q[2#12.本年可抵免境外所得税额]}+{Q[2#14.本年可抵免以前年度未抵免境外所得税额]}+{Q[2#18.按简易办法计算_小计]}','A108000境外所得税收抵免明细表#2#19.境外所得抵免所得税额合计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsddmsehj','1',' ','{Q[tccit_qysds_a108000#2#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#2#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#2#jyjsxj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095560844655247360;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095560844655247360,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#btzqy',' ','A107011居民企业之间权益性投资收益优惠#6#1.被投资企业','4','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqy',' ',' ','{S[select ftzbdname from t_tccit_dg_b105036_sum where fitemno=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338362;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338362,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#24#jmsde','if({Q[24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#9.免税项目所得额]}+{Q[24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#11.减免所得额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#24#msxmsde]}+{Q[tccit_qysds_a107020#24#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#24#msxmsde]}+{Q[tccit_qysds_a107020#24#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1078898835859748864;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078898835859748864,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#41#ssje2014zje',' ','A105080资产折旧摊销及纳税调整明细#41#7.税收金额加速折旧、摊销统计额','1','41','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje',' ',' ','{Q[tccit_qysds_a105080#41#ssjessgdzje]}-{Q[tccit_qysds_a105080#41#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114481594963330048;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114481594963330048,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#7#zjlx','[{"val":"","text":""},{"val":"1","text":"居民身份证"},{"val":"2","text":"中国护照"},{"val":"3","text":"税务登记证"},{"val":"4","text":"营业执照"},{"val":"5","text":"组织机构代码证"},{"val":"6","text":"其他单位证件"},{"val":"7","text":"香港特别行政区护照"},{"val":"8","text":"澳门特别行政区护照"},{"val":"9","text":"港澳居民来往内地通行证"},{"val":"10","text":"中华人民共和国往来港澳通行证"},{"val":"11","text":"台湾居民来往大陆通行证"},{"val":"12","text":"大陆居民往来台湾通行证"},{"val":"13","text":"香港永久性居民身份证"},{"val":"14","text":"台湾身份证"},{"val":"15","text":"澳门特别行政区永久性居民身份证"},{"val":"16","text":"外国护照"},{"val":"17","text":"外国人身份证件"},{"val":"18","text":"其他个人证件"}]','A000000主要股东及分红情况#7#2.证件种类','3','7','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932263;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932263,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#5#jyxjrzc',' ','A105030投资收益纳税调整明细#5#1.交易性金融资产','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrzc',' ',' ','{S[select fssjsczsr from t_tccit_asset_dispose_sum where fitemtype=''6010801'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337838;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337838,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#21#xgsf','{Q[19.七、线宽小于130纳米的集成电路生产项目#6.相关税费]}+{Q[20.七、线宽小于131纳米的集成电路生产项目#6.相关税费]}','A107020所得减免优惠明细表#21.七、线宽小于132纳米的集成电路生产项目小计#6.相关税费','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf','1',' ','{Q[tccit_qysds_a107020#19#xgsf]}+{Q[tccit_qysds_a107020#20#xgsf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932972;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932972,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#2#bnkdmse','{Q[前四年度#3.本年允许抵免的专用设备投资额]}*0.1','A107050税额抵免优惠明细表#前四年度#4.本年可抵免税额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnkdmse','1',' ','{Q[tccit_qysds_a107050#2#bnyxdmdzysbtze]}*0.1'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932168;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932168,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#yzcxgdzfbz',' ','A105020未按权责发生确实收入调整明细#4#11.与资产相关的政府补助','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','yzcxgdzfbz',' ',' ','{S[select ftaxincomecurrent from t_tccit_right_income_sum where FITEMTYPE=''001_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932389;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932389,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#22#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#22#2.账载金额本年折旧摊销额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020304'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932197;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932197,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#cxsjcg12gy',' ','A105020未按权责发生确实收入调整明细#3#7.持续时间超过12个月的建造合同收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','cxsjcg12gy',' ',' ','{S[select fzzjesum from t_tccit_right_income_sum where FITEMTYPE=''003_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932738;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932738,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#9#kgcsjrzc','{Q[处置收益税收计算处置收入#2.可供出售金融资]}-{Q[处置收益计税基础#2.可供出售金融资]}','A105030投资收益纳税调整明细#处置收益税收计算处置所得#2.可供出售金融资','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105030','kgcsjrzc','1',' ','{Q[tccit_qysds_a105030#5#kgcsjrzc]}-{Q[tccit_qysds_a105030#7#kgcsjrzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113700961563653120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113700961563653120,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#nxbn',' ','A106000企业所得税弥补亏损明细表#9#11.可弥补年限8年','1','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','nxbn',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-2 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-2 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}  #else #if({S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}>0 )    0-{S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']} #else  {S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932978;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932978,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#2#xj','{Q[前四年度#6.前四年度一抵免额]}+{Q[前四年度#7.前三年度一抵免额]}+{Q[前四年度#8.前二年度一抵免额]}+{Q[前四年度#9.前一年度一抵免额]}','A107050税额抵免优惠明细表#前四年度#10.小计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','xj','1',' ','{Q[tccit_qysds_a107050#2#qsinddme]}+{Q[tccit_qysds_a107050#2#qsnddme]}+{Q[tccit_qysds_a107050#2#qenddme]}+{Q[tccit_qysds_a107050#2#qynddme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133296126687160320;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133296126687160320,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#6#fzjgnsrsbh',' ','A109010分支机构信息#6#1.分支机构纳税人识别号','4','6','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''6'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112232385367244800;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112232385367244800,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#17#hj','{Q[17.人员人工费用#1.本年度]}','A107041高新技术企业优惠情况及明细表#17#4.合计','1','17','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{Q[tccit_qysds_a107041#17#bnd]}+{Q[tccit_qysds_a107041#17#qynd]}+{Q[tccit_qysds_a107041#17#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133308519219577856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133308519219577856,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#1#fzjgzcze',' ','A109010分支机构信息#1#5.资产总额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''1'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851102;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851102,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#5#yqndjzkkcdjze',' ','A105070捐赠支出及纳税调整明细#前二年度#2.以前年度结转可扣除的捐赠额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105070','yqndjzkkcdjze','1',' ','{S[select fmoney from  t_tccit_dg_b105021_sum where FITEMNO=''6b'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320736,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#28#ssjessgdzje','{Q[29.（一）已足额提取折旧的固定资产的改建支出#5.税收金额-税收折旧、摊销额]}+{Q[30.（二）租入固定资产的改建支出#5.税收金额-税收折旧、摊销额]}+{Q[31.（三）固定资产的大修理支出#5.税收金额-税收折旧、摊销额]}+{Q[32.（四）开办费#5.税收金额-税收折旧、摊销额]}+{Q[33.（五）其他#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#28.四、长期待摊费用#5.税收金额-税收折旧、摊销额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje','1',' ','{Q[tccit_qysds_a105080#29#ssjessgdzje]}+{Q[tccit_qysds_a105080#30#ssjessgdzje]}+{Q[tccit_qysds_a105080#31#ssjessgdzje]}+{Q[tccit_qysds_a105080#32#ssjessgdzje]}+{Q[tccit_qysds_a105080#33#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320621;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320621,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#4#jwshxj','{Q[4#2.境外税后所得_分支机构机构营业利润所得]}+{Q[4#3.境外税后所得_股息、红利等权益性投资所得]}+{Q[4#4.境外税后所得_利息所得]}+{Q[4#5.境外税后所得_租金所得]}+{Q[4#6.境外税后所得_特许权使用费所得]}+{Q[4#7.境外税后所得_财产转让所得]}+{Q[4#8.境外税后所得_其他所得]}','A108010境外所得纳税调整后所得明细表#4#9.境外税后所得_小计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwshxj','1',' ','{Q[tccit_qysds_a108010#4#jwshfzjgyylr]}+{Q[tccit_qysds_a108010#4#jwshgxhltzsd]}+{Q[tccit_qysds_a108010#4#jwshlxsd]}+{Q[tccit_qysds_a108010#4#jwshzjsd]}+{Q[tccit_qysds_a108010#4#jwshtxqfysd]}+{Q[tccit_qysds_a108010#4#jwshcczrsd]}+{Q[tccit_qysds_a108010#4#jwshqtsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075553638291;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075553638291,{ts'2021-03-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#qsndynbe','[{"val":"","text":""},{"val":"100","text":"一般企业"},{"val":"200","text":"符合条件的高新技术企业"},{"val":"300","text":"符合条件的科技型中小企业"},{"val":"400","text":"线宽小于 130 纳米(含)的集成电路生产企业"},{"val":"500","text":"受疫情影响困难行业企业"},{"val":"600","text":"电影行业企业"}]','A106000企业所得税弥补亏损明细表#6.前五年度#6.弥补亏损企业类型','3','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932384,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#16#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#16#2.账载金额本年折旧摊销额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020201'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1107932811500723200;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1107932811500723200,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#btzlrfpqrjejdsj',' ','A107011居民企业之间权益性投资收益优惠#2#6.被投资企业利润分配确认金额_被投资企业做出利润分配或转股决定时间','4','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzlrfpqrjejdsj',' ',' ','{S[select left(fbizdate,10)  from t_tccit_dg_b105037_sum where flabel=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320791;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320791,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#28#zcjsjc','{Q[1.一、现金及银行存款损失#4.资产计税基础]}+{Q[2.二、应收及预付款项坏账损失#4.资产计税基础]}+{Q[5.三、存货损失#4.资产计税基础]}+{Q[7.四、固定资产损失#4.资产计税基础]}+{Q[9.五、无形资产损失#4.资产计税基础]}+{Q[12.六、在建工程损失#4.资产计税基础]}+{Q[14.七、生产性生物资产损失#4.资产计税基础]}+{Q[16.八、债权性投资损失#4.资产计税基础]}+{Q[23.九、股权（权益）性投资损失#4.资产计税基础]}+{Q[25.十、通过各种交易场所、市场买卖债券、股票、期货、基金以及金融衍生产品等发生的损失#4.资产计税基础]}+{Q[26.十一、打包出售资产损失#4.资产计税基础]}+{Q[27.十二、其他资产损失#4.资产计税基础]}','A105090资产损失税前扣除及纳税调整明细#28.合计#4.资产计税基础','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc','1',' ','{Q[tccit_qysds_a105090#1#zcjsjc]}+{Q[tccit_qysds_a105090#2#zcjsjc]}+{Q[tccit_qysds_a105090#5#zcjsjc]}+{Q[tccit_qysds_a105090#7#zcjsjc]}+{Q[tccit_qysds_a105090#9#zcjsjc]}+{Q[tccit_qysds_a105090#12#zcjsjc]}+{Q[tccit_qysds_a105090#14#zcjsjc]}+{Q[tccit_qysds_a105090#16#zcjsjc]}+{Q[tccit_qysds_a105090#23#zcjsjc]}+{Q[tccit_qysds_a105090#25#zcjsjc]}+{Q[tccit_qysds_a105090#26#zcjsjc]}+{Q[tccit_qysds_a105090#27#zcjsjc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932479;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932479,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#2#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#2#2.资产处置收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ',' {S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype in (''701030201'',''701030202'',''701030203'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321076;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321076,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#zxytczxyyzc','{Q[本年费用化支出金额#7.合计]}','A105000纳税调整项目明细#调增金额#25.专项用途财政性资金用于支出所形成的费用','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','zxytczxyyzc','1',' ','{Q[tccit_qysds_a105040#11#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320666;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320666,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108020#9#jzhndmbfsjkse','{Q[9#2.非实际亏损额的弥补以前年度结转尚未弥补的非实际亏损额]}+{Q[9#3.非实际亏损额的弥补本年发生的非实际亏损额]}-{Q[9#4.非实际亏损额的弥补本年弥补的以前年度非实际亏损额]}','A108020境外分支机构弥补亏损明细表#9#5.非实际亏损额的弥补结转以后年度弥补的非实际亏损额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108020','jzhndmbfsjkse','1',' ','{Q[tccit_qysds_a108020#9#yqndjzwmbfsjkse]}+{Q[tccit_qysds_a108020#9#bnfsfsjkse]}-{Q[tccit_qysds_a108020#9#bnmbyqfsjkse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321330;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321330,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#5#xjzk',' ','A104000期间费用明细表#财务费用#23.现金折扣','1','5','1066581598406760448','qysdsnb','tccit_qysds_a104000','xjzk','1',' ','{S[select ffinancecost from t_tccit_profit_fees_sum where fitemno=23 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932633;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932633,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#yywzc','{Q[金额#17.非流动资产处置损失]}+{Q[金额#18.非货币性资产交换损失]}+{Q[金额#19.债务重组损失]}+{Q[金额#20.非常损失]}+{Q[金额#21.捐赠支出]}+{Q[金额#22.赞助支出]}+{Q[金额#23.罚没支出]}+{Q[金额#24.坏账损失]}+{Q[金额#25.无法收回的债券股权投资损失]}+{Q[金额#26.其他]}','A102010一般企业成本支出明细#金额#16.营业外支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','yywzc','1',' ','{Q[tccit_qysds_a102010#1#fldzcczss]}+{Q[tccit_qysds_a102010#1#fhbxzcjhss]}+{Q[tccit_qysds_a102010#1#zwczss]}+{Q[tccit_qysds_a102010#1#fcss]}+{Q[tccit_qysds_a102010#1#jzzc]}+{Q[tccit_qysds_a102010#1#zzzc]}+{Q[tccit_qysds_a102010#1#fmzc]}+{Q[tccit_qysds_a102010#1#hzss]}+{Q[tccit_qysds_a102010#1#wfshdzqgqtzss]}+{Q[tccit_qysds_a102010#1#yywzcqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932594;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932594,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105120#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105120特殊行业准备金及纳税调整明细表#表单名称','3','A105120','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932421;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932421,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#17#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#17#4.税收金额资产计税基础','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020202'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932552;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932552,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#22#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#22#3.赔偿收入','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''701030802'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113756196982327296;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113756196982327296,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#14#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#14#4.特殊性税务处理递延纳税账载金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010308'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113757052737531904;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113757052737531904,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#3#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#3#5.特殊性税务处理递延纳税税收金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010302'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113751769449607168;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113751769449607168,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#7#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#7#1.一般性税务处理账载金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071725622176551936;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071725622176551936,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#13#yftqjfy',' ','A107020所得减免优惠明细表#13#7.应分摊期间费用','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy',' ',' ','{S[select   fqjfyfte from t_tccit_getredu_sum where FREDUCENAME=1064511471960165376 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704334819448832;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704334819448832,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#47#hj',' ','A107040减免所得税优惠明细表#47#1.金额','1','47','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321217;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321217,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#lxzc',' ','A105000纳税调整项目明细#账载金额#18.利息支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','lxzc','1',' ','{S[select famount from t_tccit_interest_summary where fitemtype=''001_01'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320818;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320818,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#27#ssje','{Q[27.十二、其他资产损失#4.资产计税基础]}-{Q[27.十二、其他资产损失#2.资产处置收入]}-{Q[27.十二、其他资产损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#27.十二、其他资产损失#5.资产损失的税收金额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#27#zcjsjc]}-{Q[tccit_qysds_a105090#27#zcczsr]}-{Q[tccit_qysds_a105090#27#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321424;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321424,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#43#ssje','{Q[1.一、保险公司#2.税收金额]}+{Q[21.二、证券行业（22+23+24+25）#2.税收金额]}+{Q[26.三、期货行业#2.税收金额]}+{Q[31.四、金融企业#2.税收金额]}+{Q[35.五、中小企业融资（信用）担保机构#2.税收金额]}+{Q[39.六、小额贷款公司(40+41)#2.税收金额]}+{Q[42.七、其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#43.合计#2.税收金额','1','43','1066581598406760448','qysdsnb','tccit_qysds_a105120','ssje','1',' ','{Q[tccit_qysds_a105120#1#ssje]}+{Q[tccit_qysds_a105120#21#ssje]}+{Q[tccit_qysds_a105120#26#ssje]}+{Q[tccit_qysds_a105120#31#ssje]}+{Q[tccit_qysds_a105120#35#ssje]}+{Q[tccit_qysds_a105120#39#ssje]}+{Q[tccit_qysds_a105120#42#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321022;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321022,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#zjgztscjybmftbnybtsdse','{Q[金额#15.其中：总机构主体生产经营部门分摊本年应补退的所得税额]}','A100000年度纳税申报表#金额#36.总机构主体生产经营部门分摊本年应补退所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','zjgztscjybmftbnybtsdse','1',' ','{Q[tccit_qysds_a109000#1#zjgztscjybmybtse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321154;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321154,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#qtywcbqt',' ','A102010一般企业成本支出明细#金额#15.其他营业成本其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','qtywcbqt','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=15 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133310835138209792;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133310835138209792,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#6#fpbl',' ','A109010分支机构信息#6#6.分配比例','1','6','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#6#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#6#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#6#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321452;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321452,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#chjstzqrjeyqrgxsd','if({Q[5#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]}>{Q[5#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[5#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[5#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]})','A107011居民企业之间权益性投资收益优惠#5#16.撤回或减少投资确认金额_应确认的股息所得','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#5#chjstzqrjeljwfplryygj]}>{Q[tccit_qysds_a107011#5#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#5#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#5#chjstzqrjeljwfplryygj]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1078887727371431936;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078887727371431936,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#41#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#41#5.税收金额-税收折旧、摊销额','1','41','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020613'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932623;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932623,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#yhywsr','{Q[金额#3.利息收入]}+{Q[金额#10.手续费及佣金收入]}','A101020金融企业收入明细#金额#2.银行业务收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','yhywsr','1',' ','{Q[tccit_qysds_a101020#1#lxsr]}+{Q[tccit_qysds_a101020#1#sxfjyjsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932636;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932636,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#yhlxzc','{Q[金额#4.同业存放]}+{Q[金额#5.向中央银行借款]}+{Q[金额#6.拆入资金]}+{Q[金额#7.吸收存款]}+{Q[金额#8.卖出回购金融资产]}+{Q[金额#9.发行债券]}+{Q[金额#10.银行利息支出其他]}','A102020金融企业支出明细#金额#3.银行利息支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','yhlxzc','1',' ','{Q[tccit_qysds_a102020#1#tycf]}+{Q[tccit_qysds_a102020#1#xzyyhjk]}+{Q[tccit_qysds_a102020#1#crzj]}+{Q[tccit_qysds_a102020#1#xsck]}+{Q[tccit_qysds_a102020#1#mchgjrzc]}+{Q[tccit_qysds_a102020#1#fxzq]}+{Q[tccit_qysds_a102020#1#yhlxzcqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932799;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932799,{ts'2021-06-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#7#blkcjyjf','{Q[实际发生额#5.按税收规定比例扣除的职工教育经费]}+{Q[累计结转扣除额#5.按税收规定比例扣除的职工教育经费]}-{Q[税收金额#5.按税收规定比例扣除的职工教育经费]}','A105050职工薪酬支出明细#结转后年度扣除额#5.按税收规定比例扣除的职工教育经费','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105050','blkcjyjf','1',' ','{Q[tccit_qysds_a105050#2#blkcjyjf]}+{Q[tccit_qysds_a105050#4#blkcjyjf]}-{Q[tccit_qysds_a105050#5#blkcjyjf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320704,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#srltzxm','{Q[调增金额#2.视同销售收入]}+{Q[调增金额#3.未按权责发生制原则确认的收入]}+{Q[调增金额#4.投资收益]}+{Q[调增金额#5.按权益法核算长期股权投资对初始投资成本调整确认收益]}+{Q[调增金额#6.交易性金融资产初始投资调整]}+{Q[调增金额#7.公允价值变动净损益]}+{Q[调增金额#8.不征税收入]}+{Q[调增金额#10.销售折扣、折让和退回]}+{Q[调增金额#11.收入类调整项目其他]}','A105000纳税调整项目明细#调增金额#1.收入类调整项目','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','srltzxm','1',' ','{Q[tccit_qysds_a105000#3#stxs]}+{Q[tccit_qysds_a105000#3#waqzfszyzqrdsr]}+{Q[tccit_qysds_a105000#3#tzsy]}+{Q[tccit_qysds_a105000#3#aqyhscqtz]}+{Q[tccit_qysds_a105000#3#jyxjrzccstztztzje]}+{Q[tccit_qysds_a105000#3#gyjzbdjsy]}+{Q[tccit_qysds_a105000#3#bzssr]}+{Q[tccit_qysds_a105000#3#xszkzrhth]}+{Q[tccit_qysds_a105000#3#srltzxmqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321518;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321518,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#bzxjk',' ','A105050职工薪酬支出明细#税收金额#8.各类基本社会保障性缴款','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','bzxjk','1',' ','{S[SELECT ftaxamount FROM t_tccit_salary_summary_dg WHERE fitemtype=''insurance'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932874;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932874,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#czdsflx','[{"val":"","text":""},{"val":"210","text":"债务人"},{"val":"220","text":"债权人"},{"val":"310","text":"收购方"},{"val":"320","text":"转让方"},{"val":"330","text":"被收购企业"},{"val":"410","text":"收购方"},{"val":"420","text":"转让方"},{"val":"510","text":"合并企业"},{"val":"520","text":"被合并企业"},{"val":"530","text":"被合并企业股东"},{"val":"610","text":"分立企业"},{"val":"620","text":"被分立企业"},{"val":"630","text":"被分立企业股东"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#214重组当事方类型','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','czdsflx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1181082220920582144;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181082220920582144,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#jwsdkdmse1','{Q[1#10.境外所得可抵免税额]}','A108000境外所得税收抵免明细表#10#10.境外所得可抵免税额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsdkdmse1',' ',' ','{Q[tccit_qysds_a108000#1#jwsdkdmse1]}+{Q[tccit_qysds_a108000#2#jwsdkdmse1]}+{Q[tccit_qysds_a108000#3#jwsdkdmse1]}+{Q[tccit_qysds_a108000#4#jwsdkdmse1]}+{Q[tccit_qysds_a108000#5#jwsdkdmse1]}+{Q[tccit_qysds_a108000#6#jwsdkdmse1]}+{Q[tccit_qysds_a108000#7#jwsdkdmse1]}+{Q[tccit_qysds_a108000#8#jwsdkdmse1]}+{Q[tccit_qysds_a108000#9#jwsdkdmse1]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112233825296974848;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112233825296974848,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#27#hj','{Q[27.境外的外部研发费#1.本年度]}','A107041高新技术企业优惠情况及明细表#27#4.合计','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{Q[tccit_qysds_a107041#27#bnd]}+{Q[tccit_qysds_a107041#27#qynd]}+{Q[tccit_qysds_a107041#27#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135455590181791744;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135455590181791744,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#2#qsnddme',' ','A107050税额抵免优惠明细表#2#7.前三年度一抵免额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','qsnddme',' ',' ','{S[select fqenddme from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112312378948630528;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112312378948630528,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#9#snmdkye',' ','A105120贷款损失准备金及纳税调整明细表#9#1.上年末贷款资产余额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkye',' ',' ','{S[select fsnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''9'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321086;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321086,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#sjynsdse','{Q[基础信息#101纳税申报企业类型]}','A100000年度纳税申报表#金额#31.实际应纳所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','sjynsdse','1',' ','if(0>if({Q[tccit_qysds_a000000#1#qylx]}=311,({Q[tccit_qysds_a100000#1#ynse]}+{Q[tccit_qysds_a100000#1#jwsdynsdse]}-{Q[tccit_qysds_a100000#1#jwsddmsdse]})*{Q[tccit_qysds_a000000#1#fzjdnsbl]}/100,({Q[tccit_qysds_a100000#1#ynse]}+{Q[tccit_qysds_a100000#1#jwsdynsdse]}-{Q[tccit_qysds_a100000#1#jwsddmsdse]})),0,if({Q[tccit_qysds_a000000#1#qylx]}=311,({Q[tccit_qysds_a100000#1#ynse]}+{Q[tccit_qysds_a100000#1#jwsdynsdse]}-{Q[tccit_qysds_a100000#1#jwsddmsdse]})*{Q[tccit_qysds_a000000#1#fzjdnsbl]}/100,({Q[tccit_qysds_a100000#1#ynse]}+{Q[tccit_qysds_a100000#1#jwsdynsdse]}-{Q[tccit_qysds_a100000#1#jwsddmsdse]})))'); 
DELETE FROM t_tctb_formula WHERE FID = 1181083533930672128;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181083533930672128,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#wcgjwdmxeye','{Q[1#13.未超过境外所得税抵免限额的余额]}','A108000境外所得税收抵免明细表#10#13.未超过境外所得税抵免限额的余额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','wcgjwdmxeye',' ',' ','{Q[tccit_qysds_a108000#1#wcgjwdmxeye]}+{Q[tccit_qysds_a108000#2#wcgjwdmxeye]}+{Q[tccit_qysds_a108000#3#wcgjwdmxeye]}+{Q[tccit_qysds_a108000#4#wcgjwdmxeye]}+{Q[tccit_qysds_a108000#5#wcgjwdmxeye]}+{Q[tccit_qysds_a108000#6#wcgjwdmxeye]}+{Q[tccit_qysds_a108000#7#wcgjwdmxeye]}+{Q[tccit_qysds_a108000#8#wcgjwdmxeye]}+{Q[tccit_qysds_a108000#9#wcgjwdmxeye]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113727517153348608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113727517153348608,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#7#qsand',' ','A105040专项用途财政性资金纳税调整明细#7#3.前三年度','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsand',' ',' ','select fqend from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''8'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932293;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932293,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#2#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#2#3.账载金额累计折旧、摊销额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020101'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932473;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932473,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#26#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#26#8.税收金额累计折旧、摊销额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020611'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320884;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320884,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#19#nstzje','{Q[19.（六）大灾风险准备金#1.账载金额]}-{Q[19.（六）大灾风险准备金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#19.六大灾风险准备金#3.纳税调整金额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#19#zzje]}-{Q[tccit_qysds_a105120#19#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320914;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320914,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#3#yfhdfyje','{Q[4#研发活动费用金额]}+{Q[5#研发活动费用金额]}+{Q[6#研发活动费用金额]}','A107012研发费用加计扣除优惠明细#3#研发活动费用金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','{Q[tccit_qysds_a107012_mx#4#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#5#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#6#yfhdfyje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113726254852393984;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113726254852393984,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#6#qwnd',' ','A105040专项用途财政性资金纳税调整明细#6#1.前五年度','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','select fqsind from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''7'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932491;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932491,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#5#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#5#2.资产处置收入','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype in (''701030301'',''701030302'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321260;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321260,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#zczjtxf',' ','A104000期间费用明细表#销售费用#7.资产折旧摊销费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','zczjtxf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=7 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320757;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320757,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#5#nstzje','{Q[5.（四）飞机、火车、轮船以外的运输工具#2.账载金额本年折旧摊销额]}-{Q[5.（四）飞机、火车、轮船以外的运输工具#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#5.四飞机、火车、轮船以外的运输工具#9.纳税调整金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#5#zzjebnzj]}-{Q[tccit_qysds_a105080#5#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113118817325903872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113118817325903872,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#nd',' ','A106000企业所得税弥补亏损明细表#1#1.年度','1','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','nd',' ',' ','{C[#year]}-10'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932257;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932257,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#6#ysgj',' ','A105030投资收益纳税调整明细#6#4.衍生工具','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105030','ysgj',' ',' ','{S[select fczzczmjz from t_tccit_asset_dispose_sum where fitemtype=''6010804'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321205;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321205,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#srltzxmqt','if({Q[税收金额#11.收入类调整项目其他]}-{Q[账载金额#11.收入类调整项目其他]}>=,)','A105000纳税调整项目明细#调增金额#11.收入类调整项目其他','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','srltzxmqt','1',' ','if({Q[tccit_qysds_a105000#2#srltzxmqt]}-{Q[tccit_qysds_a105000#1#srltzxmqt]}>=0,{Q[tccit_qysds_a105000#2#srltzxmqt]}-{Q[tccit_qysds_a105000#1#srltzxmqt]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704225826265088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704225826265088,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#45#hj',' ','A107040减免所得税优惠明细表#45#1.金额','1','45','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321207;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321207,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#srltzxmqt','if({Q[税收金额#11.收入类调整项目其他]}-{Q[账载金额#11.收入类调整项目其他]}<())','A105000纳税调整项目明细#调减金额#11.收入类调整项目其他','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','srltzxmqt','1',' ','if({Q[tccit_qysds_a105000#2#srltzxmqt]}-{Q[tccit_qysds_a105000#1#srltzxmqt]}<0,0-({Q[tccit_qysds_a105000#2#srltzxmqt]}-{Q[tccit_qysds_a105000#1#srltzxmqt]}),0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1135418583107790848;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135418583107790848,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#3#nd',' ','A107050税额抵免优惠明细表#3#1.年度','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','nd',' ',' ','{C[#declareyear-3]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071739314666509312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071739314666509312,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#25#xmcb',' ','A107020所得减免优惠明细表#25#5.项目成本','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb',' ',' ','{S[select   fcost  from t_tccit_getredu_sum where FREDUCENAME=1119525021539512320 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321100;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321100,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#zwczld',' ','A101010一般企业收入明细表#金额#19.债务重组利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','zwczld','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=19 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337833;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337833,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#18#xgsf','{Q[16.六、符合条件的节能服务公司实施的合同能源管理项目#6.相关税费]}+{Q[17.六、符合条件的节能服务公司实施的合同能源管理项目#6.相关税费]}','A107020所得减免优惠明细表#18.六、符合条件的节能服务公司实施的合同能源管理项目小计#6.相关税费','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf','1',' ','{Q[tccit_qysds_a107020#16#xgsf]}+{Q[tccit_qysds_a107020#17#xgsf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323850851;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323850851,{ts'2021-06-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#ynsdse','{Q[金额#23.应纳税所得额]}*{Q[金额#24.税率]}','A100000年度纳税申报表#金额#25.应纳所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','ynsdse','1',' ','if({Q[tccit_qysds_a100000#1#ynssde]}*{Q[tccit_qysds_a100000#1#sl1]}/100>0,{Q[tccit_qysds_a100000#1#ynssde]}*{Q[tccit_qysds_a100000#1#sl1]}/100,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321271;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321271,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#xlf',' ','A104000期间费用明细表#销售费用#16.修理费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','xlf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=16 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337821;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337821,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#12#xmsr','{Q[10.四、符合条件的技术转让项目#4.项目收入]}+{Q[11.四、符合条件的技术转让项目#4.项目收入]}','A107020所得减免优惠明细表#12.四、符合条件的技术转让项目小计#4.项目收入','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr','1',' ','{Q[tccit_qysds_a107020#10#xmsr]}+{Q[tccit_qysds_a107020#11#xmsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320616;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320616,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#8#jwsddmsehj','{Q[8#12.本年可抵免境外所得税额]}+{Q[8#14.本年可抵免以前年度未抵免境外所得税额]}+{Q[8#18.按简易办法计算_小计]}','A108000境外所得税收抵免明细表#8#19.境外所得抵免所得税额合计','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsddmsehj','1',' ','{Q[tccit_qysds_a108000#8#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#8#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#8#jyjsxj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320745;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320745,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#36#ssjeljzje','{Q[1.一、固定资产#8.税收金额累计折旧、摊销额]}+{Q[15.二、生产性生物资产#8.税收金额累计折旧、摊销额]}+{Q[18.三、无形资产（19+20+21+22+23+24+25+27）#8.税收金额累计折旧、摊销额]}+{Q[28.四、长期待摊费用#8.税收金额累计折旧、摊销额]}+{Q[34.五、油气勘探投资#8.税收金额累计折旧、摊销额]}+{Q[35.六、油气开发投资#8.税收金额累计折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#36.合计#8.税收金额累计折旧、摊销额','1','36','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje','1',' ','{Q[tccit_qysds_a105080#1#ssjeljzje]}+{Q[tccit_qysds_a105080#15#ssjeljzje]}+{Q[tccit_qysds_a105080#18#ssjeljzje]}+{Q[tccit_qysds_a105080#28#ssjeljzje]}+{Q[tccit_qysds_a105080#34#ssjeljzje]}+{Q[tccit_qysds_a105080#35#ssjeljzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113730559986681856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113730559986681856,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#10#qynd',' ','A105040专项用途财政性资金纳税调整明细#10#5.前一年度','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105040','qynd',' ',' ','{S[SELECT sum(e.FPAYAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-1 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095578707508117504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095578707508117504,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#btzqsqrjeqssyzc',' ','A107011居民企业之间权益性投资收益优惠#5#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeqssyzc',' ',' ','{S[select fqddbtzzc  from t_tccit_dg_b105036_sum where ftranstype=''被投资企业清算'' and fitemno=1  and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321092;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321092,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#xsclsr',' ','A101010一般企业收入明细表#金额#10.销售材料收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','xsclsr','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=10 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320740;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320740,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#36#ssjezcjs','{Q[1.一、固定资产#4.税收金额资产计税基础]}+{Q[15.二、生产性生物资产#4.税收金额资产计税基础]}+{Q[18.三、无形资产（19+20+21+22+23+24+25+27）#4.税收金额资产计税基础]}+{Q[28.四、长期待摊费用#4.税收金额资产计税基础]}+{Q[34.五、油气勘探投资#4.税收金额资产计税基础]}+{Q[35.六、油气开发投资#4.税收金额资产计税基础]}','A105080资产折旧摊销及纳税调整明细#36.合计#4.税收金额资产计税基础','1','36','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs','1',' ','{Q[tccit_qysds_a105080#1#ssjezcjs]}+{Q[tccit_qysds_a105080#15#ssjezcjs]}+{Q[tccit_qysds_a105080#18#ssjezcjs]}+{Q[tccit_qysds_a105080#28#ssjezcjs]}+{Q[tccit_qysds_a105080#34#ssjezcjs]}+{Q[tccit_qysds_a105080#35#ssjezcjs]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932851;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932851,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#15#tsnstzje','{Q[15#5.特殊性税务处理递延纳税税收金额]}-{Q[15#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#15#6.特殊性税务处理递延纳税纳税调整金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#15#tsssje]}-{Q[tccit_qysds_a105100#15#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112233097677505536;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112233097677505536,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#22#hj','{Q[22.装备调试费与实验费用#1.本年度]}','A107041高新技术企业优惠情况及明细表#22#4.合计','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{Q[tccit_qysds_a107041#22#bnd]}+{Q[tccit_qysds_a107041#22#qynd]}+{Q[tccit_qysds_a107041#22#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931977;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931977,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#2#bnggfhywxcfzcnstzje','if({Q[保险企业手续费及佣金支出#3.本年符合条件的支出1-2]}>{Q[保险企业手续费及佣金支出#6.本企业计算的扣除限额]},{Q[保险企业手续费及佣金支出#2.减：不允许扣除的支出]}+{Q[保险企业手续费及佣金支出#3.本年符合条件的支出1-2]}-{Q[保险企业手续费及佣金支出#6.本企业计算的扣除限额]},{Q[保险企业手续费及佣金支出#2.减：不允许扣除的支出]}-{Q[保险企业手续费及佣金支出#9.减：本年扣除的以前年度结转额]})','A105060广告业务宣传费跨年纳税调整明细#2#12.本年支出纳税调整金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105060','bnggfhywxcfzcnstzje',' ',' ','if({Q[tccit_qysds_a105060#2#bnfhtjdggfhywxcfzc]}>{Q[tccit_qysds_a105060#2#bqyjsdggfhywxcfkcxe]},{Q[tccit_qysds_a105060#2#byxkcdggfhywxczc]}+{Q[tccit_qysds_a105060#2#bnfhtjdggfhywxcfzc]}-{Q[tccit_qysds_a105060#2#bqyjsdggfhywxcfkcxe]}+{Q[tccit_qysds_a105060#2#anftxygjzqtdffy]}-{Q[tccit_qysds_a105060#2#azftxycqtdfgjzbqyfy]},{Q[tccit_qysds_a105060#2#byxkcdggfhywxczc]}+{Q[tccit_qysds_a105060#2#anftxygjzqtdffy]}-{Q[tccit_qysds_a105060#2#azftxycqtdfgjzbqyfy]}-{Q[tccit_qysds_a105060#2#bnkcdyqndjze]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1112221598095508480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112221598095508480,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#18#bnd',' ','A107041高新技术企业优惠情况及明细表#18#1.本年度','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd',' ',' ','{S[select fcurryear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''4'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321033;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321033,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#stxs','{Q[纳税调整金额#1.视同销售营业收入]}','A105000纳税调整项目明细#调增金额#2.视同销售收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','stxs','1',' ','{Q[tccit_qysds_a105010#2#stxsyysr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932495;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932495,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#6#zzje',' ','A105090资产损失税前扣除及纳税调整明细#6#1.资产损失的账载金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''701030301'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932543;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932543,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#20#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#20#2.资产处置收入','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''70103080104'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113757461623451648;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113757461623451648,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#7#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#7#5.特殊性税务处理递延纳税税收金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069571719481856000;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069571719481856000,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#1#xmcb',' ','A107020所得减免优惠明细表#1#5.项目成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb',' ',' ','{S[select FCOST from t_tccit_getredu_sum where  FREDUCENAME in (1064403692599497729,1064416857580229632,1064416857580229633,1064416857580229634,1064416857580229636,1064416857580229637,1064416857580229638,1064416857580229639,1064506234591581184,1064506234591581185,1064506234591581186)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118798070751218688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118798070751218688,{ts'2021-07-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042_ba#1#syyhzc','[{"val":"1","text":"延续适用原有优惠政策"},{"val":"2","text":"适用新出台优惠政策"}]','A107042软件、集成电路企业优惠情况基本信息表#1#5.选择适用优惠政策','3','1','1066581598406760448','qysdsnb','tccit_qysds_a107042_ba','syyhzc','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1077444038983992320;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077444038983992320,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#13#zzje',' ','A105070捐赠支出及纳税调整明细#13#1.账载金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105070','zzje',' ',' ','{S[select FZZJE from  t_tccit_dg_b105020_sum where FITEMNUMBER=''301040203'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851054;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851054,{ts'2021-04-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#ywsxrzsy',' ','A105000纳税调整项目明细#账载金额#22.与未实现融资收益相关在当期确认的财务费用','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','ywsxrzsy','1',' ','{S[select sum(fzzje) from t_tccit_zctz_expense_sum where FITEMTYPE=''7010502'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1181082921830746112;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181082921830746112,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#jwsddmxe','{Q[1#11.境外所得抵免限额]}','A108000境外所得税收抵免明细表#10#11.境外所得抵免限额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsddmxe',' ',' ','{Q[tccit_qysds_a108000#1#jwsddmxe]}+{Q[tccit_qysds_a108000#2#jwsddmxe]}+{Q[tccit_qysds_a108000#3#jwsddmxe]}+{Q[tccit_qysds_a108000#4#jwsddmxe]}+{Q[tccit_qysds_a108000#5#jwsddmxe]}+{Q[tccit_qysds_a108000#6#jwsddmxe]}+{Q[tccit_qysds_a108000#7#jwsddmxe]}+{Q[tccit_qysds_a108000#8#jwsddmxe]}+{Q[tccit_qysds_a108000#9#jwsddmxe]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932800;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932800,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#7#hj','{Q[结转后年度扣除额#4.职工教育经费支出]}','A105050职工薪酬支出明细#结转后年度扣除额#13.合计','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105050','hj','1',' ','{Q[tccit_qysds_a105050#7#zgjyjfzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112323864135777280;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112323864135777280,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#10#dksszbjye',' ','A105120贷款损失准备金及纳税调整明细表#10#9.截至上年末已在税前扣除的贷款损失准备金的余额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','dksszbjye',' ',' ','{Q[tccit_qysds_a105120_dk#1#dksszbjye]} + {Q[tccit_qysds_a105120_dk#8#dksszbjye]}+ {Q[tccit_qysds_a105120_dk#9#dksszbjye]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320612;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320612,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#4#jwsddmsehj','{Q[4#12.本年可抵免境外所得税额]}+{Q[4#14.本年可抵免以前年度未抵免境外所得税额]}+{Q[4#18.按简易办法计算_小计]}','A108000境外所得税收抵免明细表#4#19.境外所得抵免所得税额合计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsddmsehj','1',' ','{Q[tccit_qysds_a108000#4#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#4#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#4#jyjsxj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320735;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320735,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#28#ssjezcjs','{Q[29.（一）已足额提取折旧的固定资产的改建支出#4.税收金额资产计税基础]}+{Q[30.（二）租入固定资产的改建支出#4.税收金额资产计税基础]}+{Q[31.（三）固定资产的大修理支出#4.税收金额资产计税基础]}+{Q[32.（四）开办费#4.税收金额资产计税基础]}+{Q[33.（五）其他#4.税收金额资产计税基础]}','A105080资产折旧摊销及纳税调整明细#28.四、长期待摊费用#4.税收金额资产计税基础','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs','1',' ','{Q[tccit_qysds_a105080#29#ssjezcjs]}+{Q[tccit_qysds_a105080#30#ssjezcjs]}+{Q[tccit_qysds_a105080#31#ssjezcjs]}+{Q[tccit_qysds_a105080#32#ssjezcjs]}+{Q[tccit_qysds_a105080#33#ssjezcjs]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113667087181889536;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113667087181889536,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#knbkssd',' ','A106000企业所得税弥补亏损明细表#5#2.当年境内所得额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','knbkssd',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']}>0)     {S[select FLOSSMONEY from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']} #else     {S[SELECT fknbkssd FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']} #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1113738608520513536;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113738608520513536,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#14#bn',' ','A105040专项用途财政性资金纳税调整明细#14#6.本年','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105040','bn',' ',' ','{S[SELECT sum(e.FINCLUDEDTAXAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133300359175980032;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133300359175980032,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#11#fzjgmc',' ','A109010分支机构信息#11#2.分支机构名称','4','11','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''11'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932238;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932238,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#zcltzxmqt',' ','A105000纳税调整项目明细#2#35.资产类调整项目其他','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcltzxmqt',' ',' ','{S[select ftaxamount from t_tccit_zc_other_sum where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931987;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931987,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#kjz','if({Q[11.本年度#8.当年待弥补的亏损额]}>={Q[11.本年度#8.当年待弥补的亏损额]})','A106000企业所得税弥补亏损明细表#11#11.当年可结转以后年度弥补的亏损额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','kjz',' ',' ','if({Q[tccit_qysds_a106000#11#qyndynbe]}>{Q[tccit_qysds_a106000#11#hj]}+{Q[tccit_qysds_a106000#11#sjnbe]},{Q[tccit_qysds_a106000#11#qyndynbe]}-{Q[tccit_qysds_a106000#11#hj]}-{Q[tccit_qysds_a106000#11#sjnbe]},{Q[tccit_qysds_a106000#11#hj]}+{Q[tccit_qysds_a106000#11#sjnbe]}-{Q[tccit_qysds_a106000#11#qyndynbe]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1114447200168969216;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114447200168969216,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#6#zjhm',' ','A000000主要股东及分红情况#6#3.证件号码','4','6','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjhm',' ',' ','{S[select h.FIDNUMBER from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=6 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932498;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932498,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#6#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#6#4.资产计税基础','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''701030301'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112295373503773696;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112295373503773696,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#1#nstzje',' ','A105120贷款损失准备金及纳税调整明细表#1#11.纳税调整金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','nstzje',' ',' ','{Q[tccit_qysds_a105120_dk#1#bnmsszbjye]} - {Q[tccit_qysds_a105120_dk#1#snmsszbjye]} - {Q[tccit_qysds_a105120_dk#1#dksszbj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932211;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932211,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#xszkzrhth',' ','A105000纳税调整项目明细#2#10.销售折扣、折让和退回','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','xszkzrhth',' ',' ','{S[select  sum(fksqkcje)  from t_tccit_sale_zkzrth_sum where forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932427;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932427,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#24#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#24#4.税收金额资产计税基础','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020306'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321178;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321178,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#waqzfszyzqrdsr','if({Q[纳税调整金额#14.合计]}<0,0-{Q[纳税调整金额#14.合计]},0)','A105000纳税调整项目明细#调减金额#3.未按权责发生制原则确认的收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','waqzfszyzqrdsr','1',' ','if({Q[tccit_qysds_a105020#6#hj]}<0,0-{Q[tccit_qysds_a105020#6#hj]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1112316134452934656;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112316134452934656,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#5#bnmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#5#6.本年末准予提取贷款损失准备金的贷款资产余额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkzcye',' ',' ','{S[select fbnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''5'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932266;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932266,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#5#ysgj',' ','A105030投资收益纳税调整明细#5#4.衍生工具','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105030','ysgj',' ',' ','{S[select fssjsczsr from t_tccit_asset_dispose_sum where fitemtype=''6010804'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320640;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320640,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#3#jwsqsd','{Q[3#9.境外税后所得_小计]}+{Q[3#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[3#11.境外所得可抵免的所得税额_间接负担的所得税额]}','A108010境外所得纳税调整后所得明细表#3#14.境外税前所得','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsqsd','1',' ','{Q[tccit_qysds_a108010#3#jwshxj]}+{Q[tccit_qysds_a108010#3#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#3#jwsdkdmjjfd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321243;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321243,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#fhbxzcjhss',' ','A102020金融企业支出明细#金额#35.非货币性资产交换损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','fhbxzcjhss','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=35 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320645;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320645,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#8#jwsqsd','{Q[8#9.境外税后所得_小计]}+{Q[8#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[8#11.境外所得可抵免的所得税额_间接负担的所得税额]}','A108010境外所得纳税调整后所得明细表#8#14.境外税前所得','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsqsd','1',' ','{Q[tccit_qysds_a108010#8#jwshxj]}+{Q[tccit_qysds_a108010#8#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#8#jwsdkdmjjfd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320859;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320859,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#26#ssje','{Q[27.（一）期货交易所风险准备金#2.税收金额]}+{Q[28.（二）期货公司风险准备金#2.税收金额]}+{Q[29.（三）期货投资者保障基金#2.税收金额]}+{Q[30.（四）其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#26.三、期货行业#2.税收金额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105120','ssje','1',' ','{Q[tccit_qysds_a105120#27#ssje]}+{Q[tccit_qysds_a105120#28#ssje]}+{Q[tccit_qysds_a105120#29#ssje]}+{Q[tccit_qysds_a105120#30#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932787;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932787,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#zgflfzc','{Q[账载金额#3.职工福利费支出]}-{Q[税收金额#3.职工福利费支出]}','A105050职工薪酬支出明细#纳税调整金额#3.职工福利费支出','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','zgflfzc','1',' ','{Q[tccit_qysds_a105050#1#zgflfzc]}-{Q[tccit_qysds_a105050#5#zgflfzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337852;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337852,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#28#xmcb','{Q[3.一、农、林、牧、渔业项目小计#5.项目成本]}+{Q[6.二、国家重点扶持的公共基础设施项目小计#5.项目成本]}+{Q[9.三、符合条件的环境保护、节能节水项目小计#5.项目成本]}+{Q[12.四、符合条件的技术转让项目小计#5.项目成本]}+{Q[15.五、清洁发展机制项目小计#5.项目成本]}+{Q[18.六、符合条件的节能服务公司实施的合同能源管理项目小计#5.项目成本]}+{Q[21.七、线宽小于132纳米的集成电路生产项目小计#5.项目成本]}+{Q[24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#5.项目成本]}+{Q[27.九、其他小计#5.项目成本]}','A107020所得减免优惠明细表#28.合计#5.项目成本','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb','1',' ','{Q[tccit_qysds_a107020#3#xmcb]}+{Q[tccit_qysds_a107020#6#xmcb]}+{Q[tccit_qysds_a107020#9#xmcb]}+{Q[tccit_qysds_a107020#12#xmcb]}+{Q[tccit_qysds_a107020#15#xmcb]}+{Q[tccit_qysds_a107020#18#xmcb]}+{Q[tccit_qysds_a107020#21#xmcb]}+{Q[tccit_qysds_a107020#24#xmcb]}+{Q[tccit_qysds_a107020#27#xmcb]}+{Q[tccit_qysds_a107020#31#xmcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932134;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932134,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#yydwtzcb',' ','A05010视同销售纳税调整明细#2#18.用于对外投资项目视同销售成本','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','yydwtzcb',' ',' ','{Q[tccit_qysds_a105010#1#yydwtzcb]}*-1'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321369;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321369,{ts'2021-06-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#dzzgzjf',' ','A105000纳税调整项目明细#税收金额#29.党组织工作经费','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','dzzgzjf','1',' ','{S[select fsjje from t_tccit_deduct_summary_dg where FITEMTYPE=''dangfei'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321109;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321109,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#cfty',' ','A101020金融企业收入明细#金额#4.存放同业','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','cfty','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932472;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932472,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#35#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#35#8.税收金额累计折旧、摊销额','1','35','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020502'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320808,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#17#ssje','{Q[17.（一）金融企业债权性投资损失#4.资产计税基础]}-{Q[17.（一）金融企业债权性投资损失#2.资产处置收入]}-{Q[17.（一）金融企业债权性投资损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#17.一金融企业债权性投资损失#5.资产损失的税收金额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#17#zcjsjc]}-{Q[tccit_qysds_a105090#17#zcczsr]}-{Q[tccit_qysds_a105090#17#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932740;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932740,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#9#ysgj','{Q[处置收益税收计算处置收入#4.衍生工具]}-{Q[处置收益计税基础#4.衍生工具]}','A105030投资收益纳税调整明细#处置收益税收计算处置所得#4.衍生工具','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105030','ysgj','1',' ','{Q[tccit_qysds_a105030#5#ysgj]}-{Q[tccit_qysds_a105030#7#ysgj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114450525597728768;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114450525597728768,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#6#syje',' ','A000000主要股东及分红情况#6#4.当年（决议日）分配的股息、红利等权益性投资收益金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','syje',' ',' ','{S[select h.fcurryeardividend from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=6 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321075;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321075,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#jzzc','{Q[合计#6.纳税调减金额]}','A105000纳税调整项目明细#调减金额#17.捐赠支出','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','jzzc','1',' ','{Q[tccit_qysds_a105070#8#nstjje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114481139923288064;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114481139923288064,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#4#zjlx','[{"val":"","text":""},{"val":"1","text":"居民身份证"},{"val":"2","text":"中国护照"},{"val":"3","text":"税务登记证"},{"val":"4","text":"营业执照"},{"val":"5","text":"组织机构代码证"},{"val":"6","text":"其他单位证件"},{"val":"7","text":"香港特别行政区护照"},{"val":"8","text":"澳门特别行政区护照"},{"val":"9","text":"港澳居民来往内地通行证"},{"val":"10","text":"中华人民共和国往来港澳通行证"},{"val":"11","text":"台湾居民来往大陆通行证"},{"val":"12","text":"大陆居民往来台湾通行证"},{"val":"13","text":"香港永久性居民身份证"},{"val":"14","text":"台湾身份证"},{"val":"15","text":"澳门特别行政区永久性居民身份证"},{"val":"16","text":"外国护照"},{"val":"17","text":"外国人身份证件"},{"val":"18","text":"其他个人证件"}]','A000000主要股东及分红情况#4#2.证件种类','3','4','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1095562031249014784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095562031249014784,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#btzqyshxydm',' ','A107011居民企业之间权益性投资收益优惠#7#2.被投资企业统一社会信用代码纳税人识别号','4','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqyshxydm',' ',' ','{S[select ftaxpayerid from t_tccit_dg_b105036_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1181085152755855360;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181085152755855360,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#jyjsldyewdme','{Q[1#16.按简易办法计算_按12.5%计算的抵免额]}','A108000境外所得税收抵免明细表#10#16.按简易办法计算_按12.5%计算的抵免额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsldyewdme',' ',' ','{Q[tccit_qysds_a108000#1#jyjsldyewdme]}+{Q[tccit_qysds_a108000#2#jyjsldyewdme]}+{Q[tccit_qysds_a108000#3#jyjsldyewdme]}+{Q[tccit_qysds_a108000#4#jyjsldyewdme]}+{Q[tccit_qysds_a108000#5#jyjsldyewdme]}+{Q[tccit_qysds_a108000#6#jyjsldyewdme]}+{Q[tccit_qysds_a108000#7#jyjsldyewdme]}+{Q[tccit_qysds_a108000#8#jyjsldyewdme]}+{Q[tccit_qysds_a108000#9#jyjsldyewdme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338351;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338351,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#13#jmsde','if({Q[13.五、清洁发展机制项目#9.免税项目所得额]}+{Q[13.五、清洁发展机制项目#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#13.五、清洁发展机制项目#11.减免所得额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#13#msxmsde]}+{Q[tccit_qysds_a107020#13#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#13#msxmsde]}+{Q[tccit_qysds_a107020#13#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338346;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338346,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#6#jmsde','if({Q[6.二、国家重点扶持的公共基础设施项目小计#9.免税项目所得额]}+{Q[6.二、国家重点扶持的公共基础设施项目小计#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#6.二、国家重点扶持的公共基础设施项目小计#11.减免所得额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#6#msxmsde]}+{Q[tccit_qysds_a107020#6#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#6#msxmsde]}+{Q[tccit_qysds_a107020#6#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1133299652645595136;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133299652645595136,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#7#fzjgmc',' ','A109010分支机构信息#7#2.分支机构名称','4','7','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''7'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932597;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932597,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107011#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A107011符合条件的居民企业之间的股息、红利等权益性投资收益优惠明细表#表单名称','3','A107011','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321212;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321212,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#ywzdfzc',' ','A105000纳税调整项目明细#账载金额#15.业务招待费支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','ywzdfzc','1',' ','{S[select FAMOUNT from t_tccit_ywzdf_tz_summary WHERE FITEMNO=''1'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320807;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320807,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#16#ssje','{Q[16.八、债权性投资损失#4.资产计税基础]}-{Q[16.八、债权性投资损失#2.资产处置收入]}-{Q[16.八、债权性投资损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#16.八、债权性投资损失#5.资产损失的税收金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#16#zcjsjc]}-{Q[tccit_qysds_a105090#16#zcczsr]}-{Q[tccit_qysds_a105090#16#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321221;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321221,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#zjywyjzc',' ','A102020金融企业支出明细#金额#28.证券佣金支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','zjywyjzc','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=28 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932398;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932398,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#32#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#32#2.账载金额本年折旧摊销额','1','32','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020404'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932803;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932803,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#bnjzyhndkce','if({Q[金额#3.本年符合条件的广告费和业务宣传费支出1-2]}>{Q[金额#6.本企业计算的广告费和业务宣传费扣除限额]},{Q[金额#3.本年符合条件的广告费和业务宣传费支出1-2]}-{Q[金额#6.本企业计算的广告费和业务宣传费扣除限额]},0)','A105060广告业务宣传费跨年纳税调整明细#金额#7.本年结转以后年度扣除额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','bnjzyhndkce','1','若第3＞6行,第7行＝第3-6行；若第3≤6行,第7行＝0','if({Q[tccit_qysds_a105060#1#bnfhtjdggfhywxcfzc]}>{Q[tccit_qysds_a105060#1#bqyjsdggfhywxcfkcxe]},{Q[tccit_qysds_a105060#1#bnfhtjdggfhywxcfzc]}-{Q[tccit_qysds_a105060#1#bqyjsdggfhywxcfkcxe]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1114419965831675904;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114419965831675904,{ts'2021-04-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#fzsj1',' ','A000000企业所得税年度纳税申报基础信息表#1#211-2发证时间1','4','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','fzsj1',' ',' ','{C[#issuedate_1]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932374;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932374,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#25#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#25#1.账载金额资产原值','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020307'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321161;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321161,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#bnybtsdse','{Q[金额#31.实际应纳所得税额]}-{Q[金额#32.本年累计实际已预缴的所得税额]}','A100000年度纳税申报表#金额#33.本年应补退的所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','bnybtsdse','1',' ','{Q[tccit_qysds_a100000#1#sjynsdse]}-{Q[tccit_qysds_a100000#1#bnljsjyyjsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095472543692754944;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095472543692754944,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#zydsdggdsfsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#15.其他1','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','zydsdggdsfsr',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''1.6'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095560285990731776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095560285990731776,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#btzqy',' ','A107011居民企业之间权益性投资收益优惠#4#1.被投资企业','4','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqy',' ',' ','{S[select ftzbdname from t_tccit_dg_b105037_sum where flabel=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932669;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932669,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#zfbzdysr','{Q[累计账载金额#10.与收益相关的政府补助]}+{Q[累计账载金额#11.与资产相关的政府补助]}+{Q[累计账载金额#12.其他]}','A105020未按权责发生确实收入调整明细#累计账载金额#9.政府补助递延收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','zfbzdysr','1',' ','{Q[tccit_qysds_a105020#3#ysyxgdzfbz]}+{Q[tccit_qysds_a105020#3#yzcxgdzfbz]}+{Q[tccit_qysds_a105020#3#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932496,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#6#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#6#2.资产处置收入','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''701030301'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932489;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932489,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#4#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#4#4.资产计税基础','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''701030202'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932524;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932524,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#13#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#13#3.赔偿收入','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''701030601'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321084;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321084,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#fdckfqy','{Q[税收金额#21.房地产开发企业特定业务计算的纳税调整额]}','A105000纳税调整项目明细#税收金额#40.房地产开发企业特定业务计算的纳税调整额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','fdckfqy','1',' ','{Q[tccit_qysds_a105010#1#fdckfqy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078898585451409408;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078898585451409408,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#26#ssje2014zje',' ','A105080资产折旧摊销及纳税调整明细#26#7.税收金额加速折旧、摊销统计额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje',' ',' ','{Q[tccit_qysds_a105080#26#ssjessgdzje]}-{Q[tccit_qysds_a105080#26#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095597734129352704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095597734129352704,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#9#hj',' ','A107011居民企业之间权益性投资收益优惠#9#17.合计','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj',' ',' ','#if(''{Q[tccit_qysds_a107011#1#tzxz]}''==''直接投资居民企业''||''{Q[tccit_qysds_a107011#1#tzxz]}''==''股票投资 (不含H股)'')    {Q[tccit_qysds_a107011#1#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#2#tzxz]}''==''直接投资居民企业''||''{Q[tccit_qysds_a107011#2#tzxz]}''==''股票投资 (不含H股)'')    {Q[tccit_qysds_a107011#2#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#3#tzxz]}''==''直接投资居民企业''||''{Q[tccit_qysds_a107011#3#tzxz]}''==''股票投资 (不含H股)'')    {Q[tccit_qysds_a107011#3#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#4#tzxz]}''==''直接投资居民企业''||''{Q[tccit_qysds_a107011#4#tzxz]}''==''股票投资 (不含H股)'')    {Q[tccit_qysds_a107011#4#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#5#tzxz]}''==''直接投资居民企业''||''{Q[tccit_qysds_a107011#5#tzxz]}''==''股票投资 (不含H股)'')    {Q[tccit_qysds_a107011#5#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#6#tzxz]}''==''直接投资居民企业''||''{Q[tccit_qysds_a107011#6#tzxz]}''==''股票投资 (不含H股)'')    {Q[tccit_qysds_a107011#6#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#7#tzxz]}''==''直接投资居民企业''||''{Q[tccit_qysds_a107011#7#tzxz]}''==''股票投资 (不含H股)'')    {Q[tccit_qysds_a107011#7#hj]} #else    0 #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1095472371701125120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095472371701125120,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#awhjdahqdsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#13.中国奥委会取得北京冬奥组委支付的收入免征企业所得税','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','awhjdahqdsr',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''1.4'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932779;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932779,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#4#zgjyjfzc','{Q[累计结转扣除额#5.按税收规定比例扣除的职工教育经费]}','A105050职工薪酬支出明细#累计结转扣除额#4.职工教育经费支出','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105050','zgjyjfzc','1',' ','{Q[tccit_qysds_a105050#4#blkcjyjf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133312231933592576;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133312231933592576,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#13#fpbl',' ','A109010分支机构信息#13#6.分配比例','1','13','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#13#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#13#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#13#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1123713362908417024;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123713362908417024,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#31#xmcb',' ','A107020所得减免优惠明细表#31#5.项目成本','1','31','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb',' ',' ','{Q[tccit_qysds_a107020#29#xmcb]}+{Q[tccit_qysds_a107020#30#xmsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704662998571008;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704662998571008,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#53#hj',' ','A107040减免所得税优惠明细表#53#1.金额','1','53','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1078886922836815872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078886922836815872,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#38#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#38#5.税收金额-税收折旧、摊销额','1','38','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020605'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1296956024632136704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1296956024632136704,{ts'2021-11-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#xswwgcpsr',' ',' ','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','xswwgcpsr',' ',' ','{S[select sum(famount) from t_tccit_dg_b105093tz_sum where fitemno=''2'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932414;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932414,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#30#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#30#3.账载金额累计折旧、摊销额','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020402'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113018130952819712;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113018130952819712,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#9#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#9#1.一般性税务处理账载金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030401'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932505;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932505,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#8#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#8#4.资产计税基础','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''701030401'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337808,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#3#xgsf','{Q[1.一、农、林、牧、渔业项目#6.相关税费]}+{Q[2.一、农、林、牧、渔业项目#6.相关税费]}','A107020所得减免优惠明细表#3.一、农、林、牧、渔业项目小计#6.相关税费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf','1',' ','{Q[tccit_qysds_a107020#1#xgsf]}+{Q[tccit_qysds_a107020#2#xgsf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112313014813506560;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112313014813506560,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#8#bnmdkye',' ','A105120贷款损失准备金及纳税调整明细表#8#2.本年末贷款资产余额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkye',' ',' ','{S[select fbnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''8'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320897;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320897,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#32#nstzje','{Q[32.（一）涉农和中小企业贷款损失准备金#1.账载金额]}-{Q[32.（一）涉农和中小企业贷款损失准备金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#32.一涉农和中小企业贷款损失准备金#3.纳税调整金额','1','32','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#32#zzje]}-{Q[tccit_qysds_a105120#32#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337850;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337850,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#27#nstze','{Q[25.九、其他#8.纳税调整额]}+{Q[26.九、其他#8.纳税调整额]}','A107020所得减免优惠明细表#27.九、其他小计#8.纳税调整额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze','1',' ','{Q[tccit_qysds_a107020#25#nstze]}+{Q[tccit_qysds_a107020#26#nstze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095562561258045440;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095562561258045440,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#tzxz',' ','A107011居民企业之间权益性投资收益优惠#2#3.投资性质','4','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzxz',' ',' ','{S[select finvesttype from t_tccit_dg_b105037_sum where flabel=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932560;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932560,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#24#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#24#3.赔偿收入','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''701030901'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932260;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932260,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#6#dqtz',' ','A105030投资收益纳税调整明细#6#7.短期投资','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105030','dqtz',' ',' ','{S[select fczzczmjz from t_tccit_asset_dispose_sum where fitemtype=''6010807'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135455464839211008;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135455464839211008,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#1#qsnddme',' ','A107050税额抵免优惠明细表#1#7.前三年度一抵免额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','qsnddme',' ',' ','{S[select fqenddme from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071710294713341952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071710294713341952,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#6#jbxmsde',' ','A107020所得减免优惠明细表#6#10.减半项目所得额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','{Q[tccit_qysds_a107020#4#jbxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321072,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#jzzc','{Q[合计#1.账载金额]}','A105000纳税调整项目明细#账载金额#17.捐赠支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','jzzc','1',' ','{Q[tccit_qysds_a105070#8#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133283008003032064;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133283008003032064,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_zjg#1#zjgftsdse',' ','A109010企业所得税汇总纳税总机构#1#4.总机构分摊所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109010_zjg','zjgftsdse',' ',' ','{Q[tccit_qysds_a109000#1#zjgftybtse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095561561033981952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095561561033981952,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#btzqyshxydm',' ','A107011居民企业之间权益性投资收益优惠#3#2.被投资企业统一社会信用代码纳税人识别号','4','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqyshxydm',' ',' ','{S[select ftaxpayerid from t_tccit_dg_b105037_sum where flabel=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135343350212556800;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135343350212556800,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#5#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#5#研发活动费用金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=5]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133308705488618496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133308705488618496,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#3#fzjgzcze',' ','A109010分支机构信息#3#5.资产总额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''3'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932444;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932444,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#23#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#23#5.税收金额-税收折旧、摊销额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020305'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321233;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321233,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#bzssryyzc','{Q[调增金额#25.专项用途财政性资金用于支出所形成的费用]}','A105000纳税调整项目明细#调增金额#24.不征税收入用于支出所形成的费用','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','bzssryyzc','1',' ','{Q[tccit_qysds_a105000#3#zxytczxyyzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321087;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321087,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#zyywsrfhbxzcjhsr',' ','A101010一般企业收入明细表#金额#4.其中：非货币性资产交换收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','zyywsrfhbxzcjhsr','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932504,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#8#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#8#3.赔偿收入','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''701030401'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320721;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320721,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#15#zzjebnzj','{Q[16.（一）林木类#2.账载金额本年折旧摊销额]}+{Q[17.（二）畜类#2.账载金额本年折旧摊销额]}','A105080资产折旧摊销及纳税调整明细#15.二、生产性生物资产#2.账载金额本年折旧摊销额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj','1',' ','{Q[tccit_qysds_a105080#16#zzjebnzj]}+{Q[tccit_qysds_a105080#17#zzjebnzj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071738228241110016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071738228241110016,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#25#xmmc',' ','A107020所得减免优惠明细表#25#1.项目名称','4','25','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select   fprojectname from t_tccit_getredu_sum where FREDUCENAME=1119525021539512320 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069459992794381312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069459992794381312,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#16#zchxje','{Q[17.（一）金融企业债权性投资损失#7.资产损失准备金核销金额]}','A105090资产损失税前扣除及纳税调整明细#16#7.资产损失准备金核销金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{Q[tccit_qysds_a105090#17#zchxje]}+{Q[tccit_qysds_a105090#22#zchxje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932653;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932653,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#fdckfqytdyw','{Q[税收金额#24.销售未完工产品预计毛利额]}-{Q[税收金额#25.实际发生的营业税金及附加、土地增值税]}','A05010视同销售纳税调整明细#税收金额#22.房地产企业销售未完工开发产品特定业务计算的纳税调整额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','fdckfqytdyw','1',' ','{Q[tccit_qysds_a105010#1#xswwgcpyjmle]}-{Q[tccit_qysds_a105010#1#sjfsdyysj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114444465659265024;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114444465659265024,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#hj',' ','A106000企业所得税弥补亏损明细表#4#9.使用境内所得弥补','1','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','hj',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fsyjnsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}>0) {S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}  #else 0-{S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1069468757077847040;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069468757077847040,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#21#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#21#7.资产损失准备金核销金额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''70103080105'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095584135549862912;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095584135549862912,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#chjstzqrjeljwfplryygj',' ','A107011居民企业之间权益性投资收益优惠#7#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeljwfplryygj',' ',' ','{S[select fljwfplr  from t_tccit_dg_b105036_sum where ftranstype=''撤资'' and fitemno=3  and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338353;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338353,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#15#jmsde','if({Q[15.五、清洁发展机制项目小计#9.免税项目所得额]}+{Q[15.五、清洁发展机制项目小计#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#15.五、清洁发展机制项目小计#11.减免所得额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#15#msxmsde]}+{Q[tccit_qysds_a107020#15#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#15#msxmsde]}+{Q[tccit_qysds_a107020#15#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1113708599089247232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113708599089247232,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#qsndyjbe',' ','A106000企业所得税弥补亏损明细表#8#5.可弥补年限10年','1','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndyjbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}>0)      {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}   #else  #if({S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}>0 )     0-{S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}  #else   {S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321368;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321368,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#kqkcxm',' ','A105000纳税调整项目明细#税收金额#26.跨期扣除项目','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','kqkcxm','1',' ','{S[select ftaxamount from  t_tccit_period_summary where FRULEID=0 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321134;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321134,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#fldzcczld',' ','A101020金融企业收入明细#金额#36.非流动资产处置利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','fldzcczld','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=36 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932546;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932546,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#21#zzje',' ','A105090资产损失税前扣除及纳税调整明细#21#1.资产损失的账载金额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''70103080105'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321219;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321219,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#zqjjywsxfzc',' ','A102020金融企业支出明细#金额#27.证券经纪业务手续费支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','zqjjywsxfzc','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=27 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932349;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932349,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#12#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#12#5.税收金额-税收折旧、摊销额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020608'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321117;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321117,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#xycnsxfjyj',' ','A101020金融企业收入明细#金额#13.信用承诺手续费及佣金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','xycnsxfjyj','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=13 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112218813841015808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112218813841015808,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#11#hj',' ','A107041高新技术企业优惠情况及明细表#11#4.合计','1','11','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{S[select fpeopleamount from t_tccit_a301010201_people where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fpeopletype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932218;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932218,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#1#cqgqtz',' ','A105030投资收益纳税调整明细#1#6.长期股权投资','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqgqtz',' ',' ','{S[select fzzje from t_tccit_invest_profit_sum where fitemtype=''6010406'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069453536938486784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069453536938486784,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#2#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#2#7.资产损失准备金核销金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ',' {S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype in (''701030201'',''701030202'',''701030203'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932770;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932770,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#3#hj','{Q[符合不征税收入条件的财政性资金金额#1.前五年度]}+{Q[符合不征税收入条件的财政性资金金额#2.前四年度]}+{Q[符合不征税收入条件的财政性资金金额#3.前三年度]}+{Q[符合不征税收入条件的财政性资金金额#4.前二年度]}+{Q[符合不征税收入条件的财政性资金金额#5.前一年度]}+{Q[符合不征税收入条件的财政性资金金额#6.本年]}','A105040专项用途财政性资金纳税调整明细#符合不征税收入条件的财政性资金金额#7.合计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105040','hj','1',' ','{Q[tccit_qysds_a105040#3#qwnd]}+{Q[tccit_qysds_a105040#3#qsind]}+{Q[tccit_qysds_a105040#3#qsand]}+{Q[tccit_qysds_a105040#3#qend]}+{Q[tccit_qysds_a105040#3#qynd]}+{Q[tccit_qysds_a105040#3#bn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704978779330560;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704978779330560,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#57#hj',' ','A107040减免所得税优惠明细表#57#1.金额','1','57','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321499;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321499,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#9#jwynssde','if({Q[9#3.境外所得纳税调整后所得]}-{Q[9#4.弥补境外以前年度亏损]}>=)','A108000境外所得税收抵免明细表#9#5.境外应纳税所得额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwynssde','1',' ','if({Q[tccit_qysds_a108000#9#jwstzhsd]}-{Q[tccit_qysds_a108000#9#mbjwyqnks]}>=0,{Q[tccit_qysds_a108000#9#jwstzhsd]}-{Q[tccit_qysds_a108000#9#mbjwyqnks]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1095567298816688128;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095567298816688128,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#btzlrfpqrjejdsj',' ','A107011居民企业之间权益性投资收益优惠#1#6.被投资企业利润分配确认金额_被投资企业做出利润分配或转股决定时间','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzlrfpqrjejdsj',' ',' ','{S[select fbizdate from t_tccit_dg_b105037_sum where fitemno=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133305689003901952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133305689003901952,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#3#fzjgsrze',' ','A109010分支机构信息#3#3.营业收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''3'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321250;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321250,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#zcjzzbj','if({Q[账载金额#33.资产减值准备金]}<,-{Q[账载金额#33.资产减值准备金]})','A105000纳税调整项目明细#调减金额#33.资产减值准备金','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcjzzbj','1',' ','if({Q[tccit_qysds_a105000#1#zcjzzbj]}<0,0-{Q[tccit_qysds_a105000#1#zcjzzbj]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337813;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337813,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#6#xgsf','{Q[4.二、国家重点扶持的公共基础设施项目#6.相关税费]}+{Q[5.二、国家重点扶持的公共基础设施项目#6.相关税费]}','A107020所得减免优惠明细表#6.二、国家重点扶持的公共基础设施项目小计#6.相关税费','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf','1',' ','{Q[tccit_qysds_a107020#4#xgsf]}+{Q[tccit_qysds_a107020#5#xgsf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071738989180130304;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071738989180130304,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#25#yhfs',' ','A107020所得减免优惠明细表#25#3.优惠方式','4','25','1066581598406760448','qysdsnb','tccit_qysds_a107020','yhfs',' ',' ','{S[select   fyhfs from t_tccit_getredu_sum where FREDUCENAME=1119525021539512320 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932761;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932761,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#11#cqzqtz','{Q[持有收益纳税调整金额#8.长期债券投资]}+{Q[处置收益纳税调整金额#8.长期债券投资]}','A105030投资收益纳税调整明细#纳税调整金额#8.长期债券投资','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqzqtz','1',' ','{Q[tccit_qysds_a105030#3#cqzqtz]}+{Q[tccit_qysds_a105030#10#cqzqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932925;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932925,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#5#hjje','{Q[3#1.合计金额]}+{Q[4#1.合计金额]}','A107030抵扣应纳税所得额明细表#5#1.合计金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','{Q[tccit_qysds_a107030#3#hjje]}+{Q[tccit_qysds_a107030#4#hjje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321216;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321216,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#ggfhywxcfzc','if({Q[金额#12.本年广告费和业务宣传费支出纳税调整金额]}<{Q[金额#12.本年广告费和业务宣传费支出纳税调整金额]})','A105000纳税调整项目明细#调减金额#16.广告费和业务宣传费支出','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','ggfhywxcfzc','1',' ','if({Q[tccit_qysds_a105060#1#bnggfhywxcfzcnstzje]}<0,0-{Q[tccit_qysds_a105060#1#bnggfhywxcfzcnstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1095561468792848384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095561468792848384,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#btzqyshxydm',' ','A107011居民企业之间权益性投资收益优惠#2#2.被投资企业统一社会信用代码纳税人识别号','4','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqyshxydm',' ',' ','{S[select ftaxpayerid from t_tccit_dg_b105037_sum where flabel=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932611;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932611,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#yysr','{Q[金额#2.主营业务收入]}+{Q[金额#9.其他业务收入]}','A101010一般企业收入明细表#金额#1.营业收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','yysr','1',' ','{Q[tccit_qysds_a101010#1#zyywsr]}+{Q[tccit_qysds_a101010#1#qtywsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932256;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932256,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#6#cyzdqtz',' ','A105030投资收益纳税调整明细#6#3.持有至到期投资','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105030','cyzdqtz',' ',' ','{S[select fczzczmjz from t_tccit_asset_dispose_sum where fitemtype=''6010803'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462510;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462510,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#8#nstzje','{Q[非公益性捐赠#5.纳税调整金额]}+{Q[限额扣除的公益性捐赠#5.纳税调整金额]}','A105070捐赠支出及纳税调整明细#合计#5.纳税调整金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105070','nstzje','1',' ','{Q[tccit_qysds_a105070#1#nstzje]}+{Q[tccit_qysds_a105070#3#nstzje]}+{Q[tccit_qysds_a105070#2#nstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320672;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320672,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#5#qwnxj','{Q[5#2.前五年境外所得已缴所得税未抵免余额_前五年]}+{Q[5#3.前五年境外所得已缴所得税未抵免余额_前四年]}+{Q[5#4.前五年境外所得已缴所得税未抵免余额_前三年]}+{Q[5#5.前五年境外所得已缴所得税未抵免余额_前二年]}+{Q[5#6.前五年境外所得已缴所得税未抵免余额_前一年]}','A108030跨年度结转抵免境外所得税明细表#5#7.前五年境外所得已缴所得税未抵免余额_小计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108030','qwnxj','1',' ','{Q[tccit_qysds_a108030#5#qwnqwn]}+{Q[tccit_qysds_a108030#5#qwnqsin]}+{Q[tccit_qysds_a108030#5#qwnqsann]}+{Q[tccit_qysds_a108030#5#qwnqln]}+{Q[tccit_qysds_a108030#5#qwnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932939;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932939,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A102010#tabname',' ','企业所得税年度纳税申报表填报表#A102010一般企业成本支出明细表#表单名称','1','A102010','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A102010'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1114463599352348672;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114463599352348672,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#1#zjlx','[{"val":"","text":""},{"val":"1","text":"居民身份证"},{"val":"2","text":"中国护照"},{"val":"3","text":"税务登记证"},{"val":"4","text":"营业执照"},{"val":"5","text":"组织机构代码证"},{"val":"6","text":"其他单位证件"},{"val":"7","text":"香港特别行政区护照"},{"val":"8","text":"澳门特别行政区护照"},{"val":"9","text":"港澳居民来往内地通行证"},{"val":"10","text":"中华人民共和国往来港澳通行证"},{"val":"11","text":"台湾居民来往大陆通行证"},{"val":"12","text":"大陆居民往来台湾通行证"},{"val":"13","text":"香港永久性居民身份证"},{"val":"14","text":"台湾身份证"},{"val":"15","text":"澳门特别行政区永久性居民身份证"},{"val":"16","text":"外国护照"},{"val":"17","text":"外国人身份证件"},{"val":"18","text":"其他个人证件"}]','A000000主要股东及分红情况#1#2.证件种类','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1113757890189297664;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113757890189297664,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#10#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#10#5.特殊性税务处理递延纳税税收金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030402'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932840;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932840,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#4#tsnstzje','{Q[4#5.特殊性税务处理递延纳税税收金额]}-{Q[4#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#4#6.特殊性税务处理递延纳税纳税调整金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#4#tsssje]}-{Q[tccit_qysds_a105100#4#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932412;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932412,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#27#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#27#3.账载金额累计折旧、摊销额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020308'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320585;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320585,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#4#jwsdynse1','{Q[4#7.抵减境内亏损后的境外应纳税所得额]}*{Q[4#8.税率]}','A108000境外所得税收抵免明细表#4#9.境外所得应纳税额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsdynse1','1',' ','{Q[tccit_qysds_a108000#4#djjnkshjwyne]}*{Q[tccit_qysds_a108000#4#sl2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113017861443621888;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113017861443621888,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#5#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#5#1.一般性税务处理账载金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030201'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932181;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932181,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#lx',' ','A105020未按权责发生确实收入调整明细#2#3.利息','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','lx',' ',' ','{S[select fzzjecurrent from t_tccit_right_income_sum where FITEMTYPE=''002_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321497;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321497,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#5#jwynssde','if({Q[5#3.境外所得纳税调整后所得]}-{Q[5#4.弥补境外以前年度亏损]}>=)','A108000境外所得税收抵免明细表#5#5.境外应纳税所得额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwynssde','1',' ','if({Q[tccit_qysds_a108000#5#jwstzhsd]}-{Q[tccit_qysds_a108000#5#mbjwyqnks]}>=0,{Q[tccit_qysds_a108000#5#jwstzhsd]}-{Q[tccit_qysds_a108000#5#mbjwyqnks]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320638;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320638,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#1#jwsqsd','{Q[1#9.境外税后所得_小计]}+{Q[1#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[1#11.境外所得可抵免的所得税额_间接负担的所得税额]}','A108010境外所得纳税调整后所得明细表#1#14.境外税前所得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsqsd','1',' ','{Q[tccit_qysds_a108010#1#jwshxj]}+{Q[tccit_qysds_a108010#1#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#1#jwsdkdmjjfd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932637;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932637,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#yhsxfjyjzc','{Q[金额#12.手续费支出]}+{Q[金额#13.佣金支出]}+{Q[金额#14.银行手续费其他]}','A102020金融企业支出明细#金额#11.银行手续费及佣金支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','yhsxfjyjzc','1',' ','{Q[tccit_qysds_a102020#1#sxfzc]}+{Q[tccit_qysds_a102020#1#yjzc]}+{Q[tccit_qysds_a102020#1#yhsxfjyjzcqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932406;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932406,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#21#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#21#3.账载金额累计折旧、摊销额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020303'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932574;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932574,{ts'2022-05-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A000000#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A000000企业所得税年度纳税申报基础信息表#表单名称','3','A000000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321503;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321503,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#3#bnkdmjwsdse','if({Q[3#10.境外所得可抵免税额]}>={Q[3#11.境外所得抵免限额]},)','A108000境外所得税收抵免明细表#3#12.本年可抵免境外所得税额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108000','bnkdmjwsdse','1',' ','if({Q[tccit_qysds_a108000#3#jwsdkdmse1]}>={Q[tccit_qysds_a108000#3#jwsddmxe]},{Q[tccit_qysds_a108000#3#jwsddmxe]},{Q[tccit_qysds_a108000#3#jwsdkdmse1]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1113727972872865792;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113727972872865792,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#8#qwnd',' ','A105040专项用途财政性资金纳税调整明细#8#1.前五年度','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','select fqsind from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''9'''); 
DELETE FROM t_tctb_formula WHERE FID = 1123714173097028608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123714173097028608,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#31#nstze',' ','A107020所得减免优惠明细表#31#8.纳税调整额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze',' ',' ','{Q[tccit_qysds_a107020#29#nstze]}+{Q[tccit_qysds_a107020#30#nstze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320623;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320623,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#6#jwshxj','{Q[6#2.境外税后所得_分支机构机构营业利润所得]}+{Q[6#3.境外税后所得_股息、红利等权益性投资所得]}+{Q[6#4.境外税后所得_利息所得]}+{Q[6#5.境外税后所得_租金所得]}+{Q[6#6.境外税后所得_特许权使用费所得]}+{Q[6#7.境外税后所得_财产转让所得]}+{Q[6#8.境外税后所得_其他所得]}','A108010境外所得纳税调整后所得明细表#6#9.境外税后所得_小计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwshxj','1',' ','{Q[tccit_qysds_a108010#6#jwshfzjgyylr]}+{Q[tccit_qysds_a108010#6#jwshgxhltzsd]}+{Q[tccit_qysds_a108010#6#jwshlxsd]}+{Q[tccit_qysds_a108010#6#jwshzjsd]}+{Q[tccit_qysds_a108010#6#jwshtxqfysd]}+{Q[tccit_qysds_a108010#6#jwshcczrsd]}+{Q[tccit_qysds_a108010#6#jwshqtsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114448737767261184;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114448737767261184,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#7#tzbl',' ','A000000主要股东及分红情况#7#3.投资比例（%）','1','7','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','tzbl',' ',' ','{S[select h.finvestrate from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=7 and h.ffidtype<>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114448003252355072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114448003252355072,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#1#tzbl',' ','A000000主要股东及分红情况#1#3.投资比例（%）','1','1','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','tzbl',' ',' ','{S[select h.finvestrate from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=1 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581606619207685;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581606619207685,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#qekcpxfy',' ','A105050职工薪酬支出明细#2#6.按税收规定全额扣除的职工培训费用','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','qekcpxfy',' ',' ','{S[select famount from t_tccit_edufull_sum where fitemtype=''sjfsje'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095470032923661312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095470032923661312,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#qjfzjzjjsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#9.中国清洁发展机制基金取得的收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','qjfzjzjjsr',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''1.2'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118807691788464128;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118807691788464128,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042_ba#1#jmfs2',' ','A107042软件、集成电路企业优惠情况基本信息表#1#2.减免方式2','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107042_ba','jmfs2',' ',' ','{S[select t.fjmfsnumber from t_tccit_soft_ic_jb_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemno=2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932922;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932922,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#3#hjje','{Q[1#1.合计金额]}*{Q[2#1.合计金额]}','A107030抵扣应纳税所得额明细表#3#1.合计金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','{S[select  fhjjecurrent  from t_tccit_dg_a100000_7_sum where fitemno=''11'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135456629211555840;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135456629211555840,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#2#qynddme',' ','A107050税额抵免优惠明细表#2#9.前一年度一抵免额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','qynddme',' ',' ','{S[select fbnsjdmdgndse from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113670558278693888;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113670558278693888,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#knbkssd',' ','A106000企业所得税弥补亏损明细表#9#2.当年境内所得额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','knbkssd',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']}>0)     {S[select FLOSSMONEY from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']} #else     {S[SELECT fknbkssd FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']} #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321167;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321167,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#fhbxzcjhss',' ','A102010一般企业成本支出明细#金额#18.非货币性资产交换损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','fhbxzcjhss','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=18 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337831;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337831,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#18#xmsr','{Q[16.六、符合条件的节能服务公司实施的合同能源管理项目#4.项目收入]}+{Q[17.六、符合条件的节能服务公司实施的合同能源管理项目#4.项目收入]}','A107020所得减免优惠明细表#18.六、符合条件的节能服务公司实施的合同能源管理项目小计#4.项目收入','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr','1',' ','{Q[tccit_qysds_a107020#16#xmsr]}+{Q[tccit_qysds_a107020#17#xmsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321189;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321189,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#fxzq',' ','A102020金融企业支出明细#金额#9.发行债券','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','fxzq','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=9 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932590;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932590,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105080#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105080资产折旧、摊销及纳税调整明细表#表单名称','3','A105080','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321319;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321319,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#4#zxgwf',' ','A104000期间费用明细表#管理费用境外支付#3.咨询顾问费','1','4','1066581598406760448','qysdsnb','tccit_qysds_a104000','zxgwf','1',' ','{S[select fmanageoutside from t_tccit_profit_fees_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932184;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932184,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#lx',' ','A105020未按权责发生确实收入调整明细#5#3.利息','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','lx',' ',' ','{S[select ftaxincomesum from t_tccit_right_income_sum where FITEMTYPE=''002_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112222614501195776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112222614501195776,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#22#bnd',' ','A107041高新技术企业优惠情况及明细表#22#1.本年度','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd',' ',' ','{S[select fcurryear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''8'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932461;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932461,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#22#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#22#8.税收金额累计折旧、摊销额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020304'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320998;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320998,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#4#je','{Q[2.其中：签订劳动合同关系且具有大学专科以上学历的职工人数#2.金额]}/{Q[1.企业本年月平均职工总人数#2.金额]}','A107042软件、集成电路企业优惠情况及明细表#4.大学专科以上职工占企业本年月平均职工总人数的比例#2.金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107042','je','1',' ','{Q[tccit_qysds_a107042#2#je]}/{Q[tccit_qysds_a107042#1#je]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932388;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932388,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#21#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#21#2.账载金额本年折旧摊销额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020303'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320717;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320717,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#1#ssjezcjs','{Q[2.（一）房屋、建筑物#4.税收金额资产计税基础]}+{Q[3.（二）飞机、火车、轮船、机器、机械和其他生产设备#4.税收金额资产计税基础]}+{Q[4.（三）与生产经营活动有关的器具、工具、家具等#4.税收金额资产计税基础]}+{Q[5.（四）飞机、火车、轮船以外的运输工具#4.税收金额资产计税基础]}+{Q[6.（五）电子设备#4.税收金额资产计税基础]}+{Q[7.（六）其他#4.税收金额资产计税基础]}','A105080资产折旧摊销及纳税调整明细#1.一、固定资产#4.税收金额资产计税基础','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs','1',' ','{Q[tccit_qysds_a105080#2#ssjezcjs]}+{Q[tccit_qysds_a105080#3#ssjezcjs]}+{Q[tccit_qysds_a105080#4#ssjezcjs]}+{Q[tccit_qysds_a105080#5#ssjezcjs]}+{Q[tccit_qysds_a105080#6#ssjezcjs]}+{Q[tccit_qysds_a105080#7#ssjezcjs]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932576;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932576,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A101010#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A101010一般企业收入明细表#表单名称','3','A101010','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1123709981963848704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123709981963848704,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#29#xgsf',' ','A107020所得减免优惠明细表#29#6.相关税费','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf',' ',' ','{S[select  frelaxtax from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1296957907505637376;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1296957907505637376,{ts'2021-11-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#xswwgcpyjmle','{Q[税收金额#24.销售未完工产品预计毛利额]}',' ','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','xswwgcpyjmle',' ',' ','{Q[tccit_qysds_a105010#1#xswwgcpyjmle]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321332;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321332,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#6#yjsxf',' ','A104000期间费用明细表#财务费用境外支付#6.佣金和手续费','1','6','1066581598406760448','qysdsnb','tccit_qysds_a104000','yjsxf','1',' ','{S[select ffinanceoutside from t_tccit_profit_fees_sum where fitemno=6 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932966;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932966,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A108010#tabname',' ','企业所得税年度纳税申报表填报表#A108010境外所得纳税调整后所得明细表#表单名称','1','A108010','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A108010'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1133307535504294912;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133307535504294912,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#9#fzjggzze',' ','A109010分支机构信息#9#4.职工薪酬','1','9','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''9'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932626;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932626,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#zqywsr','{Q[金额#19.证券业务手续费及佣金收入]}+{Q[金额#26.其他证券业务收入]}','A101020金融企业收入明细#金额#18.证券业务收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','zqywsr','1',' ','{Q[tccit_qysds_a101020#1#zqywsxfjyjsr]}+{Q[tccit_qysds_a101020#1#qtzqywsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112235879407027200;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112235879407027200,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#31#hj',' ','A107041高新技术企业优惠情况及明细表#31#4.合计','1','31','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{S[select fjmse from t_tccit_dg_a301010200_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320794;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320794,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#3#ssje','{Q[3.其中：逾期三年以上的应收款项损失#4.资产计税基础]}-{Q[3.其中：逾期三年以上的应收款项损失#2.资产处置收入]}-{Q[3.其中：逾期三年以上的应收款项损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#3.其中：逾期三年以上的应收款项损失#5.资产损失的税收金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#3#zcjsjc]}-{Q[tccit_qysds_a105090#3#zcczsr]}-{Q[tccit_qysds_a105090#3#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071718723980923904;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071718723980923904,{ts'2021-03-30  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#10#xgsf',' ','A107020所得减免优惠明细表#10#6.相关税费','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf',' ',' ','{S[select   frelaxtax  from t_tccit_getredu_sum where FREDUCENAME in (1064511039091315712,1119482547752284160)  and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320766;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320766,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#21#nstzje','{Q[21.（三）著作权#2.账载金额本年折旧摊销额]}-{Q[21.（三）著作权#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#21.三著作权#9.纳税调整金额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#21#zzjebnzj]}-{Q[tccit_qysds_a105080#21#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113724755640372224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113724755640372224,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#3#bn',' ','A105040专项用途财政性资金纳税调整明细#3#6.本年','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105040','bn',' ',' ','{S[ SELECT sum(FZERORATINGAMOUNT) FROM t_tccit_zero_rating_sum  where ftype=''specialfund'' and forgid = ''#orgid'' AND fincomedateyear = #declareyear ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1107933214833383424;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1107933214833383424,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#btzlrfpqrjejdsj',' ','A107011居民企业之间权益性投资收益优惠#3#6.被投资企业利润分配确认金额_被投资企业做出利润分配或转股决定时间','4','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzlrfpqrjejdsj',' ',' ','{S[select left(fbizdate,10)  from t_tccit_dg_b105037_sum where flabel=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932441;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932441,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#20#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#20#5.税收金额-税收折旧、摊销额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020302'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932684;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932684,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#qtfqqrsr','{Q[本年税收金额#8.其他分期确认收入]}-{Q[本年账载金额#8.其他分期确认收入]}','A105020未按权责发生确实收入调整明细#纳税调整金额#8.其他分期确认收入','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','qtfqqrsr','1',' ','{Q[tccit_qysds_a105020#4#qtfqqrsr]}-{Q[tccit_qysds_a105020#2#qtfqqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113755034346424320;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113755034346424320,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#2#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#2#4.特殊性税务处理递延纳税账载金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030101'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932145;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932145,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#stxsyysrqt',' ','A05010视同销售纳税调整明细#1#10.视同销售收入其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','stxsyysrqt',' ',' ','{S[select sum(fincome) from t_tccit_thinkofsell_sum where FITEMTYPE=''50109'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118814523177218048;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118814523177218048,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#23#ssyh',' ','A107042软件、集成电路企业优惠情况及明细表#23#3.税收优惠指标名称','4','23','1066581598406760448','qysdsnb','tccit_qysds_a107042','ssyh',' ',' ','{S[select t.fitemname from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''qtzb1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133305774911636480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133305774911636480,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#4#fzjgsrze',' ','A109010分支机构信息#4#3.营业收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''4'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112321970155863040;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112321970155863040,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#8#jtbl',' ','A105120贷款损失准备金及纳税调整明细表#8#7.计提比例','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jtbl',' ',' ','{S[select fjtbl from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''8'' ]}*100'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321138;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321138,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#pyld',' ','A101020金融企业收入明细#金额#40.盘盈利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','pyld','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=40 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321363;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321363,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#kqkcxm',' ','A105000纳税调整项目明细#账载金额#26.跨期扣除项目','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','kqkcxm','1',' ','{S[select fzzjeamount from  t_tccit_period_summary where FRULEID=0 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320655;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320655,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#8#jwsdtzhsd','{Q[8#14.境外税前所得]}+{Q[8#15.境外分支机构收入与支出纳税调整额]}-{Q[8#16.境外分支机构调整分摊扣除的有关成本费用]}-{Q[8#17.境外所得对应调整的相关成本费用支出]}','A108010境外所得纳税调整后所得明细表#8#18.境外所得纳税调整后所得','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdtzhsd','1',' ','{Q[tccit_qysds_a108010#8#jwsqsd]}+{Q[tccit_qysds_a108010#8#jwfzsrzctze]}-{Q[tccit_qysds_a108010#8#jwfztzftkccbfy]}-{Q[tccit_qysds_a108010#8#jwsdtzcbfyzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321456;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321456,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#52#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#52#研发活动费用金额','1','52','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','if(({Q[tccit_qysds_a107012_mx#47#yfhdfyje]}-{Q[tccit_qysds_a107012_mx#48#yfhdfyje]}-{Q[tccit_qysds_a107012_mx#49#yfhdfyje]})>=0,0,0-({Q[tccit_qysds_a107012_mx#47#yfhdfyje]}-{Q[tccit_qysds_a107012_mx#48#yfhdfyje]}-{Q[tccit_qysds_a107012_mx#49#yfhdfyje]}))'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932249;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932249,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#4#jyxjrfz',' ','A105030投资收益纳税调整明细#4#5.交易性金融负债','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrfz',' ',' ','{S[select fkjqrczsr from t_tccit_asset_dispose_sum where fitemtype=''6010805'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133309182901076992;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133309182901076992,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#8#fzjgzcze',' ','A109010分支机构信息#8#5.资产总额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''8'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932391;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932391,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#24#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#24#2.账载金额本年折旧摊销额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020306'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320604;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320604,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#5#jyjsxj','{Q[5#15.按简易办法计算_按低于12.5%的实际税率计算的抵免额]}+{Q[5#16.按简易办法计算_按12.5%计算的抵免额]}+{Q[5#17.按简易办法计算_按25%计算的抵免额]}','A108000境外所得税收抵免明细表#5#18.按简易办法计算_小计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsxj','1',' ','{Q[tccit_qysds_a108000#5#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#5#jyjsldyewdme]}+{Q[tccit_qysds_a108000#5#jyjsldewdme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932863;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932863,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#11#nstzje','{Q[11#3.一般性税务处理纳税调整金额]}+{Q[11#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#11#7.纳税调整金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#11#ybnstzje]}+{Q[tccit_qysds_a105100#11#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932228;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932228,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#2#cqzqtz',' ','A105030投资收益纳税调整明细#2#8.长期债券投资','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqzqtz',' ',' ','{S[select ftaxincome from t_tccit_invest_profit_sum where fitemtype=''6010408'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135461251720434688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135461251720434688,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#3#bnsjdmdgndse',' ','A107050税额抵免优惠明细表#3#11.本年实际抵免的各年度税额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse',' ',' ','{S[select t.fbnsjdmdgndse from t_tccit_yh_taxcredit_data t where t.forgid=''#orgid'' and t.fitemno=3]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114299090386029568;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114299090386029568,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#sykjzz',' ','A000000企业所得税年度纳税申报基础信息表#1#107适用会计准则或会计制度','1','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','sykjzz',' ',' ','{S[select e.fnumber from t_tccit_policy c left join t_tccit_policy_a a on c.fid=a.fid left join t_tpo_tccit_bizdef_entry e on e.fentryid=a.faccountcriterion where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133307118749860864;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133307118749860864,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#4#fzjggzze',' ','A109010分支机构信息#4#4.职工薪酬','1','4','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''4'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932910;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932910,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#chjstzqrjeqdcgsh','{Q[4#11.撤回或减少投资确认金额_从被投资企业撤回或减少投资取得的资产]}-{Q[4#13.撤回或减少投资确认金额_收回初始投资成本]}','A107011居民企业之间权益性投资收益优惠#4#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeqdcgsh','1',' ','{Q[tccit_qysds_a107011#4#chjstzqrjezc]}-{Q[tccit_qysds_a107011#4#chjstzqrjeshcstzcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113736897789742080;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113736897789742080,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#13#qsind',' ','A105040专项用途财政性资金纳税调整明细#13#2.前四年度','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind',' ',' ','{S[SELECT sum(e.FFINANCIALAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-4 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932413;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932413,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#29#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#29#3.账载金额累计折旧、摊销额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020401'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113721184819660800;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113721184819660800,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#1#qsand',' ','A105040专项用途财政性资金纳税调整明细#1#3.前三年度','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsand',' ',' ','{C[#declareyear]}-3'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321294;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321294,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#fdckfqy','if({Q[纳税调整金额#21.房地产开发企业特定业务计算的纳税调整额]}>=,{Q[纳税调整金额#21.房地产开发企业特定业务计算的纳税调整额]},)','A105000纳税调整项目明细#调增金额#40.房地产开发企业特定业务计算的纳税调整额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','fdckfqy','1',' ','if({Q[tccit_qysds_a105010#2#fdckfqy]}>=0,{Q[tccit_qysds_a105010#2#fdckfqy]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1296958464123332608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1296958464123332608,{ts'2021-11-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#zhdxswwgcp','{Q[税收金额#28.转回的销售未完工产品预计毛利额]}',' ','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','zhdxswwgcp',' ',' ','{Q[tccit_qysds_a105010#1#zhdxswwgcp]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113755998759520256;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113755998759520256,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#12#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#12#4.特殊性税务处理递延纳税账载金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010306'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321057;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321057,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#sgttzsy','{Q[股票投资—深港通H股#17.合计]}','A107010免税减计收入及加计扣除优惠明细表#金额#5.内地居民企业通过深港通投资且连续持有H股满12个月取得的股息红利所得免征企业所得税','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','sgttzsy','1',' ','{Q[tccit_qysds_a107011#11#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320765;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320765,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#20#nstzje','{Q[20.（二）商标权#2.账载金额本年折旧摊销额]}-{Q[20.（二）商标权#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#20.二商标权#9.纳税调整金额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#20#zzjebnzj]}-{Q[tccit_qysds_a105080#20#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321158;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321158,{ts'2021-06-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#ynssde','{Q[金额#19.纳税调整后所得]}-{Q[金额#20.减：所得减免]}-{Q[金额#21.抵扣应纳税所得额]}-{Q[金额#22.弥补以前年度亏损]}','A100000年度纳税申报表#金额#23.应纳税所得额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','ynssde','1',' ','if({Q[tccit_qysds_a100000#1#nstzhsd]}-{Q[tccit_qysds_a100000#1#sdjm]}-{Q[tccit_qysds_a100000#1#dkynssde]}-{Q[tccit_qysds_a100000#1#mbyqndks]}<0,0,{Q[tccit_qysds_a100000#1#nstzhsd]}-{Q[tccit_qysds_a100000#1#sdjm]}-{Q[tccit_qysds_a100000#1#dkynssde]}-{Q[tccit_qysds_a100000#1#mbyqndks]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932206;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932206,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#qtwaqzfszqrsr',' ','A105020未按权责发生确实收入调整明细#2#13.其他未按权责发生制确认收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','qtwaqzfszqrsr',' ',' ','{S[select fzzjecurrent from t_tccit_right_income_sum where FITEMTYPE=''004'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321405;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321405,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#azftxycqtdfgjzbqyfy',' ','A105060广告业务宣传费跨年纳税调整明细#金额#11.按照分摊协议从其他关联方归集至本企业的广告费和业务宣传费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','azftxycqtdfgjzbqyfy','1',' ','{S[SELECT FMONEY FROM t_tccit_advert_script WHERE FITEMNO=''17'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932410;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932410,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#25#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#25#3.账载金额累计折旧、摊销额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020307'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1296956480293038080;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1296956480293038080,{ts'2021-11-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#xswwgcpyjmle',' ',' ','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','xswwgcpyjmle',' ',' ','{S[select sum(famount) from t_tccit_dg_b105093tz_sum where fitemno=''3'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320893;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320893,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#28#nstzje','{Q[28.（二）期货公司风险准备金#1.账载金额]}-{Q[28.（二）期货公司风险准备金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#28.二期货公司风险准备金#3.纳税调整金额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#28#zzje]}-{Q[tccit_qysds_a105120#28#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133305879064593408;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133305879064593408,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#5#fzjgsrze',' ','A109010分支机构信息#5#3.营业收入','1','5','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''5'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932563;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932563,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#25#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#25#2.资产处置收入','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''7010310'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320669;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320669,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#2#qwnxj','{Q[2#2.前五年境外所得已缴所得税未抵免余额_前五年]}+{Q[2#3.前五年境外所得已缴所得税未抵免余额_前四年]}+{Q[2#4.前五年境外所得已缴所得税未抵免余额_前三年]}+{Q[2#5.前五年境外所得已缴所得税未抵免余额_前二年]}+{Q[2#6.前五年境外所得已缴所得税未抵免余额_前一年]}','A108030跨年度结转抵免境外所得税明细表#2#7.前五年境外所得已缴所得税未抵免余额_小计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108030','qwnxj','1',' ','{Q[tccit_qysds_a108030#2#qwnqwn]}+{Q[tccit_qysds_a108030#2#qwnqsin]}+{Q[tccit_qysds_a108030#2#qwnqsann]}+{Q[tccit_qysds_a108030#2#qwnqln]}+{Q[tccit_qysds_a108030#2#qwnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338345;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338345,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#5#jmsde','if({Q[5.二、国家重点扶持的公共基础设施项目#9.免税项目所得额]}+{Q[5.二、国家重点扶持的公共基础设施项目#10.减半项目所得额]}*>=','A107020所得减免优惠明细表#5.二、国家重点扶持的公共基础设施项目#11.减免所得额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#5#msxmsde]}+{Q[tccit_qysds_a107020#5#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#5#msxmsde]}+{Q[tccit_qysds_a107020#5#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1133299067800233984;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133299067800233984,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#2#fzjgmc',' ','A109010分支机构信息#2#2.分支机构名称','4','2','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''2'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112312808336309248;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112312808336309248,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#6#bnmdkye',' ','A105120贷款损失准备金及纳税调整明细表#6#2.本年末贷款资产余额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkye',' ',' ','{S[select fbnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''6'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321253;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321253,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#lwf',' ','A104000期间费用明细表#销售费用#2.劳务费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','lwf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112316605204838400;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112316605204838400,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#9#bnmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#9#6.本年末准予提取贷款损失准备金的贷款资产余额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkzcye',' ',' ','{S[select fbnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''9'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932823;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932823,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#3#ybnstzje','{Q[3#2.一般性税务处理税收金额]}-{Q[3#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#3#3.一般性税务处理纳税调整金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#3#ybssje]}-{Q[tccit_qysds_a105100#3#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1199134030314937344;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1199134030314937344,{ts'2021-07-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#42#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#42#1.账载金额资产原值','1','42','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1113725537181813760;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113725537181813760,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#4#qynd',' ','A105040专项用途财政性资金纳税调整明细#4#5.前一年度','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105040','qynd',' ',' ','{S[SELECT sum(e.FINCOMEAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-1 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932714;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932714,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#7#hj','{Q[处置收益计税基础#1.交易性金融资产]}+{Q[处置收益计税基础#2.可供出售金融资]}+{Q[处置收益计税基础#3.持有至到期投资]}+{Q[处置收益计税基础#4.衍生工具]}+{Q[处置收益计税基础#5.交易性金融负债]}+{Q[处置收益计税基础#6.长期股权投资]}+{Q[处置收益计税基础#7.短期投资]}+{Q[处置收益计税基础#8.长期债券投资]}+{Q[处置收益计税基础#9.其他]}','A105030投资收益纳税调整明细#处置收益计税基础#10.合计','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105030','hj','1',' ','{Q[tccit_qysds_a105030#7#jyxjrzc]}+{Q[tccit_qysds_a105030#7#kgcsjrzc]}+{Q[tccit_qysds_a105030#7#cyzdqtz]}+{Q[tccit_qysds_a105030#7#ysgj]}+{Q[tccit_qysds_a105030#7#jyxjrfz]}+{Q[tccit_qysds_a105030#7#cqgqtz]}+{Q[tccit_qysds_a105030#7#dqtz]}+{Q[tccit_qysds_a105030#7#cqzqtz]}+{Q[tccit_qysds_a105030#7#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135449940143925248;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135449940143925248,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#1#bnyxdmdzysbtze',' ','A107050税额抵免优惠明细表#1#3.本年允许抵免的专用设备投资额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnyxdmdzysbtze',' ',' ','{S[select fbnyxdmdzysbtze from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931979;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931979,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#ybgxhl','{Q[其中：直接投资或非H股票投资#17.合计]}','A107010免税减计收入及加计扣除优惠明细表#1#3.1.一般股息红利等权益性投资收益免征企业所得税','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','ybgxhl',' ',' ','{Q[tccit_qysds_a107011#9#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113695445617685504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113695445617685504,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#dnknbks',' ','A106000企业所得税弥补亏损明细表#7#4.可弥补年限5年','1','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','dnknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-4 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-4 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}  #else #if({S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}>0 )    0-{S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']} #else  {S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321400;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321400,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#byxkcdggfhywxczc',' ','A105060广告业务宣传费跨年纳税调整明细#金额#2.减：不允许扣除的广告费和业务宣传费支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','byxkcdggfhywxczc','1',' ','{S[SELECT FMONEY FROM t_tccit_advert_script WHERE FITEMNO=''4''  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135410617537324032;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135410617537324032,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#48#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#48#研发活动费用金额','1','48','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=48]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118813026121068544;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118813026121068544,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#7#je',' ','A107042软件、集成电路企业优惠情况及明细表#7#2.金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107042','je',' ',' ','{S[select t.fjesl from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''jnyffyje'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078889351271725056;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078889351271725056,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#26#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#26#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020611'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113546359333493760;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113546359333493760,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#nd',' ','A106000企业所得税弥补亏损明细表#8#1.年度','1','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','nd',' ',' ','{C[#year]}-3'); 
DELETE FROM t_tctb_formula WHERE FID = 1133324407209699328;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133324407209699328,{ts'2021-06-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#zjgxqzjgldyfsdse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#6.总机构向其直接管理的建筑项目部所在地预分的所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','zjgxqzjgldyfsdse',' ',' ','if({S[SELECT f.famountorratio FROM t_tccit_seft_hznsqy_sum f WHERE f.forgid = ''#orgid'' AND f.fskssqq = ''#startDate'' AND f.fskssqz = ''#endDate'' AND f.fitemtype=''2a'' ]}>0,{S[SELECT f.famountorratio FROM t_tccit_seft_hznsqy_sum f WHERE f.forgid = ''#orgid'' AND f.fskssqq = ''#startDate'' AND f.fskssqz = ''#endDate'' AND f.fitemtype=''2a'' ]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320995;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320995,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#25#qend','({Q[26.境内的外部研发费#3.前二年度]}+{Q[28.可计入研发费用的境外的外部研发费#3.前二年度]})*0.8','A107041高新技术企业优惠情况及明细表#25.委托外部研发费用#3.前二年度','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend','1',' ','({Q[tccit_qysds_a107041#26#qend]}+{Q[tccit_qysds_a107041#28#qend]})*0.8'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320840;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320840,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#20#nstzje','{Q[20.单户贷款余额300万元至1000万元（含）的贷款损失#1.资产损失的账载金额]}-{Q[20.单户贷款余额300万元至1000万元（含）的贷款损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#20.单户贷款余额300万元至1000万元含的贷款损失#6.纳税调整金额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#20#zzje]}+{Q[tccit_qysds_a105090#20#zchxje]}-{Q[tccit_qysds_a105090#20#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932434;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932434,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#32#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#32#4.税收金额资产计税基础','1','32','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020404'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114428214056543232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114428214056543232,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#qendynbe',' ','A106000企业所得税弥补亏损明细表#4#7.当年亏损额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','qendynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(flossmoney)  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  {S[SELECT fqendynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932600;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932600,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107030#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A107030抵扣应纳税所得额明细表#表单名称','3','A107030','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1113725084993899520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113725084993899520,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#4#qsind',' ','A105040专项用途财政性资金纳税调整明细#4#2.前四年度','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind',' ',' ','{S[SELECT sum(e.FINCOMEAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-4 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321289;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321289,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#tshyzbj','if({Q[43.合计#3.纳税调整金额]}>={Q[43.合计#3.纳税调整金额]})','A105000纳税调整项目明细#调增金额#39.特殊行业准备金','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','tshyzbj','1',' ','if({Q[tccit_qysds_a105120#43#nstzje]}>=0,{Q[tccit_qysds_a105120#43#nstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932494;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932494,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#8#zzje',' ','A105090资产损失税前扣除及纳税调整明细#8#1.资产损失的账载金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''701030401'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932368;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932368,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#19#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#19#1.账载金额资产原值','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320613;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320613,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#5#jwsddmsehj','{Q[5#12.本年可抵免境外所得税额]}+{Q[5#14.本年可抵免以前年度未抵免境外所得税额]}+{Q[5#18.按简易办法计算_小计]}','A108000境外所得税收抵免明细表#5#19.境外所得抵免所得税额合计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsddmsehj','1',' ','{Q[tccit_qysds_a108000#5#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#5#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#5#jyjsxj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112233973087470592;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112233973087470592,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#28#hj','{Q[28.可计入研发费用的境外的外部研发费#1.本年度]}','A107041高新技术企业优惠情况及明细表#28#4.合计','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{Q[tccit_qysds_a107041#28#bnd]}+{Q[tccit_qysds_a107041#28#qynd]}+{Q[tccit_qysds_a107041#28#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321501;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321501,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#1#bnkdmjwsdse','if({Q[1#10.境外所得可抵免税额]}>={Q[1#11.境外所得抵免限额]})','A108000境外所得税收抵免明细表#1#12.本年可抵免境外所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108000','bnkdmjwsdse','1',' ','if({Q[tccit_qysds_a108000#1#jwsdkdmse1]}>={Q[tccit_qysds_a108000#1#jwsddmxe]},{Q[tccit_qysds_a108000#1#jwsddmxe]},{Q[tccit_qysds_a108000#1#jwsdkdmse1]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932975;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932975,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#5#bnkdmse','{Q[前一年度#3.本年允许抵免的专用设备投资额]}*0.1','A107050税额抵免优惠明细表#前一年度#4.本年可抵免税额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnkdmse','1',' ','{Q[tccit_qysds_a107050#5#bnyxdmdzysbtze]}*0.1'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321333;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321333,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#6#lxsz',' ','A104000期间费用明细表#财务费用境外支付#21.利息收支','1','6','1066581598406760448','qysdsnb','tccit_qysds_a104000','lxsz','1',' ','{S[select ffinanceoutside from t_tccit_profit_fees_sum where fitemno=21 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932225;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932225,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#2#jyxjrfz',' ','A105030投资收益纳税调整明细#2#5.交易性金融负债','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrfz',' ',' ','{S[select ftaxincome from t_tccit_invest_profit_sum where fitemtype=''6010405'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932369;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932369,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#20#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#20#1.账载金额资产原值','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020302'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1139860142863447040;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1139860142863447040,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#41#hj',' ','A107040减免所得税优惠明细表#41#1.金额','1','41','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ','{S[select famountorratio from t_tccit_setz_jmyhhz where forgid=''#orgid'' and FSKSSQQ = ''#startDate'' and FSKSSQZ=''#endDate'' and fitemtype = ''4.6.e'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932435;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932435,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#33#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#33#4.税收金额资产计税基础','1','33','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020405'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932861;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932861,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#9#nstzje','{Q[9#3.一般性税务处理纳税调整金额]}+{Q[9#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#9#7.纳税调整金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#9#ybnstzje]}+{Q[tccit_qysds_a105100#9#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320892;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320892,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#27#nstzje','{Q[27.（一）期货交易所风险准备金#1.账载金额]}-{Q[27.（一）期货交易所风险准备金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#27.一期货交易所风险准备金#3.纳税调整金额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#27#zzje]}-{Q[tccit_qysds_a105120#27#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114440423884980224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114440423884980224,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#9#gdmc',' ','A000000主要股东及分红情况#9#1.股东名称','4','9','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gdmc',' ',' ','{S[select h.fgdname from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=9 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851101;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851101,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#4#yqndjzkkcdjze',' ','A105070捐赠支出及纳税调整明细#前三年度#2.以前年度结转可扣除的捐赠额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105070','yqndjzkkcdjze','1',' ','{S[select fmoney from  t_tccit_dg_b105021_sum where FITEMNO=''6a'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113145108632449024;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113145108632449024,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#qekcpxfy',' ','A105050职工薪酬支出明细#1#6.按税收规定全额扣除的职工培训费用','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','qekcpxfy',' ',' ','{S[select famount from t_tccit_edufull_sum where fitemtype=''zzje'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321226;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321226,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#zzzc','{Q[账载金额#21.赞助支出]}','A105000纳税调整项目明细#调增金额#21.赞助支出','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','zzzc','1',' ','{Q[tccit_qysds_a105000#1#zzzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932844;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932844,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#8#tsnstzje','{Q[8#5.特殊性税务处理递延纳税税收金额]}-{Q[8#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#8#6.特殊性税务处理递延纳税纳税调整金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#8#tsssje]}-{Q[tccit_qysds_a105100#8#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320710;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320710,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#tssxtzxm','{Q[调增金额#37.企业重组]}+{Q[调增金额#38.政策性搬迁]}+{Q[调增金额#39.特殊行业准备金]}+{Q[调增金额#40.房地产开发企业特定业务计算的纳税调整额]}+{Q[调增金额#41.有限合伙企业法人合伙方应分得的应纳税所得额]}+{Q[调增金额#发行永续债利息支出]}+{Q[调增金额#42.特殊事项调整其他]}','A105000纳税调整项目明细#调增金额#36.特殊事项调整项目','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','tssxtzxm','1',' ','{Q[tccit_qysds_a105000#3#qycz]}+{Q[tccit_qysds_a105000#3#zcxbq]}+{Q[tccit_qysds_a105000#3#tshyzbj]}+{Q[tccit_qysds_a105000#3#fdckfqy]}+{Q[tccit_qysds_a105000#3#yxhhqyfrhhfyfddynsdstze]}+{Q[tccit_qysds_a105000#3#fxyxzlxzc]}+{Q[tccit_qysds_a105000#3#tssxtzxmqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337832;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337832,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#18#xmcb','{Q[16.六、符合条件的节能服务公司实施的合同能源管理项目#5.项目成本]}+{Q[17.六、符合条件的节能服务公司实施的合同能源管理项目#5.项目成本]}','A107020所得减免优惠明细表#18.六、符合条件的节能服务公司实施的合同能源管理项目小计#5.项目成本','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb','1',' ','{Q[tccit_qysds_a107020#16#xmcb]}+{Q[tccit_qysds_a107020#17#xmcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337837;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337837,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#21#xmcb','{Q[19.七、线宽小于130纳米的集成电路生产项目#5.项目成本]}+{Q[20.七、线宽小于131纳米的集成电路生产项目#5.项目成本]}','A107020所得减免优惠明细表#21.七、线宽小于132纳米的集成电路生产项目小计#5.项目成本','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb','1',' ','{Q[tccit_qysds_a107020#19#xmcb]}+{Q[tccit_qysds_a107020#20#xmcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114442866161091584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114442866161091584,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#3#zjlx',' ','A000000主要股东及分红情况#3#2.证件种类','1','3','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx',' ',' ','{S[select h.ffidtype from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=3 and h.ffidtype<>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321097;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321097,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#qtywsrqt',' ','A101010一般企业收入明细表#金额#15.其他业务收入_其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','qtywsrqt','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=15 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320588;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320588,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#7#jwsdynse1','{Q[7#7.抵减境内亏损后的境外应纳税所得额]}*{Q[7#8.税率]}','A108000境外所得税收抵免明细表#7#9.境外所得应纳税额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsdynse1','1',' ','{Q[tccit_qysds_a108000#7#djjnkshjwyne]}*{Q[tccit_qysds_a108000#7#sl2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320697;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320697,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#10#jzxj','{Q[合计#14.结转以后年度抵免的境外所得已缴所得税额_前四年]}+{Q[合计#15.结转以后年度抵免的境外所得已缴所得税额_前三年]}+{Q[合计#16.结转以后年度抵免的境外所得已缴所得税额_前二年]}+{Q[合计#17.结转以后年度抵免的境外所得已缴所得税额_前一年]}+{Q[合计#18.结转以后年度抵免的境外所得已缴所得税额_本年]}','A108030跨年度结转抵免境外所得税明细表#合计#19.结转以后年度抵免的境外所得已缴所得税额_小计','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108030','jzxj','1',' ','{Q[tccit_qysds_a108030#10#jzqsin]}+{Q[tccit_qysds_a108030#10#jzqsann]}+{Q[tccit_qysds_a108030#10#jzqln]}+{Q[tccit_qysds_a108030#10#jzqyn]}+{Q[tccit_qysds_a108030#10#jbzn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932769;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932769,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#2#hj','{Q[财政性资金#1.前五年度]}+{Q[财政性资金#2.前四年度]}+{Q[财政性资金#3.前三年度]}+{Q[财政性资金#4.前二年度]}+{Q[财政性资金#5.前一年度]}+{Q[财政性资金#6.本年]}','A105040专项用途财政性资金纳税调整明细#财政性资金#7.合计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105040','hj','1',' ','{Q[tccit_qysds_a105040#2#qwnd]}+{Q[tccit_qysds_a105040#2#qsind]}+{Q[tccit_qysds_a105040#2#qsand]}+{Q[tccit_qysds_a105040#2#qend]}+{Q[tccit_qysds_a105040#2#qynd]}+{Q[tccit_qysds_a105040#2#bn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932898;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932898,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105110#1#yjbnsbqsdhss','{Q[金额#19.搬迁所得]}+{Q[金额#20.搬迁损失一次性扣除]}+{Q[金额#21.搬迁损失分期扣除]}','A105110政策性搬迁纳税调整明细表#金额#18.应计入本年应纳税所得额的搬迁所得或损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105110','yjbnsbqsdhss','1',' ','{Q[tccit_qysds_a105110#1#bqsd]}+{Q[tccit_qysds_a105110#1#bqssycxkc]}+{Q[tccit_qysds_a105110#1#bqssfqkc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932710;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932710,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#3#hj','{Q[持有收益纳税调整金额#1.交易性金融资产]}+{Q[持有收益纳税调整金额#2.可供出售金融资]}+{Q[持有收益纳税调整金额#3.持有至到期投资]}+{Q[持有收益纳税调整金额#4.衍生工具]}+{Q[持有收益纳税调整金额#5.交易性金融负债]}+{Q[持有收益纳税调整金额#6.长期股权投资]}+{Q[持有收益纳税调整金额#7.短期投资]}+{Q[持有收益纳税调整金额#8.长期债券投资]}+{Q[持有收益纳税调整金额#9.其他]}','A105030投资收益纳税调整明细#持有收益纳税调整金额#10.合计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105030','hj','1',' ','{Q[tccit_qysds_a105030#3#jyxjrzc]}+{Q[tccit_qysds_a105030#3#kgcsjrzc]}+{Q[tccit_qysds_a105030#3#cyzdqtz]}+{Q[tccit_qysds_a105030#3#ysgj]}+{Q[tccit_qysds_a105030#3#jyxjrfz]}+{Q[tccit_qysds_a105030#3#cqgqtz]}+{Q[tccit_qysds_a105030#3#dqtz]}+{Q[tccit_qysds_a105030#3#cqzqtz]}+{Q[tccit_qysds_a105030#3#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321150;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321150,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#qtywcbfhbxzcjhcb',' ','A102010一般企业成本支出明细#金额#11.非货币性资产交换成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','qtywcbfhbxzcjhcb','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=11 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932264;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932264,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#5#kgcsjrzc',' ','A105030投资收益纳税调整明细#5#2.可供出售金融资','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105030','kgcsjrzc',' ',' ','{S[select fssjsczsr from t_tccit_asset_dispose_sum where fitemtype=''6010802'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321513;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321513,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#3#qekcpxfy',' ','A105050职工薪酬支出明细#税收规定扣除率#6.按税收规定全额扣除的职工培训费用','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105050','qekcpxfy','1',' ','100'); 
DELETE FROM t_tctb_formula WHERE FID = 1113728823561603072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113728823561603072,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#9#qsind',' ','A105040专项用途财政性资金纳税调整明细#9#2.前四年度','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind',' ',' ','select fqsand from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''10'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932312,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#3#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#3#8.税收金额累计折旧、摊销额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020102'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069607951652818944;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069607951652818944,{ts'2021-02-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#7#nstze',' ','A107020所得减免优惠明细表#7#8.纳税调整额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze',' ',' ','{S[select  fnstz  from t_tccit_getredu_sum where FREDUCENAME in (1064510411371678720,1064510411371678721,1064510411371678722,1064510411371678723,1064510411371678724,1064510411371678725)  AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113018631165514752;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113018631165514752,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#15#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#15#1.一般性税务处理账载金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010309'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321441;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321441,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#btzqsqrjeyqrgxsd','({Q[1#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]}>{Q[1#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]}{Q[1#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]}{Q[1#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]})','A107011居民企业之间权益性投资收益优惠#1#10.被投资企业清算确认金额_应确认的股息所得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#1#btzqsqrjeqssyzc]}>{Q[tccit_qysds_a107011#1#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#1#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#1#btzqsqrjeqssyzc]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321519;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321519,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#zfgjj',' ','A105050职工薪酬支出明细#税收金额#9.住房公积金','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','zfgjj','1',' ','{S[SELECT ftaxamount FROM t_tccit_salary_summary_dg WHERE fitemtype=''commreserve'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321061;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321061,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#jwsdftdgtzc','{Q[合计#16.境外分支机构调整分摊扣除的有关成本费用]}+{Q[合计#17.境外所得对应调整的相关成本费用支出]}','A105000纳税调整项目明细#调增金额#28.境外所得分摊的共同支出','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','jwsdftdgtzc','1',' ','{Q[tccit_qysds_a108010#10#jwfztzftkccbfy]}+{Q[tccit_qysds_a108010#10#jwsdtzcbfyzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321108;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321108,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#yywsrqt',' ','A101010一般企业收入明细表#金额#26.营业外收其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','yywsrqt','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=26 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320782;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320782,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#16#pcsr','{Q[17.（一）金融企业债权性投资损失#3.赔偿收入]}+{Q[22.（二）非金融企业债权性投资损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#16.八、债权性投资损失#3.赔偿收入','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr','1',' ','{Q[tccit_qysds_a105090#17#pcsr]}+{Q[tccit_qysds_a105090#22#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932288,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#3#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#3#2.账载金额本年折旧摊销额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020102'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095553452722930688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095553452722930688,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#gjzfgzjjck',' ','A107010免税减计收入及加计扣除优惠明细表#1#29.安置残疾人员及国家鼓励安置的其他就业人员所支付的工资加计扣除','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','gjzfgzjjck',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''3.1'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320864;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320864,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#39#zzje','{Q[40.（一）贷款损失准备金#1.账载金额]}+{Q[41.（二）其他#1.账载金额]}','A105120特殊行业准备金及纳税调整明细表#39.六、小额贷款公司40+41#1.账载金额','1','39','1066581598406760448','qysdsnb','tccit_qysds_a105120','zzje','1',' ','{Q[tccit_qysds_a105120#40#zzje]}+{Q[tccit_qysds_a105120#41#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321118;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321118,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#yhksxf',' ','A101020金融企业收入明细#金额#14.银行卡手续费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','yhksxf','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=14 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095471453416984576;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095471453416984576,{ts'2021-07-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#dfzfzqlxsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#11.取得的地方政府债券利息所得或收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','dfzfzqlxsr',' ',' ','{S[select sum(fmssrje) from t_tccit_dg_b105037_sum where finvesttype=''地方政府债券'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320801;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320801,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#10#ssje','{Q[10.其中：无形资产转让损失#4.资产计税基础]}-{Q[10.其中：无形资产转让损失#2.资产处置收入]}-{Q[10.其中：无形资产转让损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#10.其中：无形资产转让损失#5.资产损失的税收金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#10#zcjsjc]}-{Q[tccit_qysds_a105090#10#zcczsr]}-{Q[tccit_qysds_a105090#10#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113755670211299328;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113755670211299328,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#9#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#9#4.特殊性税务处理递延纳税账载金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030401'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321166;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321166,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#fldzcczss',' ','A102010一般企业成本支出明细#金额#17.非流动资产处置损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','fldzcczss','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=17 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320620;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320620,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#3#jwshxj','{Q[3#2.境外税后所得_分支机构机构营业利润所得]}+{Q[3#3.境外税后所得_股息、红利等权益性投资所得]}+{Q[3#4.境外税后所得_利息所得]}+{Q[3#5.境外税后所得_租金所得]}+{Q[3#6.境外税后所得_特许权使用费所得]}+{Q[3#7.境外税后所得_财产转让所得]}+{Q[3#8.境外税后所得_其他所得]}','A108010境外所得纳税调整后所得明细表#3#9.境外税后所得_小计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwshxj','1',' ','{Q[tccit_qysds_a108010#3#jwshfzjgyylr]}+{Q[tccit_qysds_a108010#3#jwshgxhltzsd]}+{Q[tccit_qysds_a108010#3#jwshlxsd]}+{Q[tccit_qysds_a108010#3#jwshzjsd]}+{Q[tccit_qysds_a108010#3#jwshtxqfysd]}+{Q[tccit_qysds_a108010#3#jwshcczrsd]}+{Q[tccit_qysds_a108010#3#jwshqtsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932431;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932431,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#29#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#29#4.税收金额资产计税基础','1','29','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020401'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320997;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320997,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#30#hj','{Q[15.归集的高新研发费用金额#4.合计]}/{Q[29.销售（营业）收入#4.合计]}','A107041高新技术企业优惠情况及明细表#30.三年研发费用占销售营业收入的比例#4.合计','1','30','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj','1',' ','{Q[tccit_qysds_a107041#15#hj]}/{Q[tccit_qysds_a107041#29#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932331;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932331,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#8#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#8#3.账载金额累计折旧、摊销额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020601'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321177;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321177,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#waqzfszyzqrdsr','if({Q[纳税调整金额#14.合计]}>=0,{Q[纳税调整金额#14.合计]},0)','A105000纳税调整项目明细#调增金额#3.未按权责发生制原则确认的收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','waqzfszyzqrdsr','1',' ','if({Q[tccit_qysds_a105020#6#hj]}>=0,{Q[tccit_qysds_a105020#6#hj]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932154;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932154,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#stxsyycbqt',' ','A05010视同销售纳税调整明细#1#20.视同销售成本其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','stxsyycbqt',' ',' ','{S[select sum(fcost) from t_tccit_thinkofsell_sum where FITEMTYPE=''50109'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932835;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932835,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#15#ybnstzje','{Q[15#2.一般性税务处理税收金额]}-{Q[15#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#15#3.一般性税务处理纳税调整金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#15#ybssje]}-{Q[tccit_qysds_a105100#15#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114392685357261824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114392685357261824,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#qsndynbe',' ','A106000企业所得税弥补亏损明细表#8#6.弥补亏损企业类型','4','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and flosstype=''jnsd'']}>0)       {S[select fnumber  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and flosstype=''jnsd'']}    #else  {S[SELECT fqsndynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932387;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932387,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#20#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#20#2.账载金额本年折旧摊销额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020302'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321488;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321488,{ts'2021-04-01  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#28#bnd',' ','A107041高新技术企业优惠情况及明细表#28.可计入研发费用的境外的外部研发费#1.本年度','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd','1',' ','{S[select fcurryear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''14'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932385;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932385,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#17#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#17#2.账载金额本年折旧摊销额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020202'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112294110758221824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112294110758221824,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#1#snmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#1#5.上年末准予提取贷款损失准备金的贷款资产余额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkzcye',' ',' ','{Q[tccit_qysds_a105120_dk#2#snmdkzcye]}  +  {Q[tccit_qysds_a105120_dk#3#snmdkzcye]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1113757683141675008;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113757683141675008,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#8#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#8#5.特殊性税务处理递延纳税税收金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{Q[tccit_qysds_a105100#9#tsssje]}+{Q[tccit_qysds_a105100#10#tsssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321433;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321433,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#kjz','{Q[3.前八年度#8.当年待弥补的亏损额]}-{Q[3.前八年度#9.使用境内所得弥补]}-{Q[3.前八年度#10.使用境外所得弥补]}','A106000企业所得税弥补亏损明细表#3.前八年度#11.当年可结转以后年度弥补的亏损额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','kjz','1',' ','if({Q[tccit_qysds_a106000#3#qyndynbe]}>{Q[tccit_qysds_a106000#3#hj]}+{Q[tccit_qysds_a106000#3#sjnbe]},{Q[tccit_qysds_a106000#3#qyndynbe]}-{Q[tccit_qysds_a106000#3#hj]}-{Q[tccit_qysds_a106000#3#sjnbe]},{Q[tccit_qysds_a106000#3#hj]}+{Q[tccit_qysds_a106000#3#sjnbe]}-{Q[tccit_qysds_a106000#3#qyndynbe]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320923;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320923,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#47#yfhdfyje','{Q[45#研发活动费用金额]}-{Q[46#研发活动费用金额]}','A107012研发费用加计扣除优惠明细#47#研发活动费用金额','1','47','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','{Q[tccit_qysds_a107012_mx#45#yfhdfyje]}-{Q[tccit_qysds_a107012_mx#46#yfhdfyje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321122;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321122,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#zqcxyw',' ','A101020金融企业收入明细#金额#20.证券承销业务','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','zqcxyw','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=20 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320803;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320803,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#12#ssje','{Q[12.六、在建工程损失#4.资产计税基础]}-{Q[12.六、在建工程损失#2.资产处置收入]}-{Q[12.六、在建工程损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#12.六、在建工程损失#5.资产损失的税收金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#12#zcjsjc]}-{Q[tccit_qysds_a105090#12#zcczsr]}-{Q[tccit_qysds_a105090#12#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1210834607235147776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1210834607235147776,{ts'2021-07-29  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#4#bnyxdmdzysbtze',' ','A107050税额抵免优惠明细表#4#3.本年允许抵免的专用设备投资额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnyxdmdzysbtze',' ',' ','{S[select fbnyxdmdzysbtze from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''5'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114438279924891648;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114438279924891648,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#qyndynbe',' ','A106000企业所得税弥补亏损明细表#6#8.当年待弥补的亏损额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','qyndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fbnkmbksje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}>0) 0-{S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}  #else {S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1114451651055665152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114451651055665152,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#sjnbe',' ','A106000企业所得税弥补亏损明细表#5#10.使用境外所得弥补','1','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','sjnbe',' ',' ','{S[select sum(fsyjwsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]} '); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337829;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337829,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#15#yftqjfy','{Q[13.五、清洁发展机制项目#7.应分摊期间费用]}+{Q[14.五、清洁发展机制项目#7.应分摊期间费用]}','A107020所得减免优惠明细表#15.五、清洁发展机制项目小计#7.应分摊期间费用','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy','1',' ','{Q[tccit_qysds_a107020#13#yftqjfy]}+{Q[tccit_qysds_a107020#14#yftqjfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071703051527821312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071703051527821312,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#4#sdjmyhsxdm',' ','A107020所得减免优惠明细表#4#2.所得减免优惠事项代码','4','4','1066581598406760448','qysdsnb','tccit_qysds_a107020','sdjmyhsxdm',' ',' ','{S[select   fyhsxmc from t_tccit_getredu_sum where FREDUCENAME in (1064506748737653761,1064508826394528768,1064508826394528769,1064508826394528770,1064508826394528771,1064508826394528772,1064508826394528773,1064508826394528774,1064508826394528775)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932795;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932795,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#bcyiliaobx','{Q[账载金额#11.补充医疗保险]}-{Q[税收金额#11.补充医疗保险]}','A105050职工薪酬支出明细#纳税调整金额#11.补充医疗保险','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','bcyiliaobx','1',' ','{Q[tccit_qysds_a105050#1#bcyiliaobx]}-{Q[tccit_qysds_a105050#5#bcyiliaobx]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112221303017832448;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112221303017832448,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#17#bnd',' ','A107041高新技术企业优惠情况及明细表#17#1.本年度','1','17','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd',' ',' ','{S[select fcurryear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112228652864503808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112228652864503808,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#28#qynd',' ','A107041高新技术企业优惠情况及明细表#28#2.前一年度','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd',' ',' ','{S[select fpreoneyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''14'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932533;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932533,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#15#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#15#4.资产计税基础','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''701030701'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932380;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932380,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#32#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#32#1.账载金额资产原值','1','32','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020404'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075562026435;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075562026435,{ts'2021-07-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#yycb','{Q[金额#1.营业成本]}','A100000年度纳税申报表#金额#2.营业成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','yycb','1',' ','if({Q[tccit_qysds_a102010#1#yycb]}+{Q[tccit_qysds_a102020#1#yyzc]}+{Q[tccit_qysds_a103000#1#syzc]}+{Q[tccit_qysds_a103000#1#sjsjzc]}+{Q[tccit_qysds_a103000#1#dfsdwbz]}+{Q[tccit_qysds_a103000#1#jyzc]}+{Q[tccit_qysds_a103000#1#ywhdcb]}+{Q[tccit_qysds_a103000#1#glfy]}+{Q[tccit_qysds_a103000#1#zzfy]}!=0,{Q[tccit_qysds_a102010#1#yycb]}+{Q[tccit_qysds_a102020#1#yyzc]}+{Q[tccit_qysds_a103000#1#syzc]}+{Q[tccit_qysds_a103000#1#sjsjzc]}+{Q[tccit_qysds_a103000#1#dfsdwbz]}+{Q[tccit_qysds_a103000#1#jyzc]}+{Q[tccit_qysds_a103000#1#ywhdcb]}+{Q[tccit_qysds_a103000#1#glfy]}+{Q[tccit_qysds_a103000#1#zzfy]},{S[select famount from t_tccit_dg_a100000_1_sum where fitemtype =''001_01'' and forgid = ''#orgid'' and fskssqq =''#startDate'' and fskssqz =''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1131164355573146624;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1131164355573146624,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#9#kjxqy',' ','A107030抵扣应纳税所得额明细表#9#3.投资于种子期、初创期科技型企业','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107030','kjxqy',' ',' ','{S[select  fzzqcurrent  from t_tccit_dg_a100000_7_sum where fitemno=''1'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321349;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321349,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#mjfylzzsrqtsr',' ','A103000事业单位支出明细#金额#17.其他收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','mjfylzzsrqtsr','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=17 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932577;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932577,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A101020#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A101020金融企业收入明细表#表单名称','3','A101020','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932717;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932717,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#10#hj','{Q[处置收益纳税调整金额#1.交易性金融资产]}+{Q[处置收益纳税调整金额#2.可供出售金融资]}+{Q[处置收益纳税调整金额#3.持有至到期投资]}+{Q[处置收益纳税调整金额#4.衍生工具]}+{Q[处置收益纳税调整金额#5.交易性金融负债]}+{Q[处置收益纳税调整金额#6.长期股权投资]}+{Q[处置收益纳税调整金额#7.短期投资]}+{Q[处置收益纳税调整金额#8.长期债券投资]}+{Q[处置收益纳税调整金额#9.其他]}','A105030投资收益纳税调整明细#处置收益纳税调整金额#10.合计','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105030','hj','1',' ','{Q[tccit_qysds_a105030#10#jyxjrzc]}+{Q[tccit_qysds_a105030#10#kgcsjrzc]}+{Q[tccit_qysds_a105030#10#cyzdqtz]}+{Q[tccit_qysds_a105030#10#ysgj]}+{Q[tccit_qysds_a105030#10#jyxjrfz]}+{Q[tccit_qysds_a105030#10#cqgqtz]}+{Q[tccit_qysds_a105030#10#dqtz]}+{Q[tccit_qysds_a105030#10#cqzqtz]}+{Q[tccit_qysds_a105030#10#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095582441814410240;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095582441814410240,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#chjstzqrjejstzbl',' ','A107011居民企业之间权益性投资收益优惠#6#12.撤回或减少投资确认金额_减少投资比例','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjejstzbl',' ',' ','{S[select fczjstzbl  from t_tccit_dg_b105036_sum where ftranstype=''撤资'' and fitemno=2   and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077607791599861760;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077607791599861760,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#37#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#37#3.账载金额累计折旧、摊销额','1','37','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020603'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112314911989480448;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112314911989480448,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#8#bnmsszbjye',' ','A105120贷款损失准备金及纳税调整明细表#8#4.本年末贷款损失准备金余额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmsszbjye',' ',' ','{S[select fbnmsszbjye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''8'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320654;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320654,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#7#jwsdtzhsd','{Q[7#14.境外税前所得]}+{Q[7#15.境外分支机构收入与支出纳税调整额]}-{Q[7#16.境外分支机构调整分摊扣除的有关成本费用]}-{Q[7#17.境外所得对应调整的相关成本费用支出]}','A108010境外所得纳税调整后所得明细表#7#18.境外所得纳税调整后所得','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdtzhsd','1',' ','{Q[tccit_qysds_a108010#7#jwsqsd]}+{Q[tccit_qysds_a108010#7#jwfzsrzctze]}-{Q[tccit_qysds_a108010#7#jwfztzftkccbfy]}-{Q[tccit_qysds_a108010#7#jwsdtzcbfyzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071734153625768960;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071734153625768960,{ts'2021-06-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#19#jbxmsde',' ','A107020所得减免优惠明细表#19#10.减半项目所得额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','if({Q[tccit_qysds_a107020#19#yhfs]}=减半征收,if(({Q[tccit_qysds_a107020#19#xmsr]}-{Q[tccit_qysds_a107020#19#xmcb]}-{Q[tccit_qysds_a107020#19#xgsf]}-{Q[tccit_qysds_a107020#19#yftqjfy]}+{Q[tccit_qysds_a107020#19#nstze]})>0,{Q[tccit_qysds_a107020#19#xmsr]}-{Q[tccit_qysds_a107020#19#xmcb]}{Q[tccit_qysds_a107020#19#xgsf]}-{Q[tccit_qysds_a107020#19#yftqjfy]}+{Q[tccit_qysds_a107020#19#nstze]},0),0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1095551566930296832;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095551566930296832,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#jrjgnhxedklxsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#20.金融机构取得的涉农贷款利息收入在计算应纳税所得额时减计收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','jrjgnhxedklxsr',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''2.2'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321113;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321113,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#mrfsjrzc',' ','A101020金融企业收入明细#金额#8.买入返售金融资产','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','mrfsjrzc','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=8 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932971;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932971,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#1#bnkdmse','{Q[前五年度#3.本年允许抵免的专用设备投资额]}*0.1','A107050税额抵免优惠明细表#前五年度#4.本年可抵免税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnkdmse','1',' ','{Q[tccit_qysds_a107050#1#bnyxdmdzysbtze]}*0.1'); 
DELETE FROM t_tctb_formula WHERE FID = 1112324638471403520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112324638471403520,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#9#nstzje',' ','A105120贷款损失准备金及纳税调整明细表#9#11.纳税调整金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','nstzje',' ',' ','{Q[tccit_qysds_a105120_dk#9#bnmsszbjye]} - {Q[tccit_qysds_a105120_dk#9#snmsszbjye]} - {Q[tccit_qysds_a105120_dk#9#dksszbj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135456180622354432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135456180622354432,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#3#qenddme',' ','A107050税额抵免优惠明细表#3#8.前二年度一抵免额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','qenddme',' ',' ','{S[select fqynddme from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''4'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320913;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320913,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#2#yfhdfyje','{Q[3#研发活动费用金额]}+{Q[7#研发活动费用金额]}+{Q[16#研发活动费用金额]}+{Q[19#研发活动费用金额]}+{Q[23#研发活动费用金额]}+{Q[34#研发活动费用金额]}','A107012研发费用加计扣除优惠明细#2#研发活动费用金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','{Q[tccit_qysds_a107012_mx#3#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#7#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#16#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#19#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#23#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#34#yfhdfyje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932752;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932752,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#10#dqtz','{Q[处置收益税收计算处置所得#7.短期投资]}-{Q[处置收益会计确认所得或损失#7.短期投资]}','A105030投资收益纳税调整明细#处置收益纳税调整金额#7.短期投资','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105030','dqtz','1',' ','{Q[tccit_qysds_a105030#9#dqtz]}-{Q[tccit_qysds_a105030#8#dqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932326;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932326,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#10#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#10#2.账载金额本年折旧摊销额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020604'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113725857417094144;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113725857417094144,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#hj',' ','A106000企业所得税弥补亏损明细表#1#9.使用境内所得弥补','1','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','hj',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fsyjnsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}>0) {S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}  #else 0-{S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932178;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932178,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#zj',' ','A105020未按权责发生确实收入调整明细#4#2.租金','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','zj',' ',' ','{S[select ftaxincomecurrent from t_tccit_right_income_sum where FITEMTYPE=''002_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078887018559221760;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078887018559221760,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#39#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#39#5.税收金额-税收折旧、摊销额','1','39','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020606'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932707;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932707,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#jscgtzrgdynsnd','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#221技术成果投资入股递延纳税年度','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','jscgtzrgdynsnd','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1112313107012697088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112313107012697088,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#9#bnmdkye',' ','A105120贷款损失准备金及纳税调整明细表#9#2.本年末贷款资产余额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkye',' ',' ','{S[select fbnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''9'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932661;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932661,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#kqsqdzjlxtxq','{Q[累计税收金额#2.租金]}+{Q[累计税收金额#3.利息]}+{Q[累计税收金额#4.特许权使用费]}','A105020未按权责发生确实收入调整明细#累计税收金额#1.跨期收取的租金、利息、特许权使用费收入','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','kqsqdzjlxtxq','1',' ','{Q[tccit_qysds_a105020#5#zj]}+{Q[tccit_qysds_a105020#5#lx]}+{Q[tccit_qysds_a105020#5#txqsyf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135344554321737728;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135344554321737728,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#17#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#17#研发活动费用金额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=17]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851110;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851110,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#5#nstjje',' ','A105070捐赠支出及纳税调整明细#前二年度#6.纳税调减金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105070','nstjje','1',' ','{S[select fmoney from  t_tccit_dg_b105021_sum where FITEMNO=''14b'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1181080637856057344;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181080637856057344,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#djjnks','{Q[1#6.抵减境内亏损]}','A108000境外所得税收抵免明细表#10#6.抵减境内亏损','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','djjnks',' ',' ','{Q[tccit_qysds_a108000#1#djjnks]}+{Q[tccit_qysds_a108000#2#djjnks]}+{Q[tccit_qysds_a108000#3#djjnks]}+{Q[tccit_qysds_a108000#4#djjnks]}+{Q[tccit_qysds_a108000#5#djjnks]}+{Q[tccit_qysds_a108000#6#djjnks]}+{Q[tccit_qysds_a108000#7#djjnks]}+{Q[tccit_qysds_a108000#8#djjnks]}+{Q[tccit_qysds_a108000#9#djjnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932363;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932363,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#12#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#12#8.税收金额累计折旧、摊销额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje) from t_tccit_zczjtx_summary where FITEMTYPE=''701020608'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932300;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932300,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#3#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#3#4.税收金额资产计税基础','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020102'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321315;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321315,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#gxsf',' ','A104000期间费用明细表#管理费用#20.各项税费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','gxsf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=20 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932609;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932609,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A109000#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#表单名称','3','A109000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462499;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462499,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#3#zzje','{Q[本年#1.账载金额]}','A105070捐赠支出及纳税调整明细#限额扣除的公益性捐赠#1.账载金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105070','zzje','1',' ','{Q[tccit_qysds_a105070#7#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320755;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320755,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#3#nstzje','{Q[3.（二）飞机、火车、轮船、机器、机械和其他生产设备#2.账载金额本年折旧摊销额]}-{Q[3.（二）飞机、火车、轮船、机器、机械和其他生产设备#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#3.二飞机、火车、轮船、机器、机械和其他生产设备#9.纳税调整金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#3#zzjebnzj]}-{Q[tccit_qysds_a105080#3#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095560995641802752;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095560995641802752,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#btzqy',' ','A107011居民企业之间权益性投资收益优惠#7#1.被投资企业','4','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqy',' ',' ','{S[select ftzbdname from t_tccit_dg_b105036_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095579792683614208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095579792683614208,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#btzqsqrjeljwfplryygj',' ','A107011居民企业之间权益性投资收益优惠#6#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeljwfplryygj',' ',' ','{S[select fljwfplr  from t_tccit_dg_b105036_sum where ftranstype=''被投资企业清算'' and fitemno=2  and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069552540414447616;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069552540414447616,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#1#xmmc',' ','A107020所得减免优惠明细表#1#1.项目名称','4','1','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select   fprojectname from t_tccit_getredu_sum where FREDUCENAME in (1064403692599497729,1064416857580229632,1064416857580229633,1064416857580229634,1064416857580229636,1064416857580229637,1064416857580229638,1064416857580229639,1064506234591581184,1064506234591581185,1064506234591581186) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932742;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932742,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#9#cqgqtz','{Q[处置收益税收计算处置收入#6.长期股权投资]}-{Q[处置收益计税基础#6.长期股权投资]}','A105030投资收益纳税调整明细#处置收益税收计算处置所得#6.长期股权投资','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqgqtz','1',' ','{Q[tccit_qysds_a105030#5#cqgqtz]}-{Q[tccit_qysds_a105030#7#cqgqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133306051400156160;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133306051400156160,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#7#fzjgsrze',' ','A109010分支机构信息#7#3.营业收入','1','7','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''7'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932443;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932443,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#22#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#22#5.税收金额-税收折旧、摊销额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020304'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135461106329080832;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135461106329080832,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#1#bnsjdmdgndse',' ','A107050税额抵免优惠明细表#1#11.本年实际抵免的各年度税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse',' ',' ','{S[select t.fbnsjdmdgndse from t_tccit_yh_taxcredit_data t where t.forgid=''#orgid'' and t.fitemno=1]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932130;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932130,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#yyjjyccb',' ','A05010视同销售纳税调整明细#2#14.用于交际应酬视同销售成本','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','yyjjyccb',' ',' ','{Q[tccit_qysds_a105010#1#yyjjyccb]}*-1'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321448;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321448,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#chjstzqrjeyqrgxsd','if({Q[1#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]}>{Q[1#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[1#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[1#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]})','A107011居民企业之间权益性投资收益优惠#1#16.撤回或减少投资确认金额_应确认的股息所得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#1#chjstzqrjeljwfplryygj]}>{Q[tccit_qysds_a107011#1#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#1#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#1#chjstzqrjeljwfplryygj]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1113018547430429696;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113018547430429696,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#14#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#14#1.一般性税务处理账载金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010308'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123709373101902848;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123709373101902848,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#29#xmsr',' ','A107020所得减免优惠明细表#29#4.项目收入','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr',' ',' ','{S[select   fincome  from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114443096503877632;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114443096503877632,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#5#zjlx',' ','A000000主要股东及分红情况#5#2.证件种类','1','5','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx',' ',' ','{S[select h.ffidtype from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=5 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095582528317735936;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095582528317735936,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#chjstzqrjejstzbl',' ','A107011居民企业之间权益性投资收益优惠#7#12.撤回或减少投资确认金额_减少投资比例','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjejstzbl',' ',' ','{S[select fczjstzbl  from t_tccit_dg_b105036_sum where ftranstype=''撤资'' and fitemno=3   and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112223476875265024;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112223476875265024,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#27#bnd',' ','A107041高新技术企业优惠情况及明细表#27#1.本年度','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd',' ',' ','{S[select fcurryear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''13'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932252;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932252,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#4#cqzqtz',' ','A105030投资收益纳税调整明细#4#8.长期债券投资','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqzqtz',' ',' ','{S[select fkjqrczsr from t_tccit_asset_dispose_sum where fitemtype=''6010808'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932438;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932438,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#16#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#16#5.税收金额-税收折旧、摊销额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020201'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320576;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320576,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#4#djjnkshjwyne','{Q[4#5.境外应纳税所得额]}-{Q[4#6.抵减境内亏损]}','A108000境外所得税收抵免明细表#4#7.抵减境内亏损后的境外应纳税所得额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108000','djjnkshjwyne','1',' ','{Q[tccit_qysds_a108000#4#jwynssde]}-{Q[tccit_qysds_a108000#4#djjnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112222163596739584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112222163596739584,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#21#bnd',' ','A107041高新技术企业优惠情况及明细表#21#1.本年度','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd',' ',' ','{S[select fcurryear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''7'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112217626685210624;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112217626685210624,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#8#hj',' ','A107041高新技术企业优惠情况及明细表#8#4.合计','1','8','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{S[select fincomeamount from t_tccit_a301010201_income where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fincometype=''5'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932319;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932319,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#10#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#10#1.账载金额资产原值','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020604'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932323;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932323,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#14#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#14#1.账载金额资产原值','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020610'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932402;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932402,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#16#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#16#3.账载金额累计折旧、摊销额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020201'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320831;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320831,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#11#nstzje','{Q[11.无形资产被替代或超过法律保护期限形成的损失#1.资产损失的账载金额]}-{Q[11.无形资产被替代或超过法律保护期限形成的损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#11.无形资产被替代或超过法律保护期限形成的损失#6.纳税调整金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#11#zzje]}+{Q[tccit_qysds_a105090#11#zchxje]}-{Q[tccit_qysds_a105090#11#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932274;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932274,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#7#cyzdqtz',' ','A105030投资收益纳税调整明细#7#3.持有至到期投资','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105030','cyzdqtz',' ',' ','{S[select fczzcjsjc from t_tccit_asset_dispose_sum where fitemtype=''6010803'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320920;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320920,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#35#yfhdfyje','{Q[36#研发活动费用金额]}+{Q[37#研发活动费用金额]}+{Q[39#研发活动费用金额]}','A107012研发费用加计扣除优惠明细#35#研发活动费用金额','1','35','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','{Q[tccit_qysds_a107012_mx#36#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#37#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#39#yfhdfyje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071734637296130048;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071734637296130048,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#21#jbxmsde',' ','A107020所得减免优惠明细表#21#10.减半项目所得额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','{Q[tccit_qysds_a107020#19#jbxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932490;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932490,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#5#zzje',' ','A105090资产损失税前扣除及纳税调整明细#5#1.资产损失的账载金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype in (''701030301'',''701030302'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932484;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932484,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#3#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#3#3.赔偿收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''701030201'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932760;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932760,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#11#dqtz','{Q[持有收益纳税调整金额#7.短期投资]}+{Q[处置收益纳税调整金额#7.短期投资]}','A105030投资收益纳税调整明细#纳税调整金额#7.短期投资','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105030','dqtz','1',' ','{Q[tccit_qysds_a105030#3#dqtz]}+{Q[tccit_qysds_a105030#10#dqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932428;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932428,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#25#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#25#4.税收金额资产计税基础','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020307'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320651;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320651,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#4#jwsdtzhsd','{Q[4#14.境外税前所得]}+{Q[4#15.境外分支机构收入与支出纳税调整额]}-{Q[4#16.境外分支机构调整分摊扣除的有关成本费用]}-{Q[4#17.境外所得对应调整的相关成本费用支出]}','A108010境外所得纳税调整后所得明细表#4#18.境外所得纳税调整后所得','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdtzhsd','1',' ','{Q[tccit_qysds_a108010#4#jwsqsd]}+{Q[tccit_qysds_a108010#4#jwfzsrzctze]}-{Q[tccit_qysds_a108010#4#jwfztzftkccbfy]}-{Q[tccit_qysds_a108010#4#jwsdtzcbfyzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320813;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320813,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#22#ssje','{Q[22.（二）非金融企业债权性投资损失#4.资产计税基础]}-{Q[22.（二）非金融企业债权性投资损失#2.资产处置收入]}-{Q[22.（二）非金融企业债权性投资损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#22.二非金融企业债权性投资损失#5.资产损失的税收金额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#22#zcjsjc]}-{Q[tccit_qysds_a105090#22#zcczsr]}-{Q[tccit_qysds_a105090#22#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114482811445706752;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114482811445706752,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#10#zjlx','[{"val":"","text":""},{"val":"1","text":"居民身份证"},{"val":"2","text":"中国护照"},{"val":"3","text":"税务登记证"},{"val":"4","text":"营业执照"},{"val":"5","text":"组织机构代码证"},{"val":"6","text":"其他单位证件"},{"val":"7","text":"香港特别行政区护照"},{"val":"8","text":"澳门特别行政区护照"},{"val":"9","text":"港澳居民来往内地通行证"},{"val":"10","text":"中华人民共和国往来港澳通行证"},{"val":"11","text":"台湾居民来往大陆通行证"},{"val":"12","text":"大陆居民往来台湾通行证"},{"val":"13","text":"香港永久性居民身份证"},{"val":"14","text":"台湾身份证"},{"val":"15","text":"澳门特别行政区永久性居民身份证"},{"val":"16","text":"外国护照"},{"val":"17","text":"外国人身份证件"},{"val":"18","text":"其他个人证件"}]','A000000主要股东及分红情况#10#2.证件种类','3','10','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321516;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321516,{ts'2021-06-29  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#gzxjzc','{Q[实际发生额#1.工资薪金支出]}','A105050职工薪酬支出明细#税收金额#1.工资薪金支出','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','gzxjzc','1',' ','{S[SELECT ftaxamount FROM t_tccit_salary_summary_dg WHERE fitemtype=''salarystock'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1296956631598257152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1296956631598257152,{ts'2021-11-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#sjfsdyysj',' ',' ','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','sjfsdyysj',' ',' ','{S[select sum(famount) from t_tccit_dg_b105093tz_sum where fitemno=''4'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133324003700877312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133324003700877312,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#zjgsjynsdse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#1.总机构实际应纳所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','zjgsjynsdse',' ',' ','{Q[tccit_qysds_a100000#1#sjynsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321508;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321508,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#8#bnkdmjwsdse','if({Q[8#10.境外所得可抵免税额]}>={Q[8#11.境外所得抵免限额]},)','A108000境外所得税收抵免明细表#8#12.本年可抵免境外所得税额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108000','bnkdmjwsdse','1',' ','if({Q[tccit_qysds_a108000#8#jwsdkdmse1]}>={Q[tccit_qysds_a108000#8#jwsddmxe]},{Q[tccit_qysds_a108000#8#jwsddmxe]},{Q[tccit_qysds_a108000#8#jwsdkdmse1]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321003;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321003,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#17#je','{Q[16.适用领域的销售（营业）收入#2.金额]}/{Q[11.符合条件的销售（营业）收入#2.金额]}','A107042软件、集成电路企业优惠情况及明细表#17.领域内的销售收入占符合条件的销售收入的比例#2.金额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a107042','je','1',' ','{Q[tccit_qysds_a107042#16#je]}/{Q[tccit_qysds_a107042#11#je]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320684;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320684,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#7#bnxj','{Q[7#8.本年实际抵免以前年度未抵免的境外已缴所得税额_前五年]}+{Q[7#9.本年实际抵免以前年度未抵免的境外已缴所得税额_前四年]}+{Q[7#10.本年实际抵免以前年度未抵免的境外已缴所得税额_前三年]}+{Q[7#11.本年实际抵免以前年度未抵免的境外已缴所得税额_前二年]}+{Q[7#12.本年实际抵免以前年度未抵免的境外已缴所得税额_前一年]}','A108030跨年度结转抵免境外所得税明细表#7#13.本年实际抵免以前年度未抵免的境外已缴所得税额_小计','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108030','bnxj','1',' ','{Q[tccit_qysds_a108030#7#bnqwn]}+{Q[tccit_qysds_a108030#7#bnqsin]}+{Q[tccit_qysds_a108030#7#bnqsann]}+{Q[tccit_qysds_a108030#7#bnqln]}+{Q[tccit_qysds_a108030#7#bnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075562026415;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075562026415,{ts'2021-07-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#cwfy','{Q[财务费用#26.合计]}','A100000年度纳税申报表#金额#6.财务费用','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','cwfy','1',' ','if({Q[tccit_qysds_a104000#5#hj]}!=0,{Q[tccit_qysds_a104000#5#hj]},{S[select famount from t_tccit_dg_a100000_1_sum where fitemtype =''001_05'' and forgid = ''#orgid'' and fskssqq =''#startDate'' and fskssqz =''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1112226860839732224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112226860839732224,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#19#qynd',' ','A107041高新技术企业优惠情况及明细表#19#2.前一年度','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd',' ',' ','{S[select fpreoneyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''5'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077461406279843840;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077461406279843840,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#12#ssje','{Q[全额扣除的公益性捐赠-2#1.账载金额]}','A105070捐赠支出及纳税调整明细#12#4.税收金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105070','ssje',' ',' ','{Q[tccit_qysds_a105070#12#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320865;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320865,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#39#ssje','{Q[40.（一）贷款损失准备金#2.税收金额]}+{Q[41.（二）其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#39.六、小额贷款公司40+41#2.税收金额','1','39','1066581598406760448','qysdsnb','tccit_qysds_a105120','ssje','1',' ','{Q[tccit_qysds_a105120#40#ssje]}+{Q[tccit_qysds_a105120#41#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320867;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320867,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#2#nstzje','{Q[2.（一）保险保障基金#1.账载金额]}-{Q[2.（一）保险保障基金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#2.一保险保障基金#3.纳税调整金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#2#zzje]}-{Q[tccit_qysds_a105120#2#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1181086064320743424;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181086064320743424,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#jyjsxj','{Q[1#18.按简易办法计算_小计]}','A108000境外所得税收抵免明细表#10#18.按简易办法计算_小计','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsxj',' ',' ','{Q[tccit_qysds_a108000#1#jyjsxj]}+{Q[tccit_qysds_a108000#2#jyjsxj]}+{Q[tccit_qysds_a108000#3#jyjsxj]}+{Q[tccit_qysds_a108000#4#jyjsxj]}+{Q[tccit_qysds_a108000#5#jyjsxj]}+{Q[tccit_qysds_a108000#6#jyjsxj]}+{Q[tccit_qysds_a108000#7#jyjsxj]}+{Q[tccit_qysds_a108000#8#jyjsxj]}+{Q[tccit_qysds_a108000#9#jyjsxj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320683;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320683,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#6#bnxj','{Q[6#8.本年实际抵免以前年度未抵免的境外已缴所得税额_前五年]}+{Q[6#9.本年实际抵免以前年度未抵免的境外已缴所得税额_前四年]}+{Q[6#10.本年实际抵免以前年度未抵免的境外已缴所得税额_前三年]}+{Q[6#11.本年实际抵免以前年度未抵免的境外已缴所得税额_前二年]}+{Q[6#12.本年实际抵免以前年度未抵免的境外已缴所得税额_前一年]}','A108030跨年度结转抵免境外所得税明细表#6#13.本年实际抵免以前年度未抵免的境外已缴所得税额_小计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108030','bnxj','1',' ','{Q[tccit_qysds_a108030#6#bnqwn]}+{Q[tccit_qysds_a108030#6#bnqsin]}+{Q[tccit_qysds_a108030#6#bnqsann]}+{Q[tccit_qysds_a108030#6#bnqln]}+{Q[tccit_qysds_a108030#6#bnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320650;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320650,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#3#jwsdtzhsd','{Q[3#14.境外税前所得]}+{Q[3#15.境外分支机构收入与支出纳税调整额]}-{Q[3#16.境外分支机构调整分摊扣除的有关成本费用]}-{Q[3#17.境外所得对应调整的相关成本费用支出]}','A108010境外所得纳税调整后所得明细表#3#18.境外所得纳税调整后所得','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdtzhsd','1',' ','{Q[tccit_qysds_a108010#3#jwsqsd]}+{Q[tccit_qysds_a108010#3#jwfzsrzctze]}-{Q[tccit_qysds_a108010#3#jwfztzftkccbfy]}-{Q[tccit_qysds_a108010#3#jwsdtzcbfyzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321522;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321522,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#2#zxgxjsqy','{P[创业投资企业抵减应纳税所得比例]}','A107030抵扣应纳税所得额明细表#2#2.投资于未上市中小高新技术企业','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107030','zxgxjsqy','1',' ','{P[CTQYDJ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321511;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321511,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107011#tabname',' ','企业所得税年度纳税申报表填报表#A107011符合条件的居民企业之间的股息、红利等权益性投资收益优惠明细表#表单名称','1','A107011','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A107011'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932532;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932532,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#15#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#15#3.赔偿收入','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''701030701'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071739420371358720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071739420371358720,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#25#xgsf',' ','A107020所得减免优惠明细表#25#6.相关税费','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf',' ',' ','{S[select   frelaxtax from t_tccit_getredu_sum where FREDUCENAME=1119525021539512320 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071737127521522688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071737127521522688,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#24#jbxmsde',' ','A107020所得减免优惠明细表#24#10.减半项目所得额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','{Q[tccit_qysds_a107020#22#jbxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320898;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320898,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#33#nstzje','{Q[33.（二）贷款损失准备金#1.账载金额]}-{Q[33.（二）贷款损失准备金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#33.二贷款损失准备金#3.纳税调整金额','1','33','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#33#zzje]}-{Q[tccit_qysds_a105120#33#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321275;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321275,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#yjfy',' ','A104000期间费用明细表#销售费用#19.研究费用','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','yjfy','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=19 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932138;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932138,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#yysctgsr',' ','A05010视同销售纳税调整明细#1#3.用于市场推广或销售视同销售收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','yysctgsr',' ',' ','{S[select sum(fincome) from t_tccit_thinkofsell_sum where FITEMTYPE=''50101'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095561858879897600;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095561858879897600,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#btzqyshxydm',' ','A107011居民企业之间权益性投资收益优惠#5#2.被投资企业统一社会信用代码纳税人识别号','4','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqyshxydm',' ',' ','{S[select ftaxpayerid from t_tccit_dg_b105036_sum where fitemno=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321223;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321223,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#lxzc','if({Q[账载金额#18.利息支出]}-{Q[税收金额#18.利息支出]}<,)','A105000纳税调整项目明细#调减金额#18.利息支出','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','lxzc','1',' ','if({Q[tccit_qysds_a105000#1#lxzc]}-{Q[tccit_qysds_a105000#2#lxzc]}<0,0-({Q[tccit_qysds_a105000#1#lxzc]}-{Q[tccit_qysds_a105000#2#lxzc]}),0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932358;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932358,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#14#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#14#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020610'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321302;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321302,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#dshf',' ','A104000期间费用明细表#管理费用#10.董事会费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','dshf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=10 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133300237893485568;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133300237893485568,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#10#fzjgmc',' ','A109010分支机构信息#10#2.分支机构名称','4','10','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''10'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112228193655324672;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112228193655324672,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#26#qynd',' ','A107041高新技术企业优惠情况及明细表#26#2.前一年度','1','26','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd',' ',' ','{S[select fpreoneyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''12'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932334;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932334,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#11#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#11#3.账载金额累计折旧、摊销额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020607'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932896;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932896,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105110#1#bqfyzc','{Q[金额#11.安置职工实际发生的费用]}+{Q[金额#12.停工期间支付给职工的工资及福利费]}+{Q[金额#13.临时存放搬迁资产而发生的费用]}+{Q[金额#14.各类资产搬迁安装费用]}+{Q[金额#15.其他与搬迁相关的费用]}','A105110政策性搬迁纳税调整明细表#金额#10.搬迁费用支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105110','bqfyzc','1',' ','{Q[tccit_qysds_a105110#1#azzgsjfsdfy]}+{Q[tccit_qysds_a105110#1#tgqjzfgzgdgzfl]}+{Q[tccit_qysds_a105110#1#lscfbqzcefsdfy]}+{Q[tccit_qysds_a105110#1#glzcbqazfy]}+{Q[tccit_qysds_a105110#1#qtybqxgfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932689;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932689,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#qtwaqzfszqrsr','{Q[本年税收金额#13.其他未按权责发生制确认收入]}-{Q[本年账载金额#13.其他未按权责发生制确认收入]}','A105020未按权责发生确实收入调整明细#纳税调整金额#13.其他未按权责发生制确认收入','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','qtwaqzfszqrsr','1',' ','{Q[tccit_qysds_a105020#4#qtwaqzfszqrsr]}-{Q[tccit_qysds_a105020#2#qtwaqzfszqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932549;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932549,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#21#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#21#4.资产计税基础','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''70103080105'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932348;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932348,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#11#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#11#5.税收金额-税收折旧、摊销额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020607'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321152,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#czwxzccb',' ','A102010一般企业成本支出明细#金额#13.出租无形资产成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','czwxzccb','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=13 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113777945069305856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113777945069305856,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#qsndynbe',' ','A106000企业所得税弥补亏损明细表#6#6.弥补亏损企业类型','4','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and flosstype=''jnsd'']}>0)       {S[select fnumber  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and flosstype=''jnsd'']}    #else  {S[SELECT fqsndynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320788;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320788,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#28#zzje','{Q[1.一、现金及银行存款损失#1.资产损失的账载金额]}+{Q[2.二、应收及预付款项坏账损失#1.资产损失的账载金额]}+{Q[5.三、存货损失#1.资产损失的账载金额]}+{Q[7.四、固定资产损失#1.资产损失的账载金额]}+{Q[9.五、无形资产损失#1.资产损失的账载金额]}+{Q[12.六、在建工程损失#1.资产损失的账载金额]}+{Q[14.七、生产性生物资产损失#1.资产损失的账载金额]}+{Q[16.八、债权性投资损失#1.资产损失的账载金额]}+{Q[23.九、股权（权益）性投资损失#1.资产损失的账载金额]}+{Q[25.十、通过各种交易场所、市场买卖债券、股票、期货、基金以及金融衍生产品等发生的损失#1.资产损失的账载金额]}+{Q[26.十一、打包出售资产损失#1.资产损失的账载金额]}+{Q[27.十二、其他资产损失#1.资产损失的账载金额]}','A105090资产损失税前扣除及纳税调整明细#28.合计#1.资产损失的账载金额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje','1',' ','{Q[tccit_qysds_a105090#1#zzje]}+{Q[tccit_qysds_a105090#2#zzje]}+{Q[tccit_qysds_a105090#5#zzje]}+{Q[tccit_qysds_a105090#7#zzje]}+{Q[tccit_qysds_a105090#9#zzje]}+{Q[tccit_qysds_a105090#12#zzje]}+{Q[tccit_qysds_a105090#14#zzje]}+{Q[tccit_qysds_a105090#16#zzje]}+{Q[tccit_qysds_a105090#23#zzje]}+{Q[tccit_qysds_a105090#25#zzje]}+{Q[tccit_qysds_a105090#26#zzje]}+{Q[tccit_qysds_a105090#27#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320817;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320817,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#26#ssje','{Q[26.十一、打包出售资产损失#4.资产计税基础]}-{Q[26.十一、打包出售资产损失#2.资产处置收入]}-{Q[26.十一、打包出售资产损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#26.十一、打包出售资产损失#5.资产损失的税收金额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#26#zcjsjc]}-{Q[tccit_qysds_a105090#26#zcczsr]}-{Q[tccit_qysds_a105090#26#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135344138078970880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135344138078970880,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#12#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#12#研发活动费用金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=12]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095563512886902784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095563512886902784,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#tzcb',' ','A107011居民企业之间权益性投资收益优惠#2#4.投资成本','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzcb',' ',' ','{S[select fincost from t_tccit_dg_b105037_sum where flabel=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932212;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932212,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#1#jyxjrzc',' ','A105030投资收益纳税调整明细#1#1.交易性金融资产','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrzc',' ',' ','{S[select fzzje from t_tccit_invest_profit_sum where fitemtype=''6010401'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323850847;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323850847,{ts'2021-07-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#yylr','{Q[金额#1.营业收入]}-{Q[金额#2.营业成本]}-{Q[金额#3.营业税金及附加]}-{Q[金额#4.销售费用]}-{Q[金额#5.管理费用]}-{Q[金额#6.财务费用]}-{Q[金额#7.资产减值损失]}+{Q[金额#8.公允价值变动收益]}+{Q[金额#9.投资收益]}','A100000年度纳税申报表#金额#10.营业利润','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','yylr','1',' ','if({Q[tccit_qysds_a100000#1#yysr]}-{Q[tccit_qysds_a100000#1#yycb]}-{Q[tccit_qysds_a100000#1#yysjfj]}-{Q[tccit_qysds_a100000#1#xsfy]}-{Q[tccit_qysds_a100000#1#glfy]}-{Q[tccit_qysds_a100000#1#cwfy]}-{Q[tccit_qysds_a100000#1#zcjzss]}+{Q[tccit_qysds_a100000#1#gyjzbdsy]}+{Q[tccit_qysds_a100000#1#tzsy]}!=0,{Q[tccit_qysds_a100000#1#yysr]}-{Q[tccit_qysds_a100000#1#yycb]}-{Q[tccit_qysds_a100000#1#yysjfj]}-{Q[tccit_qysds_a100000#1#xsfy]}-{Q[tccit_qysds_a100000#1#glfy]}-{Q[tccit_qysds_a100000#1#cwfy]}-{Q[tccit_qysds_a100000#1#zcjzss]}+{Q[tccit_qysds_a100000#1#gyjzbdsy]}+{Q[tccit_qysds_a100000#1#tzsy]},{S[select famount from t_tccit_dg_a100000_1_sum where fitemtype =''002'' and forgid = ''#orgid'' and fskssqq =''#startDate'' and fskssqz =''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320656;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320656,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#9#jwsdtzhsd','{Q[9#14.境外税前所得]}+{Q[9#15.境外分支机构收入与支出纳税调整额]}-{Q[9#16.境外分支机构调整分摊扣除的有关成本费用]}-{Q[9#17.境外所得对应调整的相关成本费用支出]}','A108010境外所得纳税调整后所得明细表#9#18.境外所得纳税调整后所得','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdtzhsd','1',' ','{Q[tccit_qysds_a108010#9#jwsqsd]}+{Q[tccit_qysds_a108010#9#jwfzsrzctze]}-{Q[tccit_qysds_a108010#9#jwfztzftkccbfy]}-{Q[tccit_qysds_a108010#9#jwsdtzcbfyzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932531;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932531,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#15#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#15#2.资产处置收入','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''701030701'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320819;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320819,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#28#ssje','{Q[28.合计#4.资产计税基础]}-{Q[28.合计#2.资产处置收入]}-{Q[28.合计#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#28.合计#5.资产损失的税收金额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#28#zcjsjc]}-{Q[tccit_qysds_a105090#28#zcczsr]}-{Q[tccit_qysds_a105090#28#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932283;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932283,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#4#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#4#1.账载金额资产原值','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020103'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133309277801399296;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133309277801399296,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#9#fzjgzcze',' ','A109010分支机构信息#9#5.资产总额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''9'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071713208563439616;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071713208563439616,{ts'2021-02-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#7#msxmsde',' ','A107020所得减免优惠明细表#7#9.免税项目所得额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#7#yhfs]}''==''免税'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1064510411371678720,1064510411371678721,1064510411371678722,1064510411371678723,1064510411371678724,1064510411371678725) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1064510411371678720,1064510411371678721,1064510411371678722,1064510411371678723,1064510411371678724,1064510411371678725) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end  '); 
DELETE FROM t_tctb_formula WHERE FID = 1112311686762642432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112311686762642432,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#4#jszbje',' ','A105120贷款损失准备金及纳税调整明细表#4#8.按本年末准予提取贷款资产余额与计提比例计算的准备金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jszbje',' ',' ','{Q[tccit_qysds_a105120_dk#4#bnmdkzcye]} * {Q[tccit_qysds_a105120_dk#4#jtbl]}/100'); 
DELETE FROM t_tctb_formula WHERE FID = 1135418750275971072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135418750275971072,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#4#nd',' ','A107050税额抵免优惠明细表#4#1.年度','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','nd',' ',' ','{C[#declareyear-2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337834;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337834,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#18#yftqjfy','{Q[16.六、符合条件的节能服务公司实施的合同能源管理项目#7.应分摊期间费用]}+{Q[17.六、符合条件的节能服务公司实施的合同能源管理项目#7.应分摊期间费用]}','A107020所得减免优惠明细表#18.六、符合条件的节能服务公司实施的合同能源管理项目小计#7.应分摊期间费用','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy','1',' ','{Q[tccit_qysds_a107020#16#yftqjfy]}+{Q[tccit_qysds_a107020#17#yftqjfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932629;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932629,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#yywsr','{Q[金额#36.非流动资产处置利得]}+{Q[金额#37.非货币性资产交换利得]}+{Q[金额#38.债务重组利得]}+{Q[金额#39.政府补助利得]}+{Q[金额#40.盘盈利得]}+{Q[金额#41.捐赠利得]}+{Q[金额#42.营业外收其他]}','A101020金融企业收入明细#金额#35.营业外收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','yywsr','1',' ','{Q[tccit_qysds_a101020#1#fldzcczld]}+{Q[tccit_qysds_a101020#1#fhbxzcjhld]}+{Q[tccit_qysds_a101020#1#zwczld]}+{Q[tccit_qysds_a101020#1#zfbzld]}+{Q[tccit_qysds_a101020#1#pyld]}+{Q[tccit_qysds_a101020#1#jzld]}+{Q[tccit_qysds_a101020#1#yywsrqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113738300037842944;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113738300037842944,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#14#qend',' ','A105040专项用途财政性资金纳税调整明细#14#4.前二年度','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105040','qend',' ',' ','{S[SELECT sum(e.FINCLUDEDTAXAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-2 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932177;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932177,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#zj',' ','A105020未按权责发生确实收入调整明细#3#2.租金','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','zj',' ',' ','{S[select fzzjesum from t_tccit_right_income_sum where FITEMTYPE=''002_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851105;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851105,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#7#assgdjsdkcxe',' ','A105070捐赠支出及纳税调整明细#本年#3.按税收规定计算的扣除限额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105070','assgdjsdkcxe','1',' ','if({Q[tccit_qysds_a100000#1#lrze]}>0,{Q[tccit_qysds_a100000#1#lrze]}*0.12,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932254;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932254,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#6#jyxjrzc',' ','A105030投资收益纳税调整明细#6#1.交易性金融资产','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrzc',' ',' ','{S[select fczzczmjz from t_tccit_asset_dispose_sum where fitemtype=''6010801'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1131165769816956928;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1131165769816956928,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#11#hjje',' ','A107030抵扣应纳税所得额明细表#11#1.合计金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje',' ',' ','{S[select  fhjjecurrent  from t_tccit_dg_a100000_7_sum where fitemno=''5'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114478650771637248;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114478650771637248,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#2#zjlx','[{"val":"","text":""},{"val":"1","text":"居民身份证"},{"val":"2","text":"中国护照"},{"val":"3","text":"税务登记证"},{"val":"4","text":"营业执照"},{"val":"5","text":"组织机构代码证"},{"val":"6","text":"其他单位证件"},{"val":"7","text":"香港特别行政区护照"},{"val":"8","text":"澳门特别行政区护照"},{"val":"9","text":"港澳居民来往内地通行证"},{"val":"10","text":"中华人民共和国往来港澳通行证"},{"val":"11","text":"台湾居民来往大陆通行证"},{"val":"12","text":"大陆居民往来台湾通行证"},{"val":"13","text":"香港永久性居民身份证"},{"val":"14","text":"台湾身份证"},{"val":"15","text":"澳门特别行政区永久性居民身份证"},{"val":"16","text":"外国护照"},{"val":"17","text":"外国人身份证件"},{"val":"18","text":"其他个人证件"}]','A000000主要股东及分红情况#2#2.证件种类','3','2','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1139861345227796480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1139861345227796480,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#58#hj',' ','A107040减免所得税优惠明细表#58#1.金额','1','58','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ','{S[select famountorratio from t_tccit_setz_jmyhhz where forgid=''#orgid'' and FSKSSQQ = ''#startDate'' and FSKSSQZ=''#endDate'' and fitemtype = ''6.6'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321107;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321107,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#hzly',' ','A101010一般企业收入明细表#金额#25.汇兑收益','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','hzly','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=25 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932418;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932418,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#34#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#34#3.账载金额累计折旧、摊销额','1','34','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020501'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321116;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321116,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#dlywfy',' ','A101020金融企业收入明细#金额#12.代理业务手续费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','dlywfy','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=12 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321247;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321247,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#fcss',' ','A102020金融企业支出明细#金额#38.非常损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','fcss','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=38 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932342;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932342,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#12#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#12#4.税收金额资产计税基础','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020608'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321065;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321065,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#waqzfszyzqrdsr','{Q[本年账载金额#14.合计]}','A105000纳税调整项目明细#账载金额#3.未按权责发生制原则确认的收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','waqzfszyzqrdsr','1',' ','{Q[tccit_qysds_a105020#2#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932307;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932307,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#4#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#4#5.税收金额-税收折旧、摊销额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020103'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932469;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932469,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#32#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#32#8.税收金额累计折旧、摊销额','1','32','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020404'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932822;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932822,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#2#ybnstzje','{Q[2#2.一般性税务处理税收金额]}-{Q[2#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#2#3.一般性税务处理纳税调整金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#2#ybssje]}-{Q[tccit_qysds_a105100#2#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114449010522850304;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114449010522850304,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#9#tzbl',' ','A000000主要股东及分红情况#9#3.投资比例（%）','1','9','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','tzbl',' ',' ','{S[select h.finvestrate from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=9 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320909;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320909,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#jjsr','{Q[金额#18.综合利用资源生产产品取得的收入]}+{Q[金额#19.金融、保险等机构取得的涉农利息、保费收入]}+{Q[金额#23.取得铁路债券利息收入减半征收企业所得税]}+{Q[金额#24.其他减计收入]}','A107010免税减计收入及加计扣除优惠明细表#金额#17.减计收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','jjsr','1',' ','{Q[tccit_qysds_a107010#1#lyzysccp]}+{Q[tccit_qysds_a107010#1#snlxbfsr]}+{Q[tccit_qysds_a107010#1#zqlxsr]}+{Q[tccit_qysds_a107010#1#qtjjsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113596812985578496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113596812985578496,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#knbkssd',' ','A106000企业所得税弥补亏损明细表#1#2.当年境内所得额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','knbkssd',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']}>0)     {S[select FLOSSMONEY from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']} #else     {S[SELECT fknbkssd FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']} #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932871;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932871,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#jsxjxfwqylx','[{"val":"","text":""},{"val":"110","text":"信息技术外包服务（ITO）"}, {"val":"120","text":"技术性业务流程外包服务（BPO）"}, {"val":"130","text":"技术性知识流程外包服务（KPO）"}, {"val":"210","text":"计算机和信息服务"}, {"val":"220","text":"研究开发和技术服务"}, {"val":"230","text":"文化技术服务"}, {"val":"240","text":"中医药医疗服务"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#206技术先进型服务企业类型','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','jsxjxfwqylx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1203704437630228480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704437630228480,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#49#hj',' ','A107040减免所得税优惠明细表#49#1.金额','1','49','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320658;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320658,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108020#1#jzhndmbfsjkse','{Q[1#2.非实际亏损额的弥补以前年度结转尚未弥补的非实际亏损额]}+{Q[1#3.非实际亏损额的弥补本年发生的非实际亏损额]}-{Q[1#4.非实际亏损额的弥补本年弥补的以前年度非实际亏损额]}','A108020境外分支机构弥补亏损明细表#1#5.非实际亏损额的弥补结转以后年度弥补的非实际亏损额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108020','jzhndmbfsjkse','1',' ','{Q[tccit_qysds_a108020#1#yqndjzwmbfsjkse]}+{Q[tccit_qysds_a108020#1#bnfsfsjkse]}-{Q[tccit_qysds_a108020#1#bnmbyqfsjkse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931980;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931980,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#jmqycycxqy','{Q[创新企业CDR#17.合计]}','A107010免税减计收入及加计扣除优惠明细表#1#3.4.居民企业持有创新企业CDR取得的股息红利所得免征企业','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','jmqycycxqy',' ',' ','{Q[tccit_qysds_a107011#12#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114452051745914880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114452051745914880,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#sjnbe',' ','A106000企业所得税弥补亏损明细表#10#10.使用境外所得弥补','1','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','sjnbe',' ',' ','{S[select sum(fsyjwsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320756;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320756,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#4#nstzje','{Q[4.（三）与生产经营活动有关的器具、工具、家具等#2.账载金额本年折旧摊销额]}-{Q[4.（三）与生产经营活动有关的器具、工具、家具等#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#4.三与生产经营活动有关的器具、工具、家具等#9.纳税调整金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#4#zzjebnzj]}-{Q[tccit_qysds_a105080#4#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321358;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321358,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#qtfy',' ','A103000事业单位支出明细#金额#28.其他费用','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','qtfy','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=28 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321445;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321445,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#btzqsqrjeyqrgxsd','if({Q[5#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]}>{Q[5#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]},{Q[5#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]},{Q[5#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]})','A107011居民企业之间权益性投资收益优惠#5#10.被投资企业清算确认金额_应确认的股息所得','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#5#btzqsqrjeqssyzc]}>{Q[tccit_qysds_a107011#5#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#5#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#5#btzqsqrjeqssyzc]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321396;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321396,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#ghjfzc',' ','A105050职工薪酬支出明细#税收金额#7.工会经费支出','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','ghjfzc','1',' ','#if({Q[tccit_qysds_a105050#1#ghjfzc]}>{Q[tccit_qysds_a105050#2#ghjfzc]}) #if({Q[tccit_qysds_a105050#2#ghjfzc]}>({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#ghjfzc]})) ({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#ghjfzc]}) #else  {Q[tccit_qysds_a105050#2#ghjfzc]}  #end #else   #if({Q[tccit_qysds_a105050#1#ghjfzc]}>({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#ghjfzc]}))  ({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#ghjfzc]})  #else {Q[tccit_qysds_a105050#1#ghjfzc]} #end #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1078904976513740800;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078904976513740800,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#41#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#41#8.税收金额累计折旧、摊销额','1','41','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020613'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321403;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321403,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#yqndljjzkce',' ','A105060广告业务宣传费跨年纳税调整明细#金额#8.加：以前年度累计结转扣除额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','yqndljjzkce','1',' ','{S[SELECT FMONEY FROM t_tccit_advert_script WHERE FITEMNO=''12'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135409921123476480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135409921123476480,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#41#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#41#研发活动费用金额','1','41','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=41]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1181079890405918720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181079890405918720,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#mbjwyqnks','{Q[1#4.弥补境外以前年度亏损]}','A108000境外所得税收抵免明细表#10#4.弥补境外以前年度亏损','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','mbjwyqnks',' ',' ','{Q[tccit_qysds_a108000#1#mbjwyqnks]}+{Q[tccit_qysds_a108000#2#mbjwyqnks]}+{Q[tccit_qysds_a108000#3#mbjwyqnks]}+{Q[tccit_qysds_a108000#4#mbjwyqnks]}+{Q[tccit_qysds_a108000#5#mbjwyqnks]}+{Q[tccit_qysds_a108000#6#mbjwyqnks]}+{Q[tccit_qysds_a108000#7#mbjwyqnks]}+{Q[tccit_qysds_a108000#8#mbjwyqnks]}+{Q[tccit_qysds_a108000#9#mbjwyqnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113729469425699840;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113729469425699840,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#10#qwnd',' ','A105040专项用途财政性资金纳税调整明细#10#1.前五年度','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','{S[SELECT sum(e.FPAYAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-5 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320598;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320598,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#8#wcgjwdmxeye','{Q[8#11.境外所得抵免限额]}-{Q[8#12.本年可抵免境外所得税额]}','A108000境外所得税收抵免明细表#8#13.未超过境外所得税抵免限额的余额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108000','wcgjwdmxeye','1',' ','{Q[tccit_qysds_a108000#8#jwsddmxe]}-{Q[tccit_qysds_a108000#8#bnkdmjwsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932618;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932618,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#3#ynssde','{Q[3#19.纳税调整后所得]}-{Q[3#20.减：所得减免]}-{Q[3#21.抵扣应纳税所得额]}-{Q[3#22.弥补以前年度亏损]}','A100000年度纳税申报表#3#23.应纳税所得额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a100000','ynssde','1',' ','{Q[tccit_qysds_a100000#3#nstzhsd]}-{Q[tccit_qysds_a100000#3#sdjm]}-{Q[tccit_qysds_a100000#3#dkynssde]}-{Q[tccit_qysds_a100000#3#mbyqndks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932273;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932273,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#7#kgcsjrzc',' ','A105030投资收益纳税调整明细#7#2.可供出售金融资','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105030','kgcsjrzc',' ',' ','{S[select fczzcjsjc from t_tccit_asset_dispose_sum where fitemtype=''6010802'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931971;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931971,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#2#bnjsggfhywxcfkcedxssr','纳税申报第三步所得调整——保险企业佣金手续费底稿 第6行“保费收入”-第7行“退保金额”','A105060广告业务宣传费跨年纳税调整明细#2#4.本年计算扣除限额的基数','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105060','bnjsggfhywxcfkcedxssr',' ',' ','{S[select famount from t_tccit_insurance_summary where fitemtype=''income_amount'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}-{S[select famount from t_tccit_insurance_summary where fitemtype=''surrender'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321119;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321119,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#gwhzxf',' ','A101020金融企业收入明细#金额#15.顾问和咨询费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','gwhzxf','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=15 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338358;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338358,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#20#jmsde','if({Q[20.七、线宽小于131纳米的集成电路生产项目#9.免税项目所得额]}+{Q[20.七、线宽小于131纳米的集成电路生产项目#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#20.七、线宽小于131纳米的集成电路生产项目#11.减免所得额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#20#msxmsde]}+{Q[tccit_qysds_a107020#20#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#20#msxmsde]}+{Q[tccit_qysds_a107020#20#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1112227923005276160;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112227923005276160,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#24#qynd',' ','A107041高新技术企业优惠情况及明细表#24#2.前一年度','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd',' ',' ','{S[select fpreoneyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''10'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321335;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321335,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#6#qt',' ','A104000期间费用明细表#财务费用境外支付#25.其他','1','6','1066581598406760448','qysdsnb','tccit_qysds_a104000','qt','1',' ','{S[select ffinanceoutside from t_tccit_profit_fees_sum where fitemno=25 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321197;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321197,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#pfzc',' ','A102020金融企业支出明细#金额#17.赔付支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','pfzc','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=17 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320777;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320777,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#34#nstzje','{Q[34.五、油气勘探投资#2.账载金额本年折旧摊销额]}-{Q[34.五、油气勘探投资#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#34.五、油气勘探投资#9.纳税调整金额','1','34','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#34#zzjebnzj]}-{Q[tccit_qysds_a105080#34#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320660;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320660,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108020#3#jzhndmbfsjkse','{Q[3#2.非实际亏损额的弥补以前年度结转尚未弥补的非实际亏损额]}+{Q[3#3.非实际亏损额的弥补本年发生的非实际亏损额]}-{Q[3#4.非实际亏损额的弥补本年弥补的以前年度非实际亏损额]}','A108020境外分支机构弥补亏损明细表#3#5.非实际亏损额的弥补结转以后年度弥补的非实际亏损额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108020','jzhndmbfsjkse','1',' ','{Q[tccit_qysds_a108020#3#yqndjzwmbfsjkse]}+{Q[tccit_qysds_a108020#3#bnfsfsjkse]}-{Q[tccit_qysds_a108020#3#bnmbyqfsjkse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932519;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932519,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#12#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#12#2.资产处置收入','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype in(''701030601'',''701030602'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704726080903168;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704726080903168,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#54#hj',' ','A107040减免所得税优惠明细表#54#1.金额','1','54','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1133306853116199936;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133306853116199936,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#1#fzjggzze',' ','A109010分支机构信息#1#4.职工薪酬','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''1'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077443926173991936;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077443926173991936,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#12#zzje',' ','A105070捐赠支出及纳税调整明细#12#1.账载金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105070','zzje',' ',' ','{S[select FZZJE from  t_tccit_dg_b105020_sum where FITEMNUMBER=''301040202'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114392871081042944;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114392871081042944,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#qsndynbe',' ','A106000企业所得税弥补亏损明细表#9#6.弥补亏损企业类型','4','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and flosstype=''jnsd'']}>0)       {S[select fnumber  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and flosstype=''jnsd'']}    #else  {S[SELECT fqsndynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1181078635252058112;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181078635252058112,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#jwsqsd','{Q[1#2.境外税前所得]}','A108000境外所得税收抵免明细表#10#2.境外税前所得','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsqsd',' ',' ','{Q[tccit_qysds_a108000#1#jwsqsd]}+{Q[tccit_qysds_a108000#2#jwsqsd]}+{Q[tccit_qysds_a108000#3#jwsqsd]}+{Q[tccit_qysds_a108000#4#jwsqsd]}+{Q[tccit_qysds_a108000#5#jwsqsd]}+{Q[tccit_qysds_a108000#6#jwsqsd]}+{Q[tccit_qysds_a108000#7#jwsqsd]}+{Q[tccit_qysds_a108000#8#jwsqsd]}+{Q[tccit_qysds_a108000#9#jwsqsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118814206381436928;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118814206381436928,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#25#je',' ','A107042软件、集成电路企业优惠情况及明细表#25#2.金额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107042','je',' ',' ','{S[select t.fjesl from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''qtzb3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320783;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320783,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#16#zcjsjc','{Q[17.（一）金融企业债权性投资损失#4.资产计税基础]}+{Q[22.（二）非金融企业债权性投资损失#4.资产计税基础]}','A105090资产损失税前扣除及纳税调整明细#16.八、债权性投资损失#4.资产计税基础','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc','1',' ','{Q[tccit_qysds_a105090#17#zcjsjc]}+{Q[tccit_qysds_a105090#22#zcjsjc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932506;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932506,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#9#zzje',' ','A105090资产损失税前扣除及纳税调整明细#9#1.资产损失的账载金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype in (''701030501'',''701030502'',''701030503'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321224,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#fjfkhbmscwdss','{Q[账载金额#19.罚金、罚款和被没收财物的损失]}','A105000纳税调整项目明细#调增金额#19.罚金、罚款和被没收财物的损失','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','fjfkhbmscwdss','1',' ','{Q[tccit_qysds_a105000#1#fjfkhbmscwdss]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113666945431191552;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113666945431191552,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#knbkssd',' ','A106000企业所得税弥补亏损明细表#4#2.当年境内所得额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','knbkssd',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']}>0)     {S[select FLOSSMONEY from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']} #else     {S[SELECT fknbkssd FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']} #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932548;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932548,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#21#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#21#3.赔偿收入','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''70103080105'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113698709885105152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113698709885105152,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#nxbn',' ','A106000企业所得税弥补亏损明细表#2#11.可弥补年限8年','1','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','nxbn',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-9 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-9 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}  #else #if({S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}>0 )    0-{S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']} #else  {S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932242;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932242,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#tbnstzyssd',' ','A105000纳税调整项目明细#4#43.特别纳税调整应税所得','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','tbnstzyssd',' ',' ','if({S[select fnstzje from t_tccit_other_spec_sum where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}<0,-1*{S[select fnstzje  from t_tccit_other_spec_sum  where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1071690446260180992;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071690446260180992,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#1#jbxmsde',' ','A107020所得减免优惠明细表#1#10.减半项目所得额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#1#yhfs]}''==''减半征收'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1064403692599497729,1064416857580229632,1064416857580229633,1064416857580229634,1064416857580229636,1064416857580229637,1064416857580229638,1064416857580229639,1064506234591581184,1064506234591581185,1064506234591581186) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1064403692599497729,1064416857580229632,1064416857580229633,1064416857580229634,1064416857580229636,1064416857580229637,1064416857580229638,1064416857580229639,1064506234591581184,1064506234591581185,1064506234591581186) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1077443585848165376;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077443585848165376,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#11#zzje',' ','A105070捐赠支出及纳税调整明细#11#1.账载金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105070','zzje',' ',' ','{S[select FZZJE from  t_tccit_dg_b105020_sum where FITEMNUMBER=''301040201'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337836;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337836,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#21#xmsr','{Q[19.七、线宽小于130纳米的集成电路生产项目#4.项目收入]}+{Q[20.七、线宽小于131纳米的集成电路生产项目#4.项目收入]}','A107020所得减免优惠明细表#21.七、线宽小于132纳米的集成电路生产项目小计#4.项目收入','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr','1',' ','{Q[tccit_qysds_a107020#19#xmsr]}+{Q[tccit_qysds_a107020#20#xmsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932477;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932477,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#1#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#1#4.资产计税基础','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''7010301'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320917;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320917,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#19#yfhdfyje','{Q[20#研发活动费用金额]}+{Q[21#研发活动费用金额]}+{Q[22#研发活动费用金额]}','A107012研发费用加计扣除优惠明细#19#研发活动费用金额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','{Q[tccit_qysds_a107012_mx#20#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#21#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#22#yfhdfyje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932509;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932509,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#9#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#9#4.资产计税基础','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype in (''701030501'',''701030502'',''701030503'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932164;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932164,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#ysyxgdzfbz',' ','A105020未按权责发生确实收入调整明细#3#10.与收益相关的政府补助','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','ysyxgdzfbz',' ',' ','{S[select fzzjesum from t_tccit_right_income_sum where FITEMTYPE=''001_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932955;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932955,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105120#tabname',' ','企业所得税年度纳税申报表填报表#A105120特殊行业准备金及纳税调整明细表#表单名称','1','A105120','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105120'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321297;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321297,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#fdckfqy','if({Q[纳税调整金额#21.房地产开发企业特定业务计算的纳税调整额]}<-{Q[纳税调整金额#21.房地产开发企业特定业务计算的纳税调整额]})','A105000纳税调整项目明细#调减金额#40.房地产开发企业特定业务计算的纳税调整额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','fdckfqy','1',' ','if({Q[tccit_qysds_a105010#2#fdckfqy]}<0,0-{Q[tccit_qysds_a105010#2#fdckfqy]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320843;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320843,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#23#nstzje','{Q[23.九、股权（权益）性投资损失#1.资产损失的账载金额]}-{Q[23.九、股权（权益）性投资损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#23.九、股权权益性投资损失#6.纳税调整金额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#23#zzje]}+{Q[tccit_qysds_a105090#23#zchxje]}-{Q[tccit_qysds_a105090#23#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321311;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321311,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#xlf',' ','A104000期间费用明细表#管理费用#16.修理费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','xlf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=16 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321192;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321192,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#yjzc',' ','A102020金融企业支出明细#金额#13.佣金支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','yjzc','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=13 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932566;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932566,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#26#zzje',' ','A105090资产损失税前扣除及纳税调整明细#26#1.资产损失的账载金额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''7010311'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932411;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932411,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#26#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#26#3.账载金额累计折旧、摊销额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020611'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135409336412370944;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135409336412370944,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#38#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#38#研发活动费用金额','1','38','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=38]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321225;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321225,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#ssznjjslx','{Q[账载金额#20.税收滞纳金、加收利息]}','A105000纳税调整项目明细#调增金额#20.税收滞纳金、加收利息','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','ssznjjslx','1',' ','{Q[tccit_qysds_a105000#1#ssznjjslx]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320760;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320760,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#15#nstzje','{Q[15.二、生产性生物资产#2.账载金额本年折旧摊销额]}-{Q[15.二、生产性生物资产#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#15.二、生产性生物资产#9.纳税调整金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#15#zzjebnzj]}-{Q[tccit_qysds_a105080#15#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133306362793673728;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133306362793673728,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#10#fzjgsrze',' ','A109010分支机构信息#10#3.营业收入','1','10','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''10'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071733536291329024;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071733536291329024,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#19#nstze',' ','A107020所得减免优惠明细表#19#8.纳税调整额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze',' ',' ','{S[select  fnstz from t_tccit_getredu_sum where FREDUCENAME=1119507313238005760 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1131161334273369088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1131161334273369088,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#4#hjje',' ','A107030抵扣应纳税所得额明细表#4#1.合计金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje',' ',' ','{S[select  fhjjecurrent  from t_tccit_dg_a100000_7_sum where fitemno=''12'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932397;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932397,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#31#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#31#2.账载金额本年折旧摊销额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020403'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113019353500161024;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113019353500161024,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#9#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#9#2.一般性税务处理税收金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030401'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095561655011557376;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095561655011557376,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#btzqyshxydm',' ','A107011居民企业之间权益性投资收益优惠#4#2.被投资企业统一社会信用代码纳税人识别号','4','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqyshxydm',' ',' ','{S[select ftaxpayerid from t_tccit_dg_b105037_sum where flabel=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932948;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932948,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105050#tabname',' ','企业所得税年度纳税申报表填报表#A105050职工薪酬支出及纳税调整明细表#表单名称','1','A105050','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105050'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321204;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321204,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#fbfy',' ','A102020金融企业支出明细#金额#22.分保费用','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','fbfy','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=22 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321313;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321313,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#jszrf',' ','A104000期间费用明细表#管理费用#18.技术转让费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','jszrf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=18 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320882;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320882,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#17#nstzje','{Q[17.1.已发生已报案未决赔款准备金#1.账载金额]}-{Q[17.1.已发生已报案未决赔款准备金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#17.1.已发生已报案未决赔款准备金#3.纳税调整金额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#17#zzje]}-{Q[tccit_qysds_a105120#17#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114448205971456000;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114448205971456000,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#3#tzbl',' ','A000000主要股东及分红情况#3#3.投资比例（%）','1','3','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','tzbl',' ',' ','{S[select h.finvestrate from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=3 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932686;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932686,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#ysyxgdzfbz','{Q[本年税收金额#10.与收益相关的政府补助]}-{Q[本年账载金额#10.与收益相关的政府补助]}','A105020未按权责发生确实收入调整明细#纳税调整金额#10.与收益相关的政府补助','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','ysyxgdzfbz','1',' ','{Q[tccit_qysds_a105020#4#ysyxgdzfbz]}-{Q[tccit_qysds_a105020#2#ysyxgdzfbz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113682176643514368;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113682176643514368,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#hbflzrknbks',' ','A106000企业所得税弥补亏损明细表#9#3.分立转出的亏损额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','hbflzrknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'']}>0)      {S[select sum(fflzcje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'']}   #else  #if({S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}<0 )     0-{S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}  #else   {S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321195;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321195,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#yhsxfjyjzcqt',' ','A102020金融企业支出明细#金额#14.银行手续费其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','yhsxfjyjzcqt','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=14 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932745;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932745,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#9#qt','{Q[处置收益税收计算处置收入#9.其他]}-{Q[处置收益计税基础#9.其他]}','A105030投资收益纳税调整明细#处置收益税收计算处置所得#9.其他','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105030','qt','1',' ','{Q[tccit_qysds_a105030#5#qt]}-{Q[tccit_qysds_a105030#7#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321193;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321193,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#bzssr','{Q[调增金额#9.专项用途财政性资金]}','A105000纳税调整项目明细#调增金额#8.不征税收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','bzssr','1',' ','{Q[tccit_qysds_a105000#3#zxytczxzj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337817;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337817,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#9#xmcb','{Q[7.三、符合条件的环境保护、节能节水项目#5.项目成本]}+{Q[8.三、符合条件的环境保护、节能节水项目#5.项目成本]}','A107020所得减免优惠明细表#9.三、符合条件的环境保护、节能节水项目小计#5.项目成本','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb','1',' ','{Q[tccit_qysds_a107020#7#xmcb]}+{Q[tccit_qysds_a107020#8#xmcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932536;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932536,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#18#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#18#3.赔偿收入','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype in (''70103080102'',''70103080103'',''70103080104'',''70103080105'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113692728841289728;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113692728841289728,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#dnknbks',' ','A106000企业所得税弥补亏损明细表#1#4.可弥补年限5年','1','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','dnknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-10 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-10 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}  #else #if({S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}>0 )    0-{S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']} #else  {S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932950;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932950,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105070#tabname',' ','企业所得税年度纳税申报表填报表#A105070捐赠支出及纳税调整明细表#表单名称','1','A105070','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105070'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1133299339926677504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133299339926677504,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#4#fzjgmc',' ','A109010分支机构信息#4#2.分支机构名称','4','4','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''4'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932166;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932166,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#qt',' ','A105020未按权责发生确实收入调整明细#3#12.其他','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','qt',' ',' ','{S[select fzzjesum from t_tccit_right_income_sum where FITEMTYPE=''001_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113725690257132544;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113725690257132544,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#4#bn',' ','A105040专项用途财政性资金纳税调整明细#4#6.本年','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105040','bn',' ',' ','{S[SELECT sum(e.FINCOMEAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071740857373463552;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071740857373463552,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#27#msxmsde',' ','A107020所得减免优惠明细表#27#9.免税项目所得额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','{Q[tccit_qysds_a107020#25#msxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071735147273163776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071735147273163776,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#22#xmcb',' ','A107020所得减免优惠明细表#22#5.项目成本','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb',' ',' ','{S[select fcost from t_tccit_getredu_sum where FREDUCENAME in (1119510373058271232,1119510373058271233) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1181086473315715072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181086473315715072,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#jwsddmsehj','{Q[1#19.境外所得抵免所得税额合计]}','A108000境外所得税收抵免明细表#10#19.境外所得抵免所得税额合计','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsddmsehj',' ',' ','{Q[tccit_qysds_a108000#1#jwsddmsehj]}+{Q[tccit_qysds_a108000#2#jwsddmsehj]}+{Q[tccit_qysds_a108000#3#jwsddmsehj]}+{Q[tccit_qysds_a108000#4#jwsddmsehj]}+{Q[tccit_qysds_a108000#5#jwsddmsehj]}+{Q[tccit_qysds_a108000#6#jwsddmsehj]}+{Q[tccit_qysds_a108000#7#jwsddmsehj]}+{Q[tccit_qysds_a108000#8#jwsddmsehj]}+{Q[tccit_qysds_a108000#9#jwsddmsehj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114454835899401216;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114454835899401216,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#4#gj',' ','A000000主要股东及分红情况#4#5.国籍','4','4','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gj',' ',' ','{C[#guoji_4]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135343952749454336;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135343952749454336,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#10#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#10#研发活动费用金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=10]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320681;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320681,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#4#bnxj','{Q[4#8.本年实际抵免以前年度未抵免的境外已缴所得税额_前五年]}+{Q[4#9.本年实际抵免以前年度未抵免的境外已缴所得税额_前四年]}+{Q[4#10.本年实际抵免以前年度未抵免的境外已缴所得税额_前三年]}+{Q[4#11.本年实际抵免以前年度未抵免的境外已缴所得税额_前二年]}+{Q[4#12.本年实际抵免以前年度未抵免的境外已缴所得税额_前一年]}','A108030跨年度结转抵免境外所得税明细表#4#13.本年实际抵免以前年度未抵免的境外已缴所得税额_小计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108030','bnxj','1',' ','{Q[tccit_qysds_a108030#4#bnqwn]}+{Q[tccit_qysds_a108030#4#bnqsin]}+{Q[tccit_qysds_a108030#4#bnqsann]}+{Q[tccit_qysds_a108030#4#bnqln]}+{Q[tccit_qysds_a108030#4#bnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095579884966690816;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095579884966690816,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#btzqsqrjeljwfplryygj',' ','A107011居民企业之间权益性投资收益优惠#7#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeljwfplryygj',' ',' ','{S[select fljwfplr  from t_tccit_dg_b105036_sum where ftranstype=''被投资企业清算'' and fitemno=3  and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114454590801051648;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114454590801051648,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#2#gj',' ','A000000主要股东及分红情况#2#5.国籍','4','2','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gj',' ',' ','{C[#guoji_2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321385;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321385,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#bcylbx',' ','A105050职工薪酬支出明细#实际发生额#10.补充养老保险','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','bcylbx','1',' ','{S[select fsjje from t_tccit_deduct_summary_dg where FITEMTYPE=''yanglao'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114445204888567808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114445204888567808,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#hj',' ','A106000企业所得税弥补亏损明细表#8#9.使用境内所得弥补','1','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','hj',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fsyjnsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}>0) {S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}  #else 0-{S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1133283128371292160;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133283128371292160,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_zjg#1#zjgczjzfpsdse',' ','A109010企业所得税汇总纳税总机构#1#5.总机构财政集中分配所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109010_zjg','zjgczjzfpsdse',' ',' ','{Q[tccit_qysds_a109000#1#czjzfpybtse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932324;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932324,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#8#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#8#2.账载金额本年折旧摊销额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020601'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133971537960199168;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133971537960199168,{ts'2021-04-14  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#sbssqnd',' ','A000000企业所得税年度纳税申报基础信息表#1#210-1申报所属期年度','4','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','sbssqnd',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320871;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320871,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#6#nstzje','{Q[6.2.人寿保险业务保证收益#1.账载金额]}-{Q[6.2.人寿保险业务保证收益#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#6.2.人寿保险业务保证收益#3.纳税调整金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#6#zzje]}-{Q[tccit_qysds_a105120#6#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320879;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320879,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#14#nstzje','{Q[14.（三）寿险责任准备金#1.账载金额]}-{Q[14.（三）寿险责任准备金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#14.三寿险责任准备金#3.纳税调整金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#14#zzje]}-{Q[tccit_qysds_a105120#14#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932670;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932670,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#zfbzdysr','{Q[本年税收金额#10.与收益相关的政府补助]}+{Q[本年税收金额#11.与资产相关的政府补助]}+{Q[本年税收金额#12.其他]}','A105020未按权责发生确实收入调整明细#本年税收金额#9.政府补助递延收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','zfbzdysr','1',' ','{Q[tccit_qysds_a105020#4#ysyxgdzfbz]}+{Q[tccit_qysds_a105020#4#yzcxgdzfbz]}+{Q[tccit_qysds_a105020#4#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704385008490496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704385008490496,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#48#hj',' ','A107040减免所得税优惠明细表#48#1.金额','1','48','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932756;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932756,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#11#cyzdqtz','{Q[持有收益纳税调整金额#3.持有至到期投资]}+{Q[处置收益纳税调整金额#3.持有至到期投资]}','A105030投资收益纳税调整明细#纳税调整金额#3.持有至到期投资','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105030','cyzdqtz','1',' ','{Q[tccit_qysds_a105030#3#cyzdqtz]}+{Q[tccit_qysds_a105030#10#cyzdqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932555;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932555,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#23#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#23#2.资产处置收入','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype in(''701030901'',''701030902'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932704,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#fxfhbxzcdwtz','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#218发生非货币性资产对外投资递延纳税事项','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','fxfhbxzcdwtz','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337819;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337819,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#9#yftqjfy','{Q[7.三、符合条件的环境保护、节能节水项目#7.应分摊期间费用]}+{Q[8.三、符合条件的环境保护、节能节水项目#7.应分摊期间费用]}','A107020所得减免优惠明细表#9.三、符合条件的环境保护、节能节水项目小计#7.应分摊期间费用','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy','1',' ','{Q[tccit_qysds_a107020#7#yftqjfy]}+{Q[tccit_qysds_a107020#8#yftqjfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320632;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320632,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#5#jwsdkdmxj','{Q[5#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[5#11.境外所得可抵免的所得税额_间接负担的所得税额]}+{Q[5#12.境外所得可抵免的所得税额_享受税收饶让抵免税额]}','A108010境外所得纳税调整后所得明细表#5#13.境外所得可抵免的所得税额_小计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdkdmxj','1',' ','{Q[tccit_qysds_a108010#5#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#5#jwsdkdmjjfd]}+{Q[tccit_qysds_a108010#5#jwsdkdmxssrrdm]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932153;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932153,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#tglwcb',' ','A05010视同销售纳税调整明细#1#19.提供劳务视同销售成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','tglwcb',' ',' ','{S[select sum(fcost) from t_tccit_thinkofsell_sum where FITEMTYPE=''50107'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932827;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932827,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#7#ybnstzje','{Q[7#2.一般性税务处理税收金额]}-{Q[7#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#7#3.一般性税务处理纳税调整金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#7#ybssje]}-{Q[tccit_qysds_a105100#7#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114446895821881344;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114446895821881344,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#4#zjhm',' ','A000000主要股东及分红情况#4#3.证件号码','4','4','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjhm',' ',' ','{S[select h.FIDNUMBER from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=4 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112213179154301952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112213179154301952,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#1#territory',' ','A107041高新技术企业优惠情况及明细表#1#领域文本','4','1','1066581598406760448','qysdsnb','tccit_qysds_a107041','territory',' ',' ','{S[select fleveldesc from t_tccit_a301010201_level where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fleveltype=''1'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932304;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932304,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#7#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#7#4.税收金额资产计税基础','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020106'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932602;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932602,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107041#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A107041高新技术企业优惠情况及明细表#表单名称','3','A107041','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338340;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338340,{ts'2021-03-30  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#12#jbxmsde',' ','A107020所得减免优惠明细表#12.四、符合条件的技术转让项目小计#10.减半项目所得额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde','1',' ','if({S[select  FREDUCENAME from t_tccit_getredu_sum where FREDUCENAME in (1064511039091315712,1119482547752284160) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}=1064511039091315712,if({Q[tccit_qysds_a107020#12#xmsr]}-{Q[tccit_qysds_a107020#12#xmcb]}-{Q[tccit_qysds_a107020#12#xgsf]}-{Q[tccit_qysds_a107020#12#yftqjfy]}+{Q[tccit_qysds_a107020#12#nstze]}<=5000000,0,{Q[tccit_qysds_a107020#12#xmsr]}-{Q[tccit_qysds_a107020#12#xmcb]}-{Q[tccit_qysds_a107020#12#xgsf]}-{Q[tccit_qysds_a107020#12#yftqjfy]}+{Q[tccit_qysds_a107020#12#nstze]}-5000000),if({Q[tccit_qysds_a107020#12#xmsr]}-{Q[tccit_qysds_a107020#12#xmcb]}-{Q[tccit_qysds_a107020#12#xgsf]}-{Q[tccit_qysds_a107020#12#yftqjfy]}+{Q[tccit_qysds_a107020#12#nstze]}<=20000000,0,{Q[tccit_qysds_a107020#12#xmsr]}-{Q[tccit_qysds_a107020#12#xmcb]}-{Q[tccit_qysds_a107020#12#xgsf]}-{Q[tccit_qysds_a107020#12#yftqjfy]}+{Q[tccit_qysds_a107020#12#nstze]}-20000000))'); 
DELETE FROM t_tctb_formula WHERE FID = 1113019538393469952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113019538393469952,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#7#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#7#2.一般性税务处理税收金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320595;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320595,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#5#wcgjwdmxeye','{Q[5#11.境外所得抵免限额]}-{Q[5#12.本年可抵免境外所得税额]}','A108000境外所得税收抵免明细表#5#13.未超过境外所得税抵免限额的余额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108000','wcgjwdmxeye','1',' ','{Q[tccit_qysds_a108000#5#jwsddmxe]}-{Q[tccit_qysds_a108000#5#bnkdmjwsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932141;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932141,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#yygxfpsr',' ','A05010视同销售纳税调整明细#1#6.用于股息分配视同销售收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','yygxfpsr',' ',' ','{S[select sum(fincome) from t_tccit_thinkofsell_sum where FITEMTYPE=''50104'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321320;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321320,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#4#yjsxf',' ','A104000期间费用明细表#管理费用境外支付#6.佣金和手续费','1','4','1066581598406760448','qysdsnb','tccit_qysds_a104000','yjsxf','1',' ','{S[select fmanageoutside from t_tccit_profit_fees_sum where fitemno=6 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932403;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932403,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#17#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#17#3.账载金额累计折旧、摊销额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020202'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071732092704166912;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071732092704166912,{ts'2021-02-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#16#jbxmsde',' ','A107020所得减免优惠明细表#16#10.减半项目所得额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#16#yhfs]}''==''减半征收'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME=1064511941495720961 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME=1064511941495720961 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1071706150019569664;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071706150019569664,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#4#msxmsde',' ','A107020所得减免优惠明细表#4#9.免税项目所得额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#4#yhfs]}''==''免税'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1064506748737653761,1064508826394528768,1064508826394528769,1064508826394528770,1064508826394528771,1064508826394528772,1064508826394528773,1064508826394528774,1064508826394528775) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1064506748737653761,1064508826394528768,1064508826394528769,1064508826394528770,1064508826394528771,1064508826394528772,1064508826394528773,1064508826394528774,1064508826394528775) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320718;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320718,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#1#ssjessgdzje','{Q[2.（一）房屋、建筑物#5.税收金额-税收折旧、摊销额]}+{Q[3.（二）飞机、火车、轮船、机器、机械和其他生产设备#5.税收金额-税收折旧、摊销额]}+{Q[4.（三）与生产经营活动有关的器具、工具、家具等#5.税收金额-税收折旧、摊销额]}+{Q[5.（四）飞机、火车、轮船以外的运输工具#5.税收金额-税收折旧、摊销额]}+{Q[6.（五）电子设备#5.税收金额-税收折旧、摊销额]}+{Q[7.（六）其他#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#1.一、固定资产#5.税收金额-税收折旧、摊销额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje','1',' ','{Q[tccit_qysds_a105080#2#ssjessgdzje]}+{Q[tccit_qysds_a105080#3#ssjessgdzje]}+{Q[tccit_qysds_a105080#4#ssjessgdzje]}+{Q[tccit_qysds_a105080#5#ssjessgdzje]}+{Q[tccit_qysds_a105080#6#ssjessgdzje]}+{Q[tccit_qysds_a105080#7#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071727091172807680;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071727091172807680,{ts'2021-02-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#13#msxmsde',' ','A107020所得减免优惠明细表#13#9.免税项目所得额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#13#yhfs]}''==''免税'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME=1064511471960165376 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME=1064511471960165376 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932250;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932250,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#4#cqgqtz',' ','A105030投资收益纳税调整明细#4#6.长期股权投资','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqgqtz',' ',' ','{S[select fkjqrczsr from t_tccit_asset_dispose_sum where fitemtype=''6010806'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321278;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321278,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#2#lwf',' ','A104000期间费用明细表#销售费用境外支付#2.劳务费','1','2','1066581598406760448','qysdsnb','tccit_qysds_a104000','lwf','1',' ','{S[select fselloutside from t_tccit_profit_fees_sum where fitemno=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851099;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851099,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#2#zzje','{Q[全额扣除的公益性捐赠-1#1.账载金额]}','A105070捐赠支出及纳税调整明细#全额扣除的公益性金额#1.账载金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105070','zzje','1',' ','{Q[tccit_qysds_a105070#11#zzje]}+{Q[tccit_qysds_a105070#12#zzje]}+{Q[tccit_qysds_a105070#13#zzje]}+{Q[tccit_qysds_a105070#14#zzje]}+{Q[tccit_qysds_a105070#15#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1296958181838181376;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1296958181838181376,{ts'2021-11-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#sjfsdyysj','{Q[税收金额#25.实际发生的营业税金及附加、土地增值税]}',' ','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','sjfsdyysj',' ',' ','{Q[tccit_qysds_a105010#1#sjfsdyysj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932943;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932943,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105000#tabname',' ','企业所得税年度纳税申报表填报表#A105000纳税调整项目明细表#表单名称','1','A105000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105000'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932587;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932587,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105050#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105050职工薪酬支出及纳税调整明细表#表单名称','3','A105050','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932437;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932437,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#35#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#35#4.税收金额资产计税基础','1','35','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020502'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321428;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321428,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#hj','{Q[1.前十年度#9.使用境内所得弥补]}+{Q[2.前九年度#9.使用境内所得弥补]}+{Q[3.前八年度#9.使用境内所得弥补]}+{Q[4.前七年度#9.使用境内所得弥补]}+{Q[5.前六年度#9.使用境内所得弥补]}+{Q[6.前五年度#9.使用境内所得弥补]}+{Q[7.前四年度#9.使用境内所得弥补]}+{Q[8.前三年度#9.使用境内所得弥补]}+{Q[9.前二年度#9.使用境内所得弥补]}+{Q[10.前一年度#9.使用境内所得弥补]}','A106000企业所得税弥补亏损明细表#11.本年度#9.使用境内所得弥补','1','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','hj','1',' ','if({Q[tccit_qysds_a106000#11#knbkssd]}>0,{Q[tccit_qysds_a106000#1#hj]}+{Q[tccit_qysds_a106000#2#hj]}+{Q[tccit_qysds_a106000#3#hj]}+{Q[tccit_qysds_a106000#4#hj]}+{Q[tccit_qysds_a106000#5#hj]}+{Q[tccit_qysds_a106000#6#hj]}+{Q[tccit_qysds_a106000#7#hj]}+{Q[tccit_qysds_a106000#8#hj]}+{Q[tccit_qysds_a106000#9#hj]}+{Q[tccit_qysds_a106000#10#hj]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1113756439790585856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113756439790585856,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#16#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#16#4.特殊性税务处理递延纳税账载金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{Q[tccit_qysds_a105100#1#tszzje]}+{Q[tccit_qysds_a105100#4#tszzje]}+{Q[tccit_qysds_a105100#6#tszzje]}+{Q[tccit_qysds_a105100#8#tszzje]}+{Q[tccit_qysds_a105100#11#tszzje]}+{Q[tccit_qysds_a105100#12#tszzje]}+{Q[tccit_qysds_a105100#13#tszzje]}+{Q[tccit_qysds_a105100#14#tszzje]}+{Q[tccit_qysds_a105100#15#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114281762122370048;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114281762122370048,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#qylx',' ','A000000企业所得税年度纳税申报基础信息表#1#101纳税申报企业类型','1','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','qylx',' ',' ','{S[select fdeclaretype from t_tccit_policy where forgid=''#orgid'' and fstartdate= ''#startDate'' and fenddate=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932137;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932137,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#fhbxzcjhsr',' ','A05010视同销售纳税调整明细#1#2.非货币性资产交换视同销售收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','fhbxzcjhsr',' ',' ','{S[select sum(fincome) from t_tccit_thinkofsell_sum where FITEMTYPE=''50108'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320648;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320648,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#1#jwsdtzhsd','{Q[1#14.境外税前所得]}+{Q[1#15.境外分支机构收入与支出纳税调整额]}-{Q[1#16.境外分支机构调整分摊扣除的有关成本费用]}-{Q[1#17.境外所得对应调整的相关成本费用支出]}','A108010境外所得纳税调整后所得明细表#1#18.境外所得纳税调整后所得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdtzhsd','1',' ','{Q[tccit_qysds_a108010#1#jwsqsd]}+{Q[tccit_qysds_a108010#1#jwfzsrzctze]}-{Q[tccit_qysds_a108010#1#jwfztzftkccbfy]}-{Q[tccit_qysds_a108010#1#jwsdtzcbfyzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932927;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932927,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#14#hjje','{Q[12#1.合计金额]}-{Q[13#1.合计金额]}','A107030抵扣应纳税所得额明细表#14#1.合计金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','{Q[tccit_qysds_a107030#12#hjje]}-{Q[tccit_qysds_a107030#13#hjje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320679;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320679,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#2#bnxj','{Q[2#8.本年实际抵免以前年度未抵免的境外已缴所得税额_前五年]}+{Q[2#9.本年实际抵免以前年度未抵免的境外已缴所得税额_前四年]}+{Q[2#10.本年实际抵免以前年度未抵免的境外已缴所得税额_前三年]}+{Q[2#11.本年实际抵免以前年度未抵免的境外已缴所得税额_前二年]}+{Q[2#12.本年实际抵免以前年度未抵免的境外已缴所得税额_前一年]}','A108030跨年度结转抵免境外所得税明细表#2#13.本年实际抵免以前年度未抵免的境外已缴所得税额_小计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108030','bnxj','1',' ','{Q[tccit_qysds_a108030#2#bnqwn]}+{Q[tccit_qysds_a108030#2#bnqsin]}+{Q[tccit_qysds_a108030#2#bnqsann]}+{Q[tccit_qysds_a108030#2#bnqln]}+{Q[tccit_qysds_a108030#2#bnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321382;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321382,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#ghjfzc',' ','A105050职工薪酬支出明细#实际发生额#7.工会经费支出','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','ghjfzc','1',' ','{S[select fsjje from t_tccit_deduct_summary_dg where FITEMTYPE=''gonghui'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114292323262401536;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114292323262401536,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#csgjxzhjzhy',' ','A000000企业所得税年度纳税申报基础信息表#1#106从事国家限制或禁止行业','1','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','csgjxzhjzhy',' ',' ','{S[select fillegal from t_tccit_policy where forgid=''#orgid'' and fstartdate= ''#startDate'' and fenddate=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114450011233453056;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114450011233453056,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#3#syje',' ','A000000主要股东及分红情况#3#4.当年（决议日）分配的股息、红利等权益性投资收益金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','syje',' ',' ','{S[select h.fcurryeardividend from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=3 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320657;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320657,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#10#jwsdtzhsd','{Q[合计#14.境外税前所得]}+{Q[合计#15.境外分支机构收入与支出纳税调整额]}-{Q[合计#16.境外分支机构调整分摊扣除的有关成本费用]}-{Q[合计#17.境外所得对应调整的相关成本费用支出]}','A108010境外所得纳税调整后所得明细表#合计#18.境外所得纳税调整后所得','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdtzhsd','1',' ','{Q[tccit_qysds_a108010#10#jwsqsd]}+{Q[tccit_qysds_a108010#10#jwfzsrzctze]}-{Q[tccit_qysds_a108010#10#jwfztzftkccbfy]}-{Q[tccit_qysds_a108010#10#jwsdtzcbfyzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932824,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#4#ybnstzje','{Q[4#2.一般性税务处理税收金额]}-{Q[4#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#4#3.一般性税务处理纳税调整金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#4#ybssje]}-{Q[tccit_qysds_a105100#4#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321218;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321218,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#lxzc',' ','A105000纳税调整项目明细#税收金额#18.利息支出','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','lxzc','1',' ','{S[select famount from t_tccit_interest_summary where fitemtype=''003_01'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321340;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321340,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#jysr',' ','A103000事业单位支出明细#金额#6.经营收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','jysr','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=6 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320981;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320981,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#4#hj','{Q[5.产品（服务）收入#4.合计]}+{Q[6.技术性收入#4.合计]}','A107041高新技术企业优惠情况及明细表#4.本年高新技术产品服务收入#4.合计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj','1',' ','{Q[tccit_qysds_a107041#5#hj]}+{Q[tccit_qysds_a107041#6#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321438;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321438,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#kjz','{Q[8.前三年度#8.当年待弥补的亏损额]}-{Q[8.前三年度#9.使用境内所得弥补]}-{Q[8.前三年度#10.使用境外所得弥补]}','A106000企业所得税弥补亏损明细表#8.前三年度#11.当年可结转以后年度弥补的亏损额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','kjz','1',' ','if({Q[tccit_qysds_a106000#8#qyndynbe]}>{Q[tccit_qysds_a106000#8#hj]}+{Q[tccit_qysds_a106000#8#sjnbe]},{Q[tccit_qysds_a106000#8#qyndynbe]}-{Q[tccit_qysds_a106000#8#hj]}-{Q[tccit_qysds_a106000#8#sjnbe]},{Q[tccit_qysds_a106000#8#hj]}+{Q[tccit_qysds_a106000#8#sjnbe]}-{Q[tccit_qysds_a106000#8#qyndynbe]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1071733199052510208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071733199052510208,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#19#xmcb',' ','A107020所得减免优惠明细表#19#5.项目成本','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb',' ',' ','{S[select  fcost from t_tccit_getredu_sum where FREDUCENAME=1119507313238005760 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932612;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932612,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#zyywsr','{Q[金额#3.销售商品收入]}+{Q[金额#5.提供劳务收入]}+{Q[金额#6.建造合同收入]}+{Q[金额#7.让渡资产使用权收入]}+{Q[金额#8.主营业务收入—其他]}','A101010一般企业收入明细表#金额#2.主营业务收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','zyywsr','1',' ','{Q[tccit_qysds_a101010#1#xsspsr]}+{Q[tccit_qysds_a101010#1#tglwsr]}+{Q[tccit_qysds_a101010#1#jzhtsr]}+{Q[tccit_qysds_a101010#1#rdzcsyqsr]}+{Q[tccit_qysds_a101010#1#zyywsrqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321128;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321128,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#fbfsr',' ','A101020金融企业收入明细#金额#29.分保费收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','fbfsr','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=29 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112294398353258496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112294398353258496,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#1#jszbje',' ','A105120贷款损失准备金及纳税调整明细表#1#8.按本年末准予提取贷款资产余额与计提比例计算的准备金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jszbje',' ',' ','{Q[tccit_qysds_a105120_dk#2#jszbje]}  +  {Q[tccit_qysds_a105120_dk#3#jszbje]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931969;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931969,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#2#byxkcdggfhywxczc',' ','A105060广告业务宣传费跨年纳税调整明细#2#2.减：不允许扣除的支出','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105060','byxkcdggfhywxczc',' ',' ','{S[select famount from t_tccit_insurance_summary where fitemtype=''non_allow'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932622;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932622,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#yysr','{Q[金额#2.银行业务收入]}+{Q[金额#18.证券业务收入]}+{Q[金额#27.已赚保费]}+{Q[金额#32.其他金融业务收入]}+{Q[金额#33.汇兑收益]}+{Q[金额#34.其他业务收入]}','A101020金融企业收入明细#金额#1.营业收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','yysr','1',' ','{Q[tccit_qysds_a101020#1#yhywsr]}+{Q[tccit_qysds_a101020#1#zqywsr]}+{Q[tccit_qysds_a101020#1#yzbf]}+{Q[tccit_qysds_a101020#1#qtjrywsr]}+{Q[tccit_qysds_a101020#1#hzsy]}+{Q[tccit_qysds_a101020#1#qtywsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321106;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321106,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#qswfbcdyfkx',' ','A101010一般企业收入明细表#金额#24.确实无法偿付的应付款项','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','qswfbcdyfkx','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=24 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320678;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320678,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#1#bnxj','{Q[1#8.本年实际抵免以前年度未抵免的境外已缴所得税额_前五年]}+{Q[1#9.本年实际抵免以前年度未抵免的境外已缴所得税额_前四年]}+{Q[1#10.本年实际抵免以前年度未抵免的境外已缴所得税额_前三年]}+{Q[1#11.本年实际抵免以前年度未抵免的境外已缴所得税额_前二年]}+{Q[1#12.本年实际抵免以前年度未抵免的境外已缴所得税额_前一年]}','A108030跨年度结转抵免境外所得税明细表#1#13.本年实际抵免以前年度未抵免的境外已缴所得税额_小计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108030','bnxj','1',' ','{Q[tccit_qysds_a108030#1#bnqwn]}+{Q[tccit_qysds_a108030#1#bnqsin]}+{Q[tccit_qysds_a108030#1#bnqsann]}+{Q[tccit_qysds_a108030#1#bnqln]}+{Q[tccit_qysds_a108030#1#bnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932668;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932668,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#zfbzdysr','{Q[本年账载金额#10.与收益相关的政府补助]}+{Q[本年账载金额#11.与资产相关的政府补助]}+{Q[本年账载金额#12.其他]}','A105020未按权责发生确实收入调整明细#本年账载金额#9.政府补助递延收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','zfbzdysr','1',' ','{Q[tccit_qysds_a105020#2#ysyxgdzfbz]}+{Q[tccit_qysds_a105020#2#yzcxgdzfbz]}+{Q[tccit_qysds_a105020#2#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932309;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932309,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#6#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#6#5.税收金额-税收折旧、摊销额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020105'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071729936387315712;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071729936387315712,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#22#xmmc',' ','A107020所得减免优惠明细表#22#1.项目名称','4','22','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select   fprojectname from t_tccit_getredu_sum where FREDUCENAME in (1119510373058271232,1119510373058271233) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133311754965730304;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133311754965730304,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#10#fpbl',' ','A109010分支机构信息#10#6.分配比例','1','10','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#10#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#10#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#10#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321255;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321255,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#zxgwf',' ','A104000期间费用明细表#销售费用#3.咨询顾问费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','zxgwf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112227682185117696;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112227682185117696,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#23#qynd',' ','A107041高新技术企业优惠情况及明细表#23#2.前一年度','1','23','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd',' ',' ','{S[select fpreoneyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''9'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932419;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932419,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#35#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#35#3.账载金额累计折旧、摊销额','1','35','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020502'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932713;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932713,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#6#hj','{Q[处置收益账面价值#1.交易性金融资产]}+{Q[处置收益账面价值#2.可供出售金融资]}+{Q[处置收益账面价值#3.持有至到期投资]}+{Q[处置收益账面价值#4.衍生工具]}+{Q[处置收益账面价值#5.交易性金融负债]}+{Q[处置收益账面价值#6.长期股权投资]}+{Q[处置收益账面价值#7.短期投资]}+{Q[处置收益账面价值#8.长期债券投资]}+{Q[处置收益账面价值#9.其他]}','A105030投资收益纳税调整明细#处置收益账面价值#10.合计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105030','hj','1',' ','{Q[tccit_qysds_a105030#6#jyxjrzc]}+{Q[tccit_qysds_a105030#6#kgcsjrzc]}+{Q[tccit_qysds_a105030#6#cyzdqtz]}+{Q[tccit_qysds_a105030#6#ysgj]}+{Q[tccit_qysds_a105030#6#jyxjrfz]}+{Q[tccit_qysds_a105030#6#cqgqtz]}+{Q[tccit_qysds_a105030#6#dqtz]}+{Q[tccit_qysds_a105030#6#cqzqtz]}+{Q[tccit_qysds_a105030#6#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113681764922245120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113681764922245120,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#hbflzrknbks',' ','A106000企业所得税弥补亏损明细表#7#3.分立转出的亏损额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','hbflzrknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'']}>0)      {S[select sum(fflzcje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'']}   #else  #if({S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}<0 )     0-{S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}  #else   {S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1135455699317581824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135455699317581824,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#3#qsnddme',' ','A107050税额抵免优惠明细表#3#7.前三年度一抵免额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','qsnddme',' ',' ','{S[select fqenddme from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''4'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077538024545370112;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077538024545370112,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#39#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#39#1.账载金额资产原值','1','39','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020606'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123715317873511424;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123715317873511424,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#31#msxmsde',' ','A107020所得减免优惠明细表#31#9.免税项目所得额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','{Q[tccit_qysds_a107020#29#msxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931985;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931985,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#fxyxzlxzc','if({Q[账载金额#发行永续债利息支出]}-{Q[税收金额#发行永续债利息支出]}>0,)','A105000纳税调整项目明细#3#发行永续债利息支出','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','fxyxzlxzc',' ',' ','if({Q[tccit_qysds_a105000#1#fxyxzlxzc]}-{Q[tccit_qysds_a105000#2#fxyxzlxzc]}>0,{Q[tccit_qysds_a105000#1#fxyxzlxzc]}-{Q[tccit_qysds_a105000#2#fxyxzlxzc]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932523;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932523,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#13#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#13#2.资产处置收入','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''701030601'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135408197499451392;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135408197499451392,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#27#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#27#研发活动费用金额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=27]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320737;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320737,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#28#ssjeljzje','{Q[29.（一）已足额提取折旧的固定资产的改建支出#8.税收金额累计折旧、摊销额]}+{Q[30.（二）租入固定资产的改建支出#8.税收金额累计折旧、摊销额]}+{Q[31.（三）固定资产的大修理支出#8.税收金额累计折旧、摊销额]}+{Q[32.（四）开办费#8.税收金额累计折旧、摊销额]}+{Q[33.（五）其他#8.税收金额累计折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#28.四、长期待摊费用#8.税收金额累计折旧、摊销额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje','1',' ','{Q[tccit_qysds_a105080#29#ssjeljzje]}+{Q[tccit_qysds_a105080#30#ssjeljzje]}+{Q[tccit_qysds_a105080#31#ssjeljzje]}+{Q[tccit_qysds_a105080#32#ssjeljzje]}+{Q[tccit_qysds_a105080#33#ssjeljzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320580;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320580,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#8#djjnkshjwyne','{Q[8#5.境外应纳税所得额]}-{Q[8#6.抵减境内亏损]}','A108000境外所得税收抵免明细表#8#7.抵减境内亏损后的境外应纳税所得额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108000','djjnkshjwyne','1',' ','{Q[tccit_qysds_a108000#8#jwynssde]}-{Q[tccit_qysds_a108000#8#djjnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133313687189432320;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133313687189432320,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#11#fpse',' ','A109010分支机构信息#11#7.分配所得税额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#11#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114448614354060288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114448614354060288,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#6#tzbl',' ','A000000主要股东及分红情况#6#3.投资比例（%）','1','6','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','tzbl',' ',' ','{S[select h.finvestrate from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=6 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337843;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337843,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#24#xgsf','{Q[22.八、线宽小于65纳米或投资额超过150亿元的集成电路生产项目#6.相关税费]}+{Q[23.八、线宽小于65纳米或投资额超过151亿元的集成电路生产项目#6.相关税费]}','A107020所得减免优惠明细表#24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#6.相关税费','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf','1',' ','{Q[tccit_qysds_a107020#22#xgsf]}+{Q[tccit_qysds_a107020#23#xgsf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112250221796000768;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112250221796000768,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#1#snmsszbjye',' ','A105120贷款损失准备金及纳税调整明细表#1#3.上年末贷款损失准备金余额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmsszbjye',' ',' ','{S[select fsnmsszbjye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''1'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1131165239312998400;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1131165239312998400,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#10#kjxqy',' ','A107030抵扣应纳税所得额明细表#10#3.投资于种子期、初创期科技型企业','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107030','kjxqy',' ',' ','{S[select  fzzqcurrent  from t_tccit_dg_a100000_7_sum where fitemno=''4'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321432,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#kjz','{Q[2.前九年度#8.当年待弥补的亏损额]}-{Q[2.前九年度#9.使用境内所得弥补]}-{Q[2.前九年度#10.使用境外所得弥补]}','A106000企业所得税弥补亏损明细表#2.前九年度#11.当年可结转以后年度弥补的亏损额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','kjz','1',' ','if({Q[tccit_qysds_a106000#2#qyndynbe]}>{Q[tccit_qysds_a106000#2#hj]}+{Q[tccit_qysds_a106000#2#sjnbe]},{Q[tccit_qysds_a106000#2#qyndynbe]}-{Q[tccit_qysds_a106000#2#hj]}-{Q[tccit_qysds_a106000#2#sjnbe]},{Q[tccit_qysds_a106000#2#hj]}+{Q[tccit_qysds_a106000#2#sjnbe]}-{Q[tccit_qysds_a106000#2#qyndynbe]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321188;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321188,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#gyjzbdjsy','if({Q[账载金额#7.公允价值变动净损益]}>{Q[账载金额#7.公允价值变动净损益]})','A105000纳税调整项目明细#调减金额#7.公允价值变动净损益','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','gyjzbdjsy','1',' ','if({Q[tccit_qysds_a105000#1#gyjzbdjsy]}>0,{Q[tccit_qysds_a105000#1#gyjzbdjsy]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1123713184533056512;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123713184533056512,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#31#xmsr',' ','A107020所得减免优惠明细表#31#4.项目收入','1','31','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr',' ',' ','{Q[tccit_qysds_a107020#29#xmsr]}+{Q[tccit_qysds_a107020#30#xmsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123248651767235584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123248651767235584,{ts'2021-03-30  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#12#xmmc',' ','A107020所得减免优惠明细表#12#1.项目名称','4','12','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select  fyhsxmc from t_tccit_getredu_sum where FREDUCENAME in (1064511039091315712,1119482547752284160) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321136;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321136,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#zwczld',' ','A101020金融企业收入明细#金额#38.债务重组利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','zwczld','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=38 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321387;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321387,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#3#zgflfzc',' ','A105050职工薪酬支出明细#税收规定扣除率#3.职工福利费支出','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105050','zgflfzc','1',' ','{S[select frate from t_tccit_deduct_summary_dg where FITEMTYPE=''zhigong'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118810076795547648;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118810076795547648,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#1#je',' ','A107042软件、集成电路企业优惠情况及明细表#1#2.金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107042','je',' ',' ','{S[select t.fjesl from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''bnypjzgzrs'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113756960680947712;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113756960680947712,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#2#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#2#5.特殊性税务处理递延纳税税收金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030101'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320863;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320863,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#35#ssje','{Q[36.（一）担保赔偿准备#2.税收金额]}+{Q[37.（二）未到期责任准备#2.税收金额]}+{Q[38.（三）其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#35.五、中小企业融资信用担保机构#2.税收金额','1','35','1066581598406760448','qysdsnb','tccit_qysds_a105120','ssje','1',' ','{Q[tccit_qysds_a105120#36#ssje]}+{Q[tccit_qysds_a105120#37#ssje]}+{Q[tccit_qysds_a105120#38#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113728953601805312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113728953601805312,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#9#qsand',' ','A105040专项用途财政性资金纳税调整明细#9#3.前三年度','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsand',' ',' ','select fqend from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''10'''); 
DELETE FROM t_tctb_formula WHERE FID = 1113755467106322432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113755467106322432,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#7#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#7#4.特殊性税务处理递延纳税账载金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932525;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932525,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#13#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#13#4.资产计税基础','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''701030601'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932516;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932516,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#11#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#11#3.赔偿收入','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''701030502'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071733442817070080;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071733442817070080,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#19#yftqjfy',' ','A107020所得减免优惠明细表#19#7.应分摊期间费用','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy',' ',' ','{S[select  fqjfyfte from t_tccit_getredu_sum where FREDUCENAME=1119507313238005760 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095562641318920192;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095562641318920192,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#tzxz',' ','A107011居民企业之间权益性投资收益优惠#3#3.投资性质','4','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzxz',' ',' ','{S[select finvesttype from t_tccit_dg_b105037_sum where flabel=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078886124862091264;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078886124862091264,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#41#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#41#4.税收金额资产计税基础','1','41','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020613'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932719;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932719,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#3#jyxjrzc','{Q[持有收益税收金额#1.交易性金融资产]}-{Q[持有收益账载金额#1.交易性金融资产]}','A105030投资收益纳税调整明细#持有收益纳税调整金额#1.交易性金融资产','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrzc','1',' ','{Q[tccit_qysds_a105030#2#jyxjrzc]}-{Q[tccit_qysds_a105030#1#jyxjrzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338357;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338357,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#19#jmsde','if({Q[19.七、线宽小于130纳米的集成电路生产项目#9.免税项目所得额]}+{Q[19.七、线宽小于130纳米的集成电路生产项目#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#19.七、线宽小于130纳米的集成电路生产项目#11.减免所得额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#19#msxmsde]}+{Q[tccit_qysds_a107020#19#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#19#msxmsde]}+{Q[tccit_qysds_a107020#19#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1113728468387940352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113728468387940352,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#8#qend',' ','A105040专项用途财政性资金纳税调整明细#8#4.前二年度','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105040','qend',' ',' ','select fqynd from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''9'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321227;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321227,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#qtzjywzc',' ','A102020金融企业支出明细#金额#30.其他证券业务支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','qtzjywzc','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=30 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932294;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932294,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#3#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#3#3.账载金额累计折旧、摊销额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020102'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320911;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320911,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#jjkc','{Q[金额#26.开发新技术、新产品、新工艺发生的研究开发费用加计扣除]}+{Q[金额#27.科技型中小企业开发新技术、新产品、新工艺发生的研究开发费用加计扣除]}+{Q[金额#28.企业为获得创新性、创意性、突破性的产品进行创意设计活动发生的相关费用加计扣除]}+{Q[金额#29.安置残疾人员及国家鼓励安置的其他就业人员所支付的工资加计扣除]}+{Q[金额#30.加计扣除其他专项优惠]}','A107010免税减计收入及加计扣除优惠明细表#金额#25.加计扣除','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','jjkc','1',' ','{Q[tccit_qysds_a107010#1#yjkffy]}+{Q[tccit_qysds_a107010#1#kjxzxqyyff]}+{Q[tccit_qysds_a107010#1#cysjxgf]}+{Q[tccit_qysds_a107010#1#gjzfgzjjck]}+{Q[tccit_qysds_a107010#1#jjkcqtzxyh]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932129;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932129,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#yysctgcb',' ','A05010视同销售纳税调整明细#2#13.用于市场推广或销售视同销售成','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','yysctgcb',' ',' ','{Q[tccit_qysds_a105010#1#yysctgcb]}*-1'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932615;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932615,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#3#yylr','{Q[3#1.营业收入]}-{Q[3#2.营业成本]}-{Q[3#3.营业税金及附加]}-{Q[3#4.销售费用]}-{Q[3#5.管理费用]}-{Q[3#6.财务费用]}-{Q[3#7.资产减值损失]}+{Q[3#8.公允价值变动收益]}+{Q[3#9.投资收益]}','A100000年度纳税申报表#3#10.营业利润','1','3','1066581598406760448','qysdsnb','tccit_qysds_a100000','yylr','1','已执行财会〔2018〕15号的纳税人,不执行本规则。','{Q[tccit_qysds_a100000#3#yysr]}-{Q[tccit_qysds_a100000#3#yycb]}-{Q[tccit_qysds_a100000#3#yysjfj]}-{Q[tccit_qysds_a100000#3#xsfy]}-{Q[tccit_qysds_a100000#3#glfy]}-{Q[tccit_qysds_a100000#3#cwfy]}-{Q[tccit_qysds_a100000#3#zcjzss]}+{Q[tccit_qysds_a100000#3#gyjzbdsy]}+{Q[tccit_qysds_a100000#3#tzsy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932954;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932954,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105110#tabname',' ','企业所得税年度纳税申报表填报表#A105110政策性搬迁纳税调整明细表#表单名称','1','A105110','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105110'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932455;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932455,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#35#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#35#5.税收金额-税收折旧、摊销额','1','35','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020502'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932678;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932678,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#zj','{Q[本年税收金额#2.租金]}-{Q[本年账载金额#2.租金]}','A105020未按权责发生确实收入调整明细#纳税调整金额#2.租金','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','zj','1',' ','{Q[tccit_qysds_a105020#4#zj]}-{Q[tccit_qysds_a105020#2#zj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932162;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932162,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#qt',' ','A105020未按权责发生确实收入调整明细#2#12.其他','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','qt',' ',' ','{S[select fzzjecurrent from t_tccit_right_income_sum where FITEMTYPE=''001_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071718459127403520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071718459127403520,{ts'2021-03-30  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#10#xmcb',' ','A107020所得减免优惠明细表#10#5.项目成本','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb',' ',' ','{S[select   fcost from t_tccit_getredu_sum where FREDUCENAME in (1064511039091315712,1119482547752284160)  and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112232550102728704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112232550102728704,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#18#hj','{Q[18.直接投入费用#1.本年度]}','A107041高新技术企业优惠情况及明细表#18#4.合计','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{Q[tccit_qysds_a107041#18#bnd]}+{Q[tccit_qysds_a107041#18#qynd]}+{Q[tccit_qysds_a107041#18#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337812;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337812,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#6#xmcb','{Q[4.二、国家重点扶持的公共基础设施项目#5.项目成本]}+{Q[5.二、国家重点扶持的公共基础设施项目#5.项目成本]}','A107020所得减免优惠明细表#6.二、国家重点扶持的公共基础设施项目小计#5.项目成本','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb','1',' ','{Q[tccit_qysds_a107020#4#xmcb]}+{Q[tccit_qysds_a107020#5#xmcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932392;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932392,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#25#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#25#2.账载金额本年折旧摊销额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020307'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320900;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320900,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#35#nstzje','{Q[35.五、中小企业融资（信用）担保机构#1.账载金额]}-{Q[35.五、中小企业融资（信用）担保机构#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#35.五、中小企业融资信用担保机构#3.纳税调整金额','1','35','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#35#zzje]}-{Q[tccit_qysds_a105120#35#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338359;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338359,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#21#jmsde','if({Q[21.七、线宽小于132纳米的集成电路生产项目小计#9.免税项目所得额]}+{Q[21.七、线宽小于132纳米的集成电路生产项目小计#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#21.七、线宽小于132纳米的集成电路生产项目小计#11.减免所得额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#21#msxmsde]}+{Q[tccit_qysds_a107020#21#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#21#msxmsde]}+{Q[tccit_qysds_a107020#21#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1112217205577090048;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112217205577090048,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#6#hj',' ','A107041高新技术企业优惠情况及明细表#6#4.合计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{S[select fincomeamount from t_tccit_a301010201_income where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fincometype=''3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113683049276850176;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113683049276850176,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#hbflzrknbks',' ','A106000企业所得税弥补亏损明细表#11#3.分立转出的亏损额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','hbflzrknbks',' ',' ','{S[select sum(fflzcje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear and forgid=''#orgid'']} '); 
DELETE FROM t_tctb_formula WHERE FID = 1078888918151116800;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078888918151116800,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#38#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#38#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','38','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020605'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932285;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932285,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#6#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#6#1.账载金额资产原值','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020105'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321309;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321309,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#bxf',' ','A104000期间费用明细表#管理费用#14.保险费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','bxf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=14 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113737365379139584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113737365379139584,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#13#qynd',' ','A105040专项用途财政性资金纳税调整明细#13#5.前一年度','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105040','qynd',' ',' ','{S[SELECT sum(e.FFINANCIALAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-1 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932775;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932775,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#13#hj','{Q[本年上缴财政金额#1.前五年度]}+{Q[本年上缴财政金额#2.前四年度]}+{Q[本年上缴财政金额#3.前三年度]}+{Q[本年上缴财政金额#4.前二年度]}+{Q[本年上缴财政金额#5.前一年度]}+{Q[本年上缴财政金额#6.本年]}','A105040专项用途财政性资金纳税调整明细#本年上缴财政金额#7.合计','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105040','hj','1',' ','{Q[tccit_qysds_a105040#13#qwnd]}+{Q[tccit_qysds_a105040#13#qsind]}+{Q[tccit_qysds_a105040#13#qsand]}+{Q[tccit_qysds_a105040#13#qend]}+{Q[tccit_qysds_a105040#13#qynd]}+{Q[tccit_qysds_a105040#13#bn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320673;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320673,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#6#qwnxj','{Q[6#2.前五年境外所得已缴所得税未抵免余额_前五年]}+{Q[6#3.前五年境外所得已缴所得税未抵免余额_前四年]}+{Q[6#4.前五年境外所得已缴所得税未抵免余额_前三年]}+{Q[6#5.前五年境外所得已缴所得税未抵免余额_前二年]}+{Q[6#6.前五年境外所得已缴所得税未抵免余额_前一年]}','A108030跨年度结转抵免境外所得税明细表#6#7.前五年境外所得已缴所得税未抵免余额_小计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108030','qwnxj','1',' ','{Q[tccit_qysds_a108030#6#qwnqwn]}+{Q[tccit_qysds_a108030#6#qwnqsin]}+{Q[tccit_qysds_a108030#6#qwnqsann]}+{Q[tccit_qysds_a108030#6#qwnqln]}+{Q[tccit_qysds_a108030#6#qwnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113680375298864128;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113680375298864128,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#hbflzrknbks',' ','A106000企业所得税弥补亏损明细表#5#3.分立转出的亏损额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','hbflzrknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'']}>0)      {S[select sum(fflzcje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'']}   #else  #if({S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}<0 )     0-{S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}  #else   {S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932584,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105020#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105020未按权责发生制确认收入纳税调整明细表#表单名称','3','A105020','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321339;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321339,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#fsdwsjsr',' ','A103000事业单位支出明细#金额#5.附属单位上缴收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','fsdwsjsr','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=5 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851058;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851058,{ts'2022-02-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#kcltzxmqt',' ','A105000纳税调整项目明细#账载金额#30.扣除类调整其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','kcltzxmqt','1',' ','{S[select sum(fzzje) from t_tccit_zctz_expense_sum where (FITEMTYPE=''7010501'' or FITEMTYPE=''7010504'')  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}+{S[select sum(fzzje) from t_tccit_beforetax_summary where fitemtype in (''005'',''006'',''007'') and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}+{S[select sum(fzzje) from t_tccit_deduct_other_sum where fitemtype in (''count'') and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321281;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321281,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#2#zlf',' ','A104000期间费用明细表#销售费用境外支付#11.租赁费','1','2','1066581598406760448','qysdsnb','tccit_qysds_a104000','zlf','1',' ','{S[select fselloutside from t_tccit_profit_fees_sum where fitemno=11 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932952,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105090#tabname',' ','企业所得税年度纳税申报表填报表#A105090资产损失税前扣除及纳税调整明细表#表单名称','1','A105090','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105090'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932350;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932350,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#13#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#13#5.税收金额-税收折旧、摊销额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020609'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932195;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932195,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#cxsjcg12gy',' ','A105020未按权责发生确实收入调整明细#1#7.持续时间超过12个月的建造合同收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','cxsjcg12gy',' ',' ','{S[select fsignamount from t_tccit_right_income_sum where FITEMTYPE=''003_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932241;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932241,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#tbnstzyssd',' ','A105000纳税调整项目明细#3#43.特别纳税调整应税所得','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','tbnstzyssd',' ',' ','if({S[select fnstzje from t_tccit_other_spec_sum where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}>0,{S[select fnstzje  from t_tccit_other_spec_sum  where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1135455924392323072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135455924392323072,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#1#qenddme',' ','A107050税额抵免优惠明细表#1#8.前二年度一抵免额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','qenddme',' ',' ','{S[select fqynddme from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321103;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321103,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#pyld',' ','A101010一般企业收入明细表#金额#21.盘盈利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','pyld','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=21 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321268;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321268,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#bxf',' ','A104000期间费用明细表#销售费用#14.保险费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','bxf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=14 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321071;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321071,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#zgxc','{Q[税收金额#13.合计]}','A105000纳税调整项目明细#税收金额#14.职工薪酬','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','zgxc','1',' ','{Q[tccit_qysds_a105050#5#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112230412819628032;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112230412819628032,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#17#qend',' ','A107041高新技术企业优惠情况及明细表#17#3.前二年度','1','17','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend',' ',' ','{S[select fpretwoyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113546108035963904;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113546108035963904,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#nd',' ','A106000企业所得税弥补亏损明细表#5#1.年度','1','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','nd',' ',' ','{C[#year]}-6'); 
DELETE FROM t_tctb_formula WHERE FID = 1112232114658476032;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112232114658476032,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#29#qend',' ','A107041高新技术企业优惠情况及明细表#29#3.前二年度','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend',' ',' ','{S[select fpretwoyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''15'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321079;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321079,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#zcss','{Q[28.合计#1.资产损失的账载金额]}','A105000纳税调整项目明细#账载金额#34.资产损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcss','1',' ','{Q[tccit_qysds_a105090#28#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320828;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320828,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#8#nstzje','{Q[8.其中：固定资产盘亏、丢失、报废、损毁或被盗损失#1.资产损失的账载金额]}-{Q[8.其中：固定资产盘亏、丢失、报废、损毁或被盗损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#8.其中：固定资产盘亏、丢失、报废、损毁或被盗损失#6.纳税调整金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#8#zzje]}+{Q[tccit_qysds_a105090#8#zchxje]}-{Q[tccit_qysds_a105090#8#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112316506236041216;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112316506236041216,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#8#bnmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#8#6.本年末准予提取贷款损失准备金的贷款资产余额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkzcye',' ',' ','{S[select fbnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''8'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113726407625722880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113726407625722880,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#6#qsind',' ','A105040专项用途财政性资金纳税调整明细#6#2.前四年度','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind',' ',' ','select fqsand from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''7'''); 
DELETE FROM t_tctb_formula WHERE FID = 1114449818001867776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114449818001867776,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#2#syje',' ','A000000主要股东及分红情况#2#4.当年（决议日）分配的股息、红利等权益性投资收益金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','syje',' ',' ','{S[select h.fcurryeardividend from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=2 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320686;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320686,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#9#bnxj','{Q[9#8.本年实际抵免以前年度未抵免的境外已缴所得税额_前五年]}+{Q[9#9.本年实际抵免以前年度未抵免的境外已缴所得税额_前四年]}+{Q[9#10.本年实际抵免以前年度未抵免的境外已缴所得税额_前三年]}+{Q[9#11.本年实际抵免以前年度未抵免的境外已缴所得税额_前二年]}+{Q[9#12.本年实际抵免以前年度未抵免的境外已缴所得税额_前一年]}','A108030跨年度结转抵免境外所得税明细表#9#13.本年实际抵免以前年度未抵免的境外已缴所得税额_小计','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108030','bnxj','1',' ','{Q[tccit_qysds_a108030#9#bnqwn]}+{Q[tccit_qysds_a108030#9#bnqsin]}+{Q[tccit_qysds_a108030#9#bnqsann]}+{Q[tccit_qysds_a108030#9#bnqln]}+{Q[tccit_qysds_a108030#9#bnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337825;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337825,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#12#nstze','{Q[10.四、符合条件的技术转让项目#8.纳税调整额]}+{Q[11.四、符合条件的技术转让项目#8.纳税调整额]}','A107020所得减免优惠明细表#12.四、符合条件的技术转让项目小计#8.纳税调整额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze','1',' ','{Q[tccit_qysds_a107020#10#nstze]}+{Q[tccit_qysds_a107020#11#nstze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932121;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932121,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#yyjjycsr',' ','A05010视同销售纳税调整明细#2#4.用于交际应酬视同销售收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','yyjjycsr',' ',' ','{Q[tccit_qysds_a105010#1#yyjjycsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321295;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321295,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#ywzdf',' ','A104000期间费用明细表#管理费用#4.业务招待费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','ywzdf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320746;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320746,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#8#ssje2014zje','{Q[8.（一）重要行业固定资产加速折旧#5.税收金额-税收折旧、摊销额]}-{Q[8.（一）重要行业固定资产加速折旧#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#8.一重要行业固定资产加速折旧#7.税收金额加速折旧、摊销统计额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje','1',' ','{Q[tccit_qysds_a105080#8#ssjessgdzje]}-{Q[tccit_qysds_a105080#8#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851111;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851111,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#6#nstjje',' ','A105070捐赠支出及纳税调整明细#前一年度#6.纳税调减金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105070','nstjje','1',' ','{S[select fmoney from  t_tccit_dg_b105021_sum where FITEMNO=''14c'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114428656245236736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114428656245236736,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#qendynbe',' ','A106000企业所得税弥补亏损明细表#6#7.当年亏损额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','qendynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(flossmoney)  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  {S[SELECT fqendynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932625;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932625,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#sxfjyjsr','{Q[金额#11.结算与清算手续费]}+{Q[金额#12.代理业务手续费]}+{Q[金额#13.信用承诺手续费及佣金]}+{Q[金额#14.银行卡手续费]}+{Q[金额#15.顾问和咨询费]}+{Q[金额#16.托管及其他受托业务佣金]}+{Q[金额#17.手续费其他]}','A101020金融企业收入明细#金额#10.手续费及佣金收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','sxfjyjsr','1',' ','{Q[tccit_qysds_a101020#1#jsyqssxf]}+{Q[tccit_qysds_a101020#1#dlywfy]}+{Q[tccit_qysds_a101020#1#xycnsxfjyj]}+{Q[tccit_qysds_a101020#1#yhksxf]}+{Q[tccit_qysds_a101020#1#gwhzxf]}+{Q[tccit_qysds_a101020#1#tgjqtystwyj]}+{Q[tccit_qysds_a101020#1#sxfjyjsrqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320753;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320753,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#1#nstzje','{Q[1.一、固定资产#2.账载金额本年折旧摊销额]}-{Q[1.一、固定资产#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#1.一、固定资产#9.纳税调整金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#1#zzjebnzj]}-{Q[tccit_qysds_a105080#1#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932460;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932460,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#21#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#21#8.税收金额累计折旧、摊销额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020303'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114447001702891520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114447001702891520,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#5#zjhm',' ','A000000主要股东及分红情况#5#3.证件号码','4','5','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjhm',' ',' ','{S[select h.FIDNUMBER from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=5 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321142;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321142,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#bxywsr',' ','A101020金融企业收入明细#金额#28.保险业务收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','bxywsr','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=28 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135456873882085376;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135456873882085376,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#4#qynddme',' ','A107050税额抵免优惠明细表#4#9.前一年度一抵免额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','qynddme',' ',' ','{S[select fbnsjdmdgndse from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''5'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321039;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321039,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#zxytczxzj','{Q[符合不征税收入条件的财政性资金损益金额#7.合计]}','A105000纳税调整项目明细#调减金额#9.专项用途财政性资金','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','zxytczxzj','1',' ','{Q[tccit_qysds_a105040#4#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113682388296482816;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113682388296482816,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#hbflzrknbks',' ','A106000企业所得税弥补亏损明细表#10#3.分立转出的亏损额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','hbflzrknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'']}>0)      {S[select sum(fflzcje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'']}   #else  #if({S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}<0 )     0-{S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}  #else   {S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932960;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932960,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107030#tabname',' ','企业所得税年度纳税申报表填报表#A107030抵扣应纳税所得额明细表#表单名称','1','A107030','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A107030'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321510;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321510,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#bnkdmjwsdse','{Q[1#12.本年可抵免境外所得税额]}','A108000境外所得税收抵免明细表#合计#12.本年可抵免境外所得税额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','bnkdmjwsdse','1',' ','{Q[tccit_qysds_a108000#1#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#2#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#3#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#4#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#5#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#6#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#7#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#8#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#9#bnkdmjwsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113700691223983104;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113700691223983104,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#nxbn',' ','A106000企业所得税弥补亏损明细表#8#11.可弥补年限8年','1','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','nxbn',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-3 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-3 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}  #else #if({S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}>0 )    0-{S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']} #else  {S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321528;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321528,{ts'2021-06-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#qt',' ','A105050职工薪酬支出明细#账载金额#12.其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','qt','1',' ','{S[select famount from t_tccit_qt_salary_sum where fitemtype=''zzje'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095568540204844032;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095568540204844032,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#btzlrfpqrjesyje',' ','A107011居民企业之间权益性投资收益优惠#4#7.被投资企业利润分配确认金额_依决定归属于本公司的股息、红利等权益性投资收益金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzlrfpqrjesyje',' ',' ','{S[select fqddbtzzc  from t_tccit_dg_b105037_sum where flabel=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338342;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338342,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#2#jmsde','if({Q[2.一、农、林、牧、渔业项目#9.免税项目所得额]}+{Q[2.一、农、林、牧、渔业项目#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#2.一、农、林、牧、渔业项目#11.减免所得额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#2#msxmsde]}+{Q[tccit_qysds_a107020#2#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#2#msxmsde]}+{Q[tccit_qysds_a107020#2#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1122986212395634688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1122986212395634688,{ts'2021-03-30  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#12#xmmc',' ','A107020所得减免优惠明细表#12.四、符合条件的技术转让项目小计#1.项目名称','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select  fyhsxmc from t_tccit_getredu_sum where FREDUCENAME in (1064511039091315712,1119482547752284160) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112231436070420480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112231436070420480,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#23#qend',' ','A107041高新技术企业优惠情况及明细表#23#3.前二年度','1','23','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend',' ',' ','{S[select fpretwoyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''9'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075562026432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075562026432,{ts'2021-08-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#yywsr','{Q[金额#16.营业外收入]}','A100000年度纳税申报表#金额#11.营业外收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','yywsr','1',' ','{Q[tccit_qysds_a101010#1#yywsr]}+{Q[tccit_qysds_a101020#1#yywsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320764;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320764,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#19#nstzje','{Q[19.（一）专利权#2.账载金额本年折旧摊销额]}-{Q[19.（一）专利权#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#19.一专利权#9.纳税调整金额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#19#zzjebnzj]}-{Q[tccit_qysds_a105080#19#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321093;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321093,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#qtywsrfhbxzcjhsr',' ','A101010一般企业收入明细表#金额#11.非货币性资产交换收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','qtywsrfhbxzcjhsr','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=11 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320795;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320795,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#4#ssje','{Q[4.逾期一年以上的小额应收款项损失#4.资产计税基础]}-{Q[4.逾期一年以上的小额应收款项损失#2.资产处置收入]}-{Q[4.逾期一年以上的小额应收款项损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#4.逾期一年以上的小额应收款项损失#5.资产损失的税收金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#4#zcjsjc]}-{Q[tccit_qysds_a105090#4#zcczsr]}-{Q[tccit_qysds_a105090#4#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321392;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321392,{ts'2021-06-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#4#blkcjyjf',' ','A105050职工薪酬支出明细#累计结转扣除额#5.按税收规定比例扣除的职工教育经费','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105050','blkcjyjf','1',' ','{S[select famount from t_tccit_b105014_3_sum where fitemtype=''yqndjz'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932682;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932682,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#fqskfsxshwsr','{Q[本年税收金额#6.分期收款方式销售货物收入]}-{Q[本年账载金额#6.分期收款方式销售货物收入]}','A105020未按权责发生确实收入调整明细#纳税调整金额#6.分期收款方式销售货物收入','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','fqskfsxshwsr','1',' ','{Q[tccit_qysds_a105020#4#fqskfsxshwsr]}-{Q[tccit_qysds_a105020#2#fqskfsxshwsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932471;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932471,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#34#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#34#8.税收金额累计折旧、摊销额','1','34','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020501'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321402;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321402,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#ssgdkce','{P[广告费和业务宣传费扣除限额比率]}','A105060广告业务宣传费跨年纳税调整明细#广告费和业务宣传费#5.税收规定扣除率','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','ssgdkce',' ',' ','{P[GGXCF]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113693246888165376;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113693246888165376,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#dnknbks',' ','A106000企业所得税弥补亏损明细表#3#4.可弥补年限5年','1','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','dnknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-8 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-8 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}  #else #if({S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}>0 )    0-{S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']} #else  {S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338356;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338356,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#18#jmsde','if({Q[18.六、符合条件的节能服务公司实施的合同能源管理项目小计#9.免税项目所得额]}+{Q[18.六、符合条件的节能服务公司实施的合同能源管理项目小计#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#18.六、符合条件的节能服务公司实施的合同能源管理项目小计#11.减免所得额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#18#msxmsde]}+{Q[tccit_qysds_a107020#18#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#18#msxmsde]}+{Q[tccit_qysds_a107020#18#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932847;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932847,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#11#tsnstzje','{Q[11#5.特殊性税务处理递延纳税税收金额]}-{Q[11#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#11#6.特殊性税务处理递延纳税纳税调整金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#11#tsssje]}-{Q[tccit_qysds_a105100#11#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932722;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932722,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#3#ysgj','{Q[持有收益税收金额#4.衍生工具]}-{Q[持有收益账载金额#4.衍生工具]}','A105030投资收益纳税调整明细#持有收益纳税调整金额#4.衍生工具','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105030','ysgj','1',' ','{Q[tccit_qysds_a105030#2#ysgj]}-{Q[tccit_qysds_a105030#1#ysgj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320901;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320901,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#36#nstzje','{Q[36.（一）担保赔偿准备#1.账载金额]}-{Q[36.（一）担保赔偿准备#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#36.一担保赔偿准备#3.纳税调整金额','1','36','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#36#zzje]}-{Q[tccit_qysds_a105120#36#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462501;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462501,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#3#assgdjsdkcxe','{Q[本年#3.按税收规定计算的扣除限额]}','A105070捐赠支出及纳税调整明细#限额扣除的公益性捐赠#3.按税收规定计算的扣除限额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105070','assgdjsdkcxe','1',' ','{Q[tccit_qysds_a105070#7#assgdjsdkcxe]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321114;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321114,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#lxsrqt',' ','A101020金融企业收入明细#金额#9.其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','lxsrqt','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=9 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932354;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932354,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#10#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#10#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020604'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113701229286077440;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113701229286077440,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#nxbn',' ','A106000企业所得税弥补亏损明细表#10#11.可弥补年限8年','1','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','nxbn',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-1 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-1 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}  #else #if({S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}>0 )    0-{S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']} #else  {S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932839;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932839,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#3#tsnstzje','{Q[3#5.特殊性税务处理递延纳税税收金额]}-{Q[3#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#3#6.特殊性税务处理递延纳税纳税调整金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#3#tsssje]}-{Q[tccit_qysds_a105100#3#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320821;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320821,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#1#nstzje','{Q[1.一、现金及银行存款损失#1.资产损失的账载金额]}','A105090资产损失税前扣除及纳税调整明细#1.一、现金及银行存款损失#6.纳税调整金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#1#zzje]}+{Q[tccit_qysds_a105090#1#zchxje]}-{Q[tccit_qysds_a105090#1#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078888722939820032;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078888722939820032,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#37#ssjebnjszje',' ','A105080资产折旧摊销及纳税调整明细#37#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额','1','37','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjebnjszje',' ',' ','{S[select sum(FBNXSJSZC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020603'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113737217504757760;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113737217504757760,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#13#qend',' ','A105040专项用途财政性资金纳税调整明细#13#4.前二年度','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105040','qend',' ',' ','{S[SELECT sum(e.FFINANCIALAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-2 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1181084694133878784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181084694133878784,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#jyjsdyldyewdme','{Q[1#15.按简易办法计算_按低于12.5%的实际税率计算的抵免额]}','A108000境外所得税收抵免明细表#10#15.按简易办法计算_按低于12.5%的实际税率计算的抵免额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsdyldyewdme',' ',' ','{Q[tccit_qysds_a108000#1#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#2#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#3#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#4#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#5#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#6#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#7#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#8#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#9#jyjsdyldyewdme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932703;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932703,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#zcxbqssfqkcnd','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#217政策性搬迁损失分期扣除年度','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','zcxbqssfqkcnd','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932415;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932415,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#31#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#31#3.账载金额累计折旧、摊销额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020403'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133306587876803584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133306587876803584,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#13#fzjgsrze',' ','A109010分支机构信息#13#3.营业收入','1','13','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''13'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112324750325102592;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112324750325102592,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#10#nstzje',' ','A105120贷款损失准备金及纳税调整明细表#10#11.纳税调整金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','nstzje',' ',' ','{Q[tccit_qysds_a105120_dk#1#nstzje]} + {Q[tccit_qysds_a105120_dk#8#nstzje]}+ {Q[tccit_qysds_a105120_dk#9#nstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095562715323219968;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095562715323219968,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#tzxz',' ','A107011居民企业之间权益性投资收益优惠#4#3.投资性质','4','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzxz',' ',' ','{S[select finvesttype from t_tccit_dg_b105037_sum where flabel=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114392053963636736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114392053963636736,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#qsndynbe',' ','A106000企业所得税弥补亏损明细表#5#6.弥补亏损企业类型','4','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'' and flosstype=''jnsd'']}>0)       {S[select fnumber  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'' and flosstype=''jnsd'']}    #else  {S[SELECT fqsndynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321347;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321347,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#zfbzsr',' ','A103000事业单位支出明细#金额#15.政府补助收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','zfbzsr','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=15 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320698;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320698,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#hj','{Q[销售费用#1.职工薪酬]}+{Q[销售费用#2.劳务费]}+{Q[销售费用#3.咨询顾问费]}+{Q[销售费用#4.业务招待费]}+{Q[销售费用#5.广告费和业务宣传费]}+{Q[销售费用#6.佣金和手续费]}+{Q[销售费用#7.资产折旧摊销费]}+{Q[销售费用#8.财产损耗、盘亏及毁损损失]}+{Q[销售费用#9.办公费]}+{Q[销售费用#10.董事会费]}+{Q[销售费用#11.租赁费]}+{Q[销售费用#12.诉讼费]}+{Q[销售费用#13.差旅费]}+{Q[销售费用#14.保险费]}+{Q[销售费用#15.运输、仓储费]}+{Q[销售费用#16.修理费]}+{Q[销售费用#17.包装费]}+{Q[销售费用#18.技术转让费]}+{Q[销售费用#19.研究费用]}+{Q[销售费用#20.各项税费]}+{Q[销售费用#25.其他]}','A104000期间费用明细表#销售费用#26.合计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','hj','1',' ','{Q[tccit_qysds_a104000#1#zgxc]}+{Q[tccit_qysds_a104000#1#lwf]}+{Q[tccit_qysds_a104000#1#zxgwf]}+{Q[tccit_qysds_a104000#1#ywzdf]}+{Q[tccit_qysds_a104000#1#ggxcf]}+{Q[tccit_qysds_a104000#1#yjsxf]}+{Q[tccit_qysds_a104000#1#zczjtxf]}+{Q[tccit_qysds_a104000#1#ccshpk]}+{Q[tccit_qysds_a104000#1#bgf]}+{Q[tccit_qysds_a104000#1#dshf]}+{Q[tccit_qysds_a104000#1#zlf]}+{Q[tccit_qysds_a104000#1#ssf]}+{Q[tccit_qysds_a104000#1#clf]}+{Q[tccit_qysds_a104000#1#bxf]}+{Q[tccit_qysds_a104000#1#ysccf]}+{Q[tccit_qysds_a104000#1#xlf]}+{Q[tccit_qysds_a104000#1#bzf]}+{Q[tccit_qysds_a104000#1#jszrf]}+{Q[tccit_qysds_a104000#1#yjfy]}+{Q[tccit_qysds_a104000#1#gxsf]}+{Q[tccit_qysds_a104000#1#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320615;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320615,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#7#jwsddmsehj','{Q[7#12.本年可抵免境外所得税额]}+{Q[7#14.本年可抵免以前年度未抵免境外所得税额]}+{Q[7#18.按简易办法计算_小计]}','A108000境外所得税收抵免明细表#7#19.境外所得抵免所得税额合计','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsddmsehj','1',' ','{Q[tccit_qysds_a108000#7#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#7#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#7#jyjsxj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932681;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932681,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#fqqrsr','{Q[本年税收金额#5.分期确认收入]}-{Q[本年账载金额#5.分期确认收入]}','A105020未按权责发生确实收入调整明细#纳税调整金额#5.分期确认收入','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','fqqrsr','1',' ','{Q[tccit_qysds_a105020#4#fqqrsr]}-{Q[tccit_qysds_a105020#2#fqqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320578;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320578,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#6#djjnkshjwyne','{Q[6#5.境外应纳税所得额]}-{Q[6#6.抵减境内亏损]}','A108000境外所得税收抵免明细表#6#7.抵减境内亏损后的境外应纳税所得额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108000','djjnkshjwyne','1',' ','{Q[tccit_qysds_a108000#6#jwynssde]}-{Q[tccit_qysds_a108000#6#djjnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321145;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321145,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#tglwcb',' ','A102010一般企业成本支出明细#金额#5.提供劳务成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','tglwcb','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=5 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112311488539835392;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112311488539835392,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#4#jtbl',' ','A105120贷款损失准备金及纳税调整明细表#4#7.计提比例','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jtbl',' ',' ','{S[select fjtbl from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''4'' ]}*100'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320827;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320827,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#7#nstzje','{Q[7.四、固定资产损失#1.资产损失的账载金额]}-{Q[7.四、固定资产损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#7.四、固定资产损失#6.纳税调整金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#7#zzje]}+{Q[tccit_qysds_a105090#7#zchxje]}-{Q[tccit_qysds_a105090#7#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112228786922848256;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112228786922848256,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#29#qynd',' ','A107041高新技术企业优惠情况及明细表#29#2.前一年度','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd',' ',' ','{S[select fpreoneyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''15'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338341;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338341,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#1#jmsde','if({Q[1.一、农、林、牧、渔业项目#9.免税项目所得额]}+{Q[1.一、农、林、牧、渔业项目#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#1.一、农、林、牧、渔业项目#11.减免所得额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#1#msxmsde]}+{Q[tccit_qysds_a107020#1#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#1#msxmsde]}+{Q[tccit_qysds_a107020#1#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321490;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321490,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#6#bndmqynse','{Q[金额#25.应纳所得税额]}-{Q[金额#26.减、免所得税额]}','A107050税额抵免优惠明细表#本年度#2.本年抵免前应纳税额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107050','bndmqynse','1',' ','{Q[tccit_qysds_a100000#1#ynsdse]}-{Q[tccit_qysds_a100000#1#jmsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932990;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932990,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#2#djjnkshjwyne','{Q[2#5.境外应纳税所得额]}-{Q[2#6.抵减境内亏损]}','A108000境外所得税收抵免明细表#2#7.抵减境内亏损后的境外应纳税所得额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108000','djjnkshjwyne','1',' ','{Q[tccit_qysds_a108000#2#jwynssde]}-{Q[tccit_qysds_a108000#2#djjnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462506;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462506,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#8#zzje','{Q[非公益性捐赠#1.账载金额]}+{Q[全额扣除的公益性金额#1.账载金额]}+{Q[限额扣除的公益性捐赠#1.账载金额]}','A105070捐赠支出及纳税调整明细#合计#1.账载金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105070','zzje','1',' ','{Q[tccit_qysds_a105070#1#zzje]}+{Q[tccit_qysds_a105070#2#zzje]}+{Q[tccit_qysds_a105070#3#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112315312176413696;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112315312176413696,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#5#snmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#5#5.上年末准予提取贷款损失准备金的贷款资产余额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkzcye',' ',' ','{S[select fsnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''5'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932513;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932513,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#10#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#10#4.资产计税基础','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''701030501'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113723928775281664;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113723928775281664,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#3#qsand',' ','A105040专项用途财政性资金纳税调整明细#3#3.前三年度','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsand',' ',' ','select fqend from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''3'''); 
DELETE FROM t_tctb_formula WHERE FID = 1113728643139422208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113728643139422208,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#9#qwnd',' ','A105040专项用途财政性资金纳税调整明细#9#1.前五年度','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','select fqsind from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''10'''); 
DELETE FROM t_tctb_formula WHERE FID = 1135444078989956096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135444078989956096,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#1#bndmqynse',' ','A107050税额抵免优惠明细表#1#2.本年抵免前应纳税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','bndmqynse',' ',' ','{S[select fbndmqynse from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320851;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320851,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#2#zzje','{Q[3.1.财产保险业务非投资型#1.账载金额]}+{Q[4.1.财产保险业务投资型保证收益#1.账载金额]}+{Q[5.1.财产保险业务投资型无保证收益#1.账载金额]}+{Q[6.2.人寿保险业务保证收益#1.账载金额]}+{Q[7.2.人寿保险业务无保证收益#1.账载金额]}+{Q[8.3.健康保险业务短期#1.账载金额]}+{Q[9.3.健康保险业务长期#1.账载金额]}+{Q[10.4.意外伤害保险业务非投资型#1.账载金额]}+{Q[11.4.意外伤害保险业务投资型保证收益#1.账载金额]}+{Q[12.4.意外伤害保险业务投资型无保证收益#1.账载金额]}','A105120特殊行业准备金及纳税调整明细表#2.一保险保障基金#1.账载金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105120','zzje','1',' ','{Q[tccit_qysds_a105120#3#zzje]}+{Q[tccit_qysds_a105120#4#zzje]}+{Q[tccit_qysds_a105120#5#zzje]}+{Q[tccit_qysds_a105120#6#zzje]}+{Q[tccit_qysds_a105120#7#zzje]}+{Q[tccit_qysds_a105120#8#zzje]}+{Q[tccit_qysds_a105120#9#zzje]}+{Q[tccit_qysds_a105120#10#zzje]}+{Q[tccit_qysds_a105120#11#zzje]}+{Q[tccit_qysds_a105120#12#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321236;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321236,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#yqdsrwgdzc','{Q[账载金额#27.与取得收入无关的支出]}','A105000纳税调整项目明细#调增金额#27.与取得收入无关的支出','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','yqdsrwgdzc','1',' ','{Q[tccit_qysds_a105000#1#yqdsrwgdzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321131;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321131,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#qtjrywsr',' ','A101020金融企业收入明细#金额#32.其他金融业务收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','qtjrywsr','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=32 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069572819203198976;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069572819203198976,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#1#yftqjfy',' ','A107020所得减免优惠明细表#1#7.应分摊期间费用','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy',' ',' ','{S[select fqjfyfte from t_tccit_getredu_sum where  FREDUCENAME in (1064403692599497729,1064416857580229632,1064416857580229633,1064416857580229634,1064416857580229636,1064416857580229637,1064416857580229638,1064416857580229639,1064506234591581184,1064506234591581185,1064506234591581186)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932366;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932366,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#16#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#16#1.账载金额资产原值','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020201'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113679603513373696;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113679603513373696,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#hbflzrknbks',' ','A106000企业所得税弥补亏损明细表#2#3.分立转出的亏损额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','hbflzrknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'']}>0)      {S[select sum(fflzcje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'']}   #else  #if({S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}<0 )     0-{S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}  #else   {S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932845;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932845,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#9#tsnstzje','{Q[9#5.特殊性税务处理递延纳税税收金额]}-{Q[9#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#9#6.特殊性税务处理递延纳税纳税调整金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#9#tsssje]}-{Q[tccit_qysds_a105100#9#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932423;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932423,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#20#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#20#4.税收金额资产计税基础','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020302'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320908;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320908,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#mssr','{Q[金额#2.国债利息收入]}+{Q[金额#3.符合条件的居民企业之间的股息、红利等权益性投资收益]}+{Q[金额#6.符合条件的非营利组织的收入]}+{Q[金额#9.中国清洁发展机制基金取得的收入]}+{Q[金额#10.证券投资基金投资者获得的分配收入]}+{Q[金额#11.取得的地方政府债券利息所得或收入]}+{Q[金额#12.中国保险保障基金有限责任公司取得的保险保障基金等收入]}+{Q[金额#13.中国奥委会取得北京冬奥组委支付的收入免征企业所得税]}+{Q[金额#14.中国残奥委会取得北京冬奥组委分期支付的收入免征企业所得]}+{Q[金额#15.其他1]}','A107010免税减计收入及加计扣除优惠明细表#金额#1.免税收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','mssr','1',' ','{Q[tccit_qysds_a107010#1#gzlxsr]}+{Q[tccit_qysds_a107010#1#qyxtzsy]}+{Q[tccit_qysds_a107010#1#fylzzsr]}+{Q[tccit_qysds_a107010#1#qjfzjzjjsr]}+{Q[tccit_qysds_a107010#1#zqtzjjfpsr]}+{Q[tccit_qysds_a107010#1#dfzfzqlxsr]}+{Q[tccit_qysds_a107010#1#bxbzjjsr]}+{Q[tccit_qysds_a107010#1#awhjdahqdsr]}+{Q[tccit_qysds_a107010#1#cawhqdsr]}+{Q[tccit_qysds_a107010#1#zydsdggdsfsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932503;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932503,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#8#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#8#2.资产处置收入','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''701030401'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071712176101955584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071712176101955584,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#7#sdjmyhsxdm',' ','A107020所得减免优惠明细表#7#2.所得减免优惠事项代码','4','7','1066581598406760448','qysdsnb','tccit_qysds_a107020','sdjmyhsxdm',' ',' ','{S[select  fyhsxmc from t_tccit_getredu_sum where FREDUCENAME in (1064510411371678720,1064510411371678721,1064510411371678722,1064510411371678723,1064510411371678724,1064510411371678725) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320990;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320990,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#16#qynd','{Q[17.人员人工费用#2.前一年度]}+{Q[18.直接投入费用#2.前一年度]}+{Q[19.折旧费用与长期待摊费用#2.前一年度]}+{Q[20.无形资产摊销费用#2.前一年度]}+{Q[21.设计费用#2.前一年度]}+{Q[22.装备调试费与实验费用#2.前一年度]}+{Q[24.可计入研发费用的其他费用#2.前一年度]}','A107041高新技术企业优惠情况及明细表#16.内部研究开发投入#2.前一年度','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd','1',' ','{Q[tccit_qysds_a107041#17#qynd]}+{Q[tccit_qysds_a107041#18#qynd]}+{Q[tccit_qysds_a107041#19#qynd]}+{Q[tccit_qysds_a107041#20#qynd]}+{Q[tccit_qysds_a107041#21#qynd]}+{Q[tccit_qysds_a107041#22#qynd]}+{Q[tccit_qysds_a107041#24#qynd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932870;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932870,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#sykjzz','[{"val":"","text":""} ,{"val":"110","text":"一般企业"} ,{"val":"120","text":"银行"} ,{"val":"130","text":"证券"} ,{"val":"140","text":"保险"} ,{"val":"150","text":"担保"} ,{"val":"200","text":"小企业会计准则"} ,{"val":"300","text":"企业会计制度"} ,{"val":"410","text":"事业单位会计制度"} ,{"val":"420","text":"科学事业单位会计制度"} ,{"val":"430","text":"医院会计制度"} ,{"val":"440","text":"高等学校会计制度"} ,{"val":"450","text":"中小学校会计制度"} ,{"val":"460","text":"彩票机构会计制度"} ,{"val":"500","text":"民间非营利组织会计制度"} ,{"val":"600","text":"村集体经济组织会计制度"} ,{"val":"700","text":"农民专业合作社财务会计制度（试行）"},{"val":"800","text":"政府会计准则"}, {"val":"999","text":"其他"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#107适用会计准则或会计制度','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','sykjzz','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1114455863663264768;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114455863663264768,{ts'2021-03-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#19#tzbl',' ','A000000主要股东及分红情况#19#3.投资比例（%）','1','19','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','tzbl',' ',' ','{S[select h.finvestrate from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.ffidtype=''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112250762584392704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112250762584392704,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#2#snmdkye',' ','A105120贷款损失准备金及纳税调整明细表#2#1.上年末贷款资产余额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkye',' ',' ','{S[select fsnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''2'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095563606201778176;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095563606201778176,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#tzcb',' ','A107011居民企业之间权益性投资收益优惠#3#4.投资成本','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzcb',' ',' ','{S[select fincost from t_tccit_dg_b105037_sum where flabel=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931981;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931981,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#fhtjdyxzlxsr','{Q[永续债#17.合计]}','A107010免税减计收入及加计扣除优惠明细表#1#3.5.符合条件的永续债利息收入免征企业所得税','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','fhtjdyxzlxsr',' ',' ','{Q[tccit_qysds_a107011#13#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077609497104493568;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077609497104493568,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#40#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#40#3.账载金额累计折旧、摊销额','1','40','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020612'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932838;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932838,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#2#tsnstzje','{Q[2#5.特殊性税务处理递延纳税税收金额]}-{Q[2#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#2#6.特殊性税务处理递延纳税纳税调整金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#2#tsssje]}-{Q[tccit_qysds_a105100#2#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133325518020782080;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133325518020782080,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#zjgjwsddmhynse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#16.总机构境外所得抵免后的应纳所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','zjgjwsddmhynse',' ',' ','{Q[tccit_qysds_a109000#1#jwsdynsdse1]} - {Q[tccit_qysds_a109000#1#jwsddmsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932708;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932708,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#1#hj','{Q[持有收益账载金额#1.交易性金融资产]}+{Q[持有收益账载金额#2.可供出售金融资]}+{Q[持有收益账载金额#3.持有至到期投资]}+{Q[持有收益账载金额#4.衍生工具]}+{Q[持有收益账载金额#5.交易性金融负债]}+{Q[持有收益账载金额#6.长期股权投资]}+{Q[持有收益账载金额#7.短期投资]}+{Q[持有收益账载金额#8.长期债券投资]}+{Q[持有收益账载金额#9.其他]}','A105030投资收益纳税调整明细#持有收益账载金额#10.合计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105030','hj','1',' ','{Q[tccit_qysds_a105030#1#jyxjrzc]}+{Q[tccit_qysds_a105030#1#kgcsjrzc]}+{Q[tccit_qysds_a105030#1#cyzdqtz]}+{Q[tccit_qysds_a105030#1#ysgj]}+{Q[tccit_qysds_a105030#1#jyxjrfz]}+{Q[tccit_qysds_a105030#1#cqgqtz]}+{Q[tccit_qysds_a105030#1#dqtz]}+{Q[tccit_qysds_a105030#1#cqzqtz]}+{Q[tccit_qysds_a105030#1#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113757142839570432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113757142839570432,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#4#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#4#5.特殊性税务处理递延纳税税收金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010302'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112310500303092736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112310500303092736,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#3#snmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#3#5.上年末准予提取贷款损失准备金的贷款资产余额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkzcye',' ',' ','{Q[tccit_qysds_a105120_dk#4#snmdkzcye]} + {Q[tccit_qysds_a105120_dk#5#snmdkzcye]}+ {Q[tccit_qysds_a105120_dk#6#snmdkzcye]}+ {Q[tccit_qysds_a105120_dk#7#snmdkzcye]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321263;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321263,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#dshf',' ','A104000期间费用明细表#销售费用#10.董事会费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','dshf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=10 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321252;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321252,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#zcss','if({Q[28.合计#6.纳税调整金额]}>={Q[28.合计#6.纳税调整金额]},)','A105000纳税调整项目明细#调增金额#34.资产损失','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcss','1',' ','if({Q[tccit_qysds_a105090#28#nstzje]}>=0,{Q[tccit_qysds_a105090#28#nstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321153;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321153,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#bzwczcb',' ','A102010一般企业成本支出明细#金额#14.包装物出租成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','bzwczcb','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=14 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069465907534818304;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069465907534818304,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#19#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#19#7.资产损失准备金核销金额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''70103080103'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135408719983862784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135408719983862784,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#32#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#32#研发活动费用金额','1','32','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=32]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135410710273385472;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135410710273385472,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#49#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#49#研发活动费用金额','1','49','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=49]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1199134084446624768;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1199134084446624768,{ts'2021-07-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#42#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#42#2.账载金额本年折旧摊销额','1','42','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321401;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321401,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#bnjsggfhywxcfkcedxssr',' ','A105060广告业务宣传费跨年纳税调整明细#金额#4.本年计算广告费和业务宣传费扣除限额的销售营业收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','bnjsggfhywxcfkcedxssr','1',' ','{S[SELECT FMONEY FROM t_tccit_advert_script WHERE FITEMNO=''7'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320885;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320885,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#20#nstzje','{Q[20.（七）其他#1.账载金额]}-{Q[20.（七）其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#20.七其他#3.纳税调整金额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#20#zzje]}-{Q[tccit_qysds_a105120#20#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932680;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932680,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#txqsyf','{Q[本年税收金额#4.特许权使用费]}-{Q[本年账载金额#4.特许权使用费]}','A105020未按权责发生确实收入调整明细#纳税调整金额#4.特许权使用费','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','txqsyf','1',' ','{Q[tccit_qysds_a105020#4#txqsyf]}-{Q[tccit_qysds_a105020#2#txqsyf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320675;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320675,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#8#qwnxj','{Q[8#2.前五年境外所得已缴所得税未抵免余额_前五年]}+{Q[8#3.前五年境外所得已缴所得税未抵免余额_前四年]}+{Q[8#4.前五年境外所得已缴所得税未抵免余额_前三年]}+{Q[8#5.前五年境外所得已缴所得税未抵免余额_前二年]}+{Q[8#6.前五年境外所得已缴所得税未抵免余额_前一年]}','A108030跨年度结转抵免境外所得税明细表#8#7.前五年境外所得已缴所得税未抵免余额_小计','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108030','qwnxj','1',' ','{Q[tccit_qysds_a108030#8#qwnqwn]}+{Q[tccit_qysds_a108030#8#qwnqsin]}+{Q[tccit_qysds_a108030#8#qwnqsann]}+{Q[tccit_qysds_a108030#8#qwnqln]}+{Q[tccit_qysds_a108030#8#qwnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135471514670559232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135471514670559232,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#kjxzxqyyff',' ','A107010免税减计收入及加计扣除优惠明细表#1#27.科技型中小企业开发新技术、新产品、新工艺发生的研究开发费用加计扣除','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','kjxzxqyyff',' ',' ','if({Q[tccit_qysds_a000000#1#ssqxynd]}=0,0,{Q[tccit_qysds_a107012_mx#51#yfhdfyje]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321282;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321282,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#2#ysccf',' ','A104000期间费用明细表#销售费用境外支付#15.运输、仓储费','1','2','1066581598406760448','qysdsnb','tccit_qysds_a104000','ysccf','1',' ','{S[select fselloutside from t_tccit_profit_fees_sum where fitemno=15 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135409128685271040;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135409128685271040,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#36#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#36#研发活动费用金额','1','36','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=36]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113725260894620672;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113725260894620672,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#4#qsand',' ','A105040专项用途财政性资金纳税调整明细#4#3.前三年度','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsand',' ',' ','{S[SELECT sum(e.FINCOMEAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-3 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133310489653389312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133310489653389312,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#4#fpbl',' ','A109010分支机构信息#4#6.分配比例','1','4','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#4#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#4#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#4#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321514;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321514,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#yjhsxfzc','{Q[保险企业手续费及佣金支出#1.本年支出]}+','A105000纳税调整项目明细#账载金额#23.佣金和手续费支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','yjhsxfzc','1',' ','{Q[tccit_qysds_a105060#2#bnggfhywxcfzc]}+{S[select fzzje from t_tccit_non_insurance_sum where fitemtype=''count'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932158;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932158,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#zcjzzbj',' ','A105000纳税调整项目明细#1#33.资产减值准备金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcjzzbj',' ',' ','{S[select sum(FZZJE) from t_tccit_assets_summary where forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320719;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320719,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#1#ssjeljzje','{Q[2.（一）房屋、建筑物#8.税收金额累计折旧、摊销额]}+{Q[3.（二）飞机、火车、轮船、机器、机械和其他生产设备#8.税收金额累计折旧、摊销额]}+{Q[4.（三）与生产经营活动有关的器具、工具、家具等#8.税收金额累计折旧、摊销额]}+{Q[5.（四）飞机、火车、轮船以外的运输工具#8.税收金额累计折旧、摊销额]}+{Q[6.（五）电子设备#8.税收金额累计折旧、摊销额]}+{Q[7.（六）其他#8.税收金额累计折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#1.一、固定资产#8.税收金额累计折旧、摊销额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje','1',' ','{Q[tccit_qysds_a105080#2#ssjeljzje]}+{Q[tccit_qysds_a105080#3#ssjeljzje]}+{Q[tccit_qysds_a105080#4#ssjeljzje]}+{Q[tccit_qysds_a105080#5#ssjeljzje]}+{Q[tccit_qysds_a105080#6#ssjeljzje]}+{Q[tccit_qysds_a105080#7#ssjeljzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932291;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932291,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#6#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#6#2.账载金额本年折旧摊销额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020105'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932726;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932726,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#3#cqzqtz','{Q[持有收益税收金额#8.长期债券投资]}-{Q[持有收益账载金额#8.长期债券投资]}','A105030投资收益纳税调整明细#持有收益纳税调整金额#8.长期债券投资','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqzqtz','1',' ','{Q[tccit_qysds_a105030#2#cqzqtz]}-{Q[tccit_qysds_a105030#1#cqzqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114447556777083904;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114447556777083904,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#9#zjhm',' ','A000000主要股东及分红情况#9#3.证件号码','4','9','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjhm',' ',' ','{S[select h.FIDNUMBER from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=9 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932332;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932332,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#9#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#9#3.账载金额累计折旧、摊销额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020602'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321017;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321017,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#jwsddmsdse','{Q[合计#19.境外所得抵免所得税额合计]}','A100000年度纳税申报表#金额#30.减：境外所得抵免所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','jwsddmsdse','1',' ','{Q[tccit_qysds_a108000#10#jwsddmsehj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320922;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320922,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#45#yfhdfyje','{Q[41#研发活动费用金额]}+{Q[43#研发活动费用金额]}+{Q[44#研发活动费用金额]}','A107012研发费用加计扣除优惠明细#45#研发活动费用金额','1','45','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','{Q[tccit_qysds_a107012_mx#41#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#43#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#44#yfhdfyje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932724;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932724,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#3#cqgqtz','{Q[持有收益税收金额#6.长期股权投资]}-{Q[持有收益账载金额#6.长期股权投资]}','A105030投资收益纳税调整明细#持有收益纳税调整金额#6.长期股权投资','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqgqtz','1',' ','{Q[tccit_qysds_a105030#2#cqgqtz]}-{Q[tccit_qysds_a105030#1#cqgqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338339;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338339,{ts'2021-03-30  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#12#msxmsde','if({Q[12.四、符合条件的技术转让项目小计#4.项目收入]}-{Q[12.四、符合条件的技术转让项目小计#5.项目成本]}-{Q[12.四、符合条件的技术转让项目小计#6.相关税费]}-{Q[12.四、符合条件的技术转让项目小计#7.应分摊期间费用]}+{Q[12.四、符合条件的技术转让项目小计#8.纳税调整额]}<=)','A107020所得减免优惠明细表#12.四、符合条件的技术转让项目小计#9.免税项目所得额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde','1',' ','if({S[select  FREDUCENAME from t_tccit_getredu_sum where FREDUCENAME in (1064511039091315712,1119482547752284160) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}=1064511039091315712,if({Q[tccit_qysds_a107020#12#xmsr]}-{Q[tccit_qysds_a107020#12#xmcb]}-{Q[tccit_qysds_a107020#12#xgsf]}-{Q[tccit_qysds_a107020#12#yftqjfy]}+{Q[tccit_qysds_a107020#12#nstze]}<=5000000,{Q[tccit_qysds_a107020#12#xmsr]}-{Q[tccit_qysds_a107020#12#xmcb]}-{Q[tccit_qysds_a107020#12#xgsf]}-{Q[tccit_qysds_a107020#12#yftqjfy]}+{Q[tccit_qysds_a107020#12#nstze]},5000000),if({Q[tccit_qysds_a107020#12#xmsr]}-{Q[tccit_qysds_a107020#12#xmcb]}-{Q[tccit_qysds_a107020#12#xgsf]}-{Q[tccit_qysds_a107020#12#yftqjfy]}+{Q[tccit_qysds_a107020#12#nstze]}<=20000000,{Q[tccit_qysds_a107020#12#xmsr]}-{Q[tccit_qysds_a107020#12#xmcb]}-{Q[tccit_qysds_a107020#12#xgsf]}-{Q[tccit_qysds_a107020#12#yftqjfy]}+{Q[tccit_qysds_a107020#12#nstze]},20000000))'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321267;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321267,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#clf',' ','A104000期间费用明细表#销售费用#13.差旅费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','clf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=13 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932245;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932245,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#4#jyxjrzc',' ','A105030投资收益纳税调整明细#4#1.交易性金融资产','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrzc',' ',' ','{S[select fkjqrczsr from t_tccit_asset_dispose_sum where fitemtype=''6010801'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932200;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932200,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#qtfqqrsr',' ','A105020未按权责发生确实收入调整明细#1#8.其他分期确认收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','qtfqqrsr',' ',' ','{S[select fsignamount from t_tccit_right_income_sum where FITEMTYPE=''003_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133313622882363392;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133313622882363392,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#10#fpse',' ','A109010分支机构信息#10#7.分配所得税额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#10#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338363;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338363,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#25#jmsde','if({Q[25.九、其他#9.免税项目所得额]}+{Q[25.九、其他#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#25.九、其他#11.减免所得额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#25#msxmsde]}+{Q[tccit_qysds_a107020#25#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#25#msxmsde]}+{Q[tccit_qysds_a107020#25#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1135461526992606208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135461526992606208,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#5#bnsjdmdgndse',' ','A107050税额抵免优惠明细表#5#11.本年实际抵免的各年度税额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse',' ',' ','{S[select t.fbnsjdmdgndse from t_tccit_yh_taxcredit_data t where t.forgid=''#orgid'' and t.fitemno=5]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932205;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932205,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#qtwaqzfszqrsr',' ','A105020未按权责发生确实收入调整明细#1#13.其他未按权责发生制确认收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','qtwaqzfszqrsr',' ',' ','{S[select fsignamount from t_tccit_right_income_sum where FITEMTYPE=''004'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932768;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932768,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#12#bn','{Q[符合不征税收入条件的财政性资金金额#6.本年]}-{Q[本年支出金额#6.本年]}','A105040专项用途财政性资金纳税调整明细#本年结余金额#6.本年','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105040','bn','1',' ','{Q[tccit_qysds_a105040#3#bn]}-{Q[tccit_qysds_a105040#10#bn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075553638288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075553638288,{ts'2021-03-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#qsndynbe','[{"val":"","text":""},{"val":"100","text":"一般企业"},{"val":"200","text":"符合条件的高新技术企业"},{"val":"300","text":"符合条件的科技型中小企业"},{"val":"400","text":"线宽小于 130 纳米(含)的集成电路生产企业"},{"val":"500","text":"受疫情影响困难行业企业"},{"val":"600","text":"电影行业企业"}]','A106000企业所得税弥补亏损明细表#9.前二年度#6.弥补亏损企业类型','3','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1113731150351747072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113731150351747072,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#11#qsind',' ','A105040专项用途财政性资金纳税调整明细#11#2.前四年度','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind',' ',' ','{S[SELECT sum(e.FEXPENSINGAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-4 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932299;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932299,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#2#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#2#4.税收金额资产计税基础','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020101'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321523;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321523,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#2#kjxqy','{P[创业投资企业抵减应纳税所得比例]}','A107030抵扣应纳税所得额明细表#2#3.投资于种子期、初创期科技型企业','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107030','kjxqy','1',' ','{P[CTQYDJ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321002;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321002,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#14#je','{Q[13.自主设计开发销售（营业）收入#2.金额]}/{Q[10.企业收入总额#2.金额]}','A107042软件、集成电路企业优惠情况及明细表#14.自主设计开发收入占企业收入总额的比例#2.金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a107042','je','1',' ','{Q[tccit_qysds_a107042#13#je]}/{Q[tccit_qysds_a107042#10#je]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932648;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932648,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#stxsyysr','{Q[纳税调整金额#2.非货币性资产交换视同销售收入]}+{Q[纳税调整金额#3.用于市场推广或销售视同销售收入]}+{Q[纳税调整金额#4.用于交际应酬视同销售收入]}+{Q[纳税调整金额#5.用于职工奖励或福利视同销售收入]}+{Q[纳税调整金额#6.用于股息分配视同销售收入]}+{Q[纳税调整金额#7.用于对外捐赠视同销售收入]}+{Q[纳税调整金额#8.用于对外投资项目视同销售收入]}+{Q[纳税调整金额#9.提供劳务视同销售收入]}+{Q[纳税调整金额#10.视同销售收入其他]}','A05010视同销售纳税调整明细#纳税调整金额#1.视同销售营业收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','stxsyysr','1',' ','{Q[tccit_qysds_a105010#2#fhbxzcjhsr]}+{Q[tccit_qysds_a105010#2#yysctgsr]}+{Q[tccit_qysds_a105010#2#yyjjycsr]}+{Q[tccit_qysds_a105010#2#yyzgjlsr]}+{Q[tccit_qysds_a105010#2#yygxfpsr]}+{Q[tccit_qysds_a105010#2#yydwjzsr]}+{Q[tccit_qysds_a105010#2#yydwtzsr]}+{Q[tccit_qysds_a105010#2#tglwsr]}+{Q[tccit_qysds_a105010#2#stxsyysrqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321135;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321135,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#fhbxzcjhld',' ','A101020金融企业收入明细#金额#37.非货币性资产交换利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','fhbxzcjhld','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=37 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114450666064969728;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114450666064969728,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#7#syje',' ','A000000主要股东及分红情况#7#4.当年（决议日）分配的股息、红利等权益性投资收益金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','syje',' ',' ','{S[select h.fcurryeardividend from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=7 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320772;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320772,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#29#nstzje','{Q[29.（一）已足额提取折旧的固定资产的改建支出#2.账载金额本年折旧摊销额]}-{Q[29.（一）已足额提取折旧的固定资产的改建支出#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#29.一已足额提取折旧的固定资产的改建支出#9.纳税调整金额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#29#zzjebnzj]}-{Q[tccit_qysds_a105080#29#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321337;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321337,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#sysr',' ','A103000事业单位支出明细#金额#3.事业收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','sysr','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321529;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321529,{ts'2021-06-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#qt',' ','A105050职工薪酬支出明细#实际发生额#12.其他','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','qt','1',' ','{S[select famount from t_tccit_qt_salary_sum where fitemtype=''sjfsje'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932528;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932528,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#14#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#14#3.赔偿收入','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype in(''701030701'',''701030702'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931978;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931978,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#2#ljjzyhndkce','{Q[保险企业手续费及佣金支出#7.本年结转以后年度扣除额]}+{Q[保险企业手续费及佣金支出#8.加：以前年度累计结转扣除额]}-{Q[保险企业手续费及佣金支出#9.减：本年扣除的以前年度结转额]}','A105060广告业务宣传费跨年纳税调整明细#2#13.累计结转以后年度扣除额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105060','ljjzyhndkce',' ',' ','{Q[tccit_qysds_a105060#2#bnjzyhndkce]}+{Q[tccit_qysds_a105060#2#yqndljjzkce]}-{Q[tccit_qysds_a105060#2#bnkcdyqndjze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112322812128835584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112322812128835584,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#7#jszbje',' ','A105120贷款损失准备金及纳税调整明细表#7#8.按本年末准予提取贷款资产余额与计提比例计算的准备金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jszbje',' ',' ','{Q[tccit_qysds_a105120_dk#7#bnmdkzcye]} * {Q[tccit_qysds_a105120_dk#7#jtbl]}/100'); 
DELETE FROM t_tctb_formula WHERE FID = 1135408104528508928;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135408104528508928,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#26#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#26#研发活动费用金额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=26]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321512;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321512,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#sl1','{P[企业所得税税率]}','A100000年度纳税申报表#金额#24.税率','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','sl1','1',' ','{P[SYSL]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932233;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932233,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#aqyhscqtz',' ','A105000纳税调整项目明细#4#5.按权益法核算长期股权投资对初始投资成本调整确认收益','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','aqyhscqtz',' ',' ','#if({S[select fskcyje from t_tccit_tzzccscbtz_sum where forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' and fitemtype=''cqgqtz'']} > 0) {S[select fskcyje from t_tccit_tzzccscbtz_sum where forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' and fitemtype=''cqgqtz'']} #else 0-({S[select fskcyje from t_tccit_tzzccscbtz_sum where forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' and fitemtype=''cqgqtz'']}) #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1113546283726969856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113546283726969856,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#nd',' ','A106000企业所得税弥补亏损明细表#7#1.年度','1','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','nd',' ',' ','{C[#year]}-4'); 
DELETE FROM t_tctb_formula WHERE FID = 1071717322202584064;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071717322202584064,{ts'2021-03-30  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#10#xmmc',' ','A107020所得减免优惠明细表#10#1.项目名称','4','10','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select   fprojectname from t_tccit_getredu_sum where FREDUCENAME in (1064511039091315712,1119482547752284160)  and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932330;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932330,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#14#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#14#2.账载金额本年折旧摊销额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020610'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135426842355066880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135426842355066880,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#10#kjzyhnddmdse',' ','A107050税额抵免优惠明细表#10#12.可结转以后年度抵免的税额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107050','kjzyhnddmdse',' ',' ','{S[select t.ftaxamount from t_tccit_yh_taxcredit_sum t where t.forgid=''#orgid'' and t.fskssqq=''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''902'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337820;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337820,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#9#nstze','{Q[7.三、符合条件的环境保护、节能节水项目#8.纳税调整额]}+{Q[8.三、符合条件的环境保护、节能节水项目#8.纳税调整额]}','A107020所得减免优惠明细表#9.三、符合条件的环境保护、节能节水项目小计#8.纳税调整额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze','1',' ','{Q[tccit_qysds_a107020#7#nstze]}+{Q[tccit_qysds_a107020#8#nstze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133311172695795712;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133311172695795712,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#8#fpbl',' ','A109010分支机构信息#8#6.分配比例','1','8','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#8#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#8#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#8#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1112313232481106944;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112313232481106944,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#10#bnmdkye',' ','A105120贷款损失准备金及纳税调整明细表#10#2.本年末贷款资产余额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkye',' ',' ','{Q[tccit_qysds_a105120_dk#1#bnmdkye]} + {Q[tccit_qysds_a105120_dk#8#bnmdkye]}+ {Q[tccit_qysds_a105120_dk#9#bnmdkye]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114455316977680384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114455316977680384,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#8#gj',' ','A000000主要股东及分红情况#8#5.国籍','4','8','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gj',' ',' ','{C[#guoji_8]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320597;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320597,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#7#wcgjwdmxeye','{Q[7#11.境外所得抵免限额]}-{Q[7#12.本年可抵免境外所得税额]}','A108000境外所得税收抵免明细表#7#13.未超过境外所得税抵免限额的余额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108000','wcgjwdmxeye','1',' ','{Q[tccit_qysds_a108000#7#jwsddmxe]}-{Q[tccit_qysds_a108000#7#bnkdmjwsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932562;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932562,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#25#zzje',' ','A105090资产损失税前扣除及纳税调整明细#25#1.资产损失的账载金额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''7010310'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112310639084223488;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112310639084223488,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#3#bnmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#3#6.本年末准予提取贷款损失准备金的贷款资产余额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkzcye',' ',' ','{Q[tccit_qysds_a105120_dk#4#bnmdkzcye]} + {Q[tccit_qysds_a105120_dk#5#bnmdkzcye]}+ {Q[tccit_qysds_a105120_dk#6#bnmdkzcye]}+ {Q[tccit_qysds_a105120_dk#7#bnmdkzcye]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932125;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932125,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#yydwtzsr',' ','A05010视同销售纳税调整明细#2#8.用于对外投资项目视同销售收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','yydwtzsr',' ',' ','{Q[tccit_qysds_a105010#1#yydwtzsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095562940137914368;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095562940137914368,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#tzxz',' ','A107011居民企业之间权益性投资收益优惠#5#3.投资性质','4','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzxz',' ',' ','{S[select finvesttype  from t_tccit_dg_b105036_sum where fitemno=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320619;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320619,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#2#jwshxj','{Q[2#2.境外税后所得_分支机构机构营业利润所得]}+{Q[2#3.境外税后所得_股息、红利等权益性投资所得]}+{Q[2#4.境外税后所得_利息所得]}+{Q[2#5.境外税后所得_租金所得]}+{Q[2#6.境外税后所得_特许权使用费所得]}+{Q[2#7.境外税后所得_财产转让所得]}+{Q[2#8.境外税后所得_其他所得]}','A108010境外所得纳税调整后所得明细表#2#9.境外税后所得_小计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwshxj','1',' ','{Q[tccit_qysds_a108010#2#jwshfzjgyylr]}+{Q[tccit_qysds_a108010#2#jwshgxhltzsd]}+{Q[tccit_qysds_a108010#2#jwshlxsd]}+{Q[tccit_qysds_a108010#2#jwshzjsd]}+{Q[tccit_qysds_a108010#2#jwshtxqfysd]}+{Q[tccit_qysds_a108010#2#jwshcczrsd]}+{Q[tccit_qysds_a108010#2#jwshqtsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321194;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321194,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#bzssr','{Q[调减金额#9.专项用途财政性资金]}','A105000纳税调整项目明细#调减金额#8.不征税收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','bzssr','1',' ','{Q[tccit_qysds_a105000#4#zxytczxzj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095563125341601792;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095563125341601792,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#tzxz',' ','A107011居民企业之间权益性投资收益优惠#7#3.投资性质','4','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzxz',' ',' ','{S[select finvesttype  from t_tccit_dg_b105036_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321089;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321089,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#jzhtsr',' ','A101010一般企业收入明细表#金额#6.建造合同收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','jzhtsr','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=6 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932973;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932973,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#3#bnkdmse','{Q[前三年度#3.本年允许抵免的专用设备投资额]}*0.1','A107050税额抵免优惠明细表#前三年度#4.本年可抵免税额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnkdmse','1',' ','{Q[tccit_qysds_a107050#3#bnyxdmdzysbtze]}*0.1'); 
DELETE FROM t_tctb_formula WHERE FID = 1296958715060048896;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1296958715060048896,{ts'2021-11-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#zhsjfsdyysj','{Q[税收金额#29.转回实际发生的营业税金及附加、土地增值税]}',' ','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','zhsjfsdyysj',' ',' ','{Q[tccit_qysds_a105010#1#zhsjfsdyysj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114439136150110208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114439136150110208,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#qyndynbe',' ','A106000企业所得税弥补亏损明细表#10#8.当年待弥补的亏损额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','qyndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fbnkmbksje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}>0) 0-{S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}  #else {S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1123712365922429952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123712365922429952,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#29#jbxmsde',' ','A107020所得减免优惠明细表#29#10.减半项目所得额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#29#yhfs]}''==''减半征收'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337830;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337830,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#15#nstze','{Q[13.五、清洁发展机制项目#8.纳税调整额]}+{Q[14.五、清洁发展机制项目#8.纳税调整额]}','A107020所得减免优惠明细表#15.五、清洁发展机制项目小计#8.纳税调整额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze','1',' ','{Q[tccit_qysds_a107020#13#nstze]}+{Q[tccit_qysds_a107020#14#nstze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114443429498061824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114443429498061824,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#8#zjlx',' ','A000000主要股东及分红情况#8#2.证件种类','1','8','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx',' ',' ','{S[select h.ffidtype from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=8 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133295553116088320;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133295553116088320,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#2#fzjgnsrsbh',' ','A109010分支机构信息#2#1.分支机构纳税人识别号','4','2','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''2'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069573190625595392;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069573190625595392,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#1#nstze',' ','A107020所得减免优惠明细表#1#8.纳税调整额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze',' ',' ','{S[select   FNSTZ from t_tccit_getredu_sum where  FREDUCENAME in (1064403692599497729,1064416857580229632,1064416857580229633,1064416857580229634,1064416857580229636,1064416857580229637,1064416857580229638,1064416857580229639,1064506234591581184,1064506234591581185,1064506234591581186)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932191;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932191,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#fqskfsxshwsr',' ','A105020未按权责发生确实收入调整明细#2#6.分期收款方式销售货物收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','fqskfsxshwsr',' ',' ','{S[select fzzjecurrent from t_tccit_right_income_sum where FITEMTYPE=''003_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321323;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321323,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#4#xlf',' ','A104000期间费用明细表#管理费用境外支付#16.修理费','1','4','1066581598406760448','qysdsnb','tccit_qysds_a104000','xlf','1',' ','{S[select fmanageoutside from t_tccit_profit_fees_sum where fitemno=16 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932360;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932360,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#9#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#9#8.税收金额累计折旧、摊销额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje) from t_tccit_zczjtx_summary where FITEMTYPE=''701020602'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320894;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320894,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#29#nstzje','{Q[29.（三）期货投资者保障基金#1.账载金额]}-{Q[29.（三）期货投资者保障基金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#29.三期货投资者保障基金#3.纳税调整金额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#29#zzje]}-{Q[tccit_qysds_a105120#29#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112233716387676160;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112233716387676160,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#26#hj','{Q[26.境内的外部研发费#1.本年度]}','A107041高新技术企业优惠情况及明细表#26#4.合计','1','26','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{Q[tccit_qysds_a107041#26#bnd]}+{Q[tccit_qysds_a107041#26#qynd]}+{Q[tccit_qysds_a107041#26#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932728;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932728,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#8#jyxjrzc','{Q[处置收益会计确认处置收入#1.交易性金融资产]}-{Q[处置收益账面价值#1.交易性金融资产]}','A105030投资收益纳税调整明细#处置收益会计确认所得或损失#1.交易性金融资产','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrzc','1',' ','{Q[tccit_qysds_a105030#4#jyxjrzc]}-{Q[tccit_qysds_a105030#6#jyxjrzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069590399606263808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069590399606263808,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#1#msxmsde',' ','A107020所得减免优惠明细表#1#9.免税项目所得额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#1#yhfs]}''==''免税'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1064403692599497729,1064416857580229632,1064416857580229633,1064416857580229634,1064416857580229636,1064416857580229637,1064416857580229638,1064416857580229639,1064506234591581184,1064506234591581185,1064506234591581186) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1064403692599497729,1064416857580229632,1064416857580229633,1064416857580229634,1064416857580229636,1064416857580229637,1064416857580229638,1064416857580229639,1064506234591581184,1064506234591581185,1064506234591581186) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1135426642001553408;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135426642001553408,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#9#kjzyhnddmdse',' ','A107050税额抵免优惠明细表#9#12.可结转以后年度抵免的税额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107050','kjzyhnddmdse',' ',' ','{S[select t.ftaxamount from t_tccit_yh_taxcredit_sum t where t.forgid=''#orgid'' and t.fskssqq=''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''901'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135343445054158848;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135343445054158848,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#6#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#6#研发活动费用金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=6]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113724479688723456;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113724479688723456,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#3#qend',' ','A105040专项用途财政性资金纳税调整明细#3#4.前二年度','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105040','qend',' ',' ','select fqynd from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''3'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320693;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320693,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#6#jzxj','{Q[6#14.结转以后年度抵免的境外所得已缴所得税额_前四年]}+{Q[6#15.结转以后年度抵免的境外所得已缴所得税额_前三年]}+{Q[6#16.结转以后年度抵免的境外所得已缴所得税额_前二年]}+{Q[6#17.结转以后年度抵免的境外所得已缴所得税额_前一年]}+{Q[6#18.结转以后年度抵免的境外所得已缴所得税额_本年]}','A108030跨年度结转抵免境外所得税明细表#6#19.结转以后年度抵免的境外所得已缴所得税额_小计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108030','jzxj','1',' ','{Q[tccit_qysds_a108030#6#jzqsin]}+{Q[tccit_qysds_a108030#6#jzqsann]}+{Q[tccit_qysds_a108030#6#jzqln]}+{Q[tccit_qysds_a108030#6#jzqyn]}+{Q[tccit_qysds_a108030#6#jbzn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932916;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932916,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#hj','{Q[3#7.被投资企业利润分配确认金额_依决定归属于本公司的股息、红利等权益性投资收益金额]}+{Q[3#10.被投资企业清算确认金额_应确认的股息所得]}+{Q[3#16.撤回或减少投资确认金额_应确认的股息所得]}','A107011居民企业之间权益性投资收益优惠#3#17.合计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj','1',' ','{Q[tccit_qysds_a107011#3#btzlrfpqrjesyje]}+{Q[tccit_qysds_a107011#3#btzqsqrjeyqrgxsd]}+{Q[tccit_qysds_a107011#3#chjstzqrjeyqrgxsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932133;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932133,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#yydwjzcb',' ','A05010视同销售纳税调整明细#2#17.用于对外捐赠视同销售成本','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','yydwjzcb',' ',' ','{Q[tccit_qysds_a105010#1#yydwjzcb]}*-1'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932302;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932302,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#5#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#5#4.税收金额资产计税基础','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020104'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932296;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932296,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#5#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#5#3.账载金额累计折旧、摊销额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020104'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095560745074081792;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095560745074081792,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#btzqy',' ','A107011居民企业之间权益性投资收益优惠#5#1.被投资企业','4','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqy',' ',' ','{S[select ftzbdname from t_tccit_dg_b105036_sum where fitemno=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320712;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320712,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#hj','{Q[调增金额#1.收入类调整项目]}+{Q[调增金额#12.扣除类调整项目]}+{Q[调增金额#31.资产类调整项目]}+{Q[调增金额#36.特殊事项调整项目]}+{Q[调增金额#43.特别纳税调整应税所得]}+{Q[调增金额#44.其他]}','A105000纳税调整项目明细#调增金额#45.合计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','hj','1',' ','{Q[tccit_qysds_a105000#3#srltzxm]}+{Q[tccit_qysds_a105000#3#kclxmtz]}+{Q[tccit_qysds_a105000#3#zcltzxm]}+{Q[tccit_qysds_a105000#3#tssxtzxm]}+{Q[tccit_qysds_a105000#3#tbnstzyssd]}+{Q[tccit_qysds_a105000#3#ztqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135410418224035840;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135410418224035840,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#46#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#46#研发活动费用金额','1','46','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=46]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321404;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321404,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#anftxygjzqtdffy',' ','A105060广告业务宣传费跨年纳税调整明细#金额#10.按照分摊协议归集至其他关联方的广告费和业务宣传费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','anftxygjzqtdffy','1',' ','{S[SELECT FMONEY FROM t_tccit_advert_script WHERE FITEMNO=''16'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112310787537419264;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112310787537419264,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#3#jszbje',' ','A105120贷款损失准备金及纳税调整明细表#3#8.按本年末准予提取贷款资产余额与计提比例计算的准备金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jszbje',' ',' ','{Q[tccit_qysds_a105120_dk#4#jszbje]} + {Q[tccit_qysds_a105120_dk#5#jszbje]}+ {Q[tccit_qysds_a105120_dk#6#jszbje]}+ {Q[tccit_qysds_a105120_dk#7#jszbje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114323256682218496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114323256682218496,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#rjjcdlqylx',' ','A000000企业所得税年度纳税申报基础信息表#1#208软件、集成电路企业类型','1','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','rjjcdlqylx',' ',' ','{S[select a.fsofttype from t_tccit_policy c left join t_tccit_policy_a a on c.fid=a.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113730716618771456;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113730716618771456,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#10#bn',' ','A105040专项用途财政性资金纳税调整明细#10#6.本年','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105040','bn',' ',' ','{S[SELECT sum(e.FPAYAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069462357568187392;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069462357568187392,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#30#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#30#7.资产损失准备金核销金额','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype in (''70103080101'',''70103080102'',''70103080103'',''70103080104'',''70103080105'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133312931325519872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133312931325519872,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#2#fpse',' ','A109010分支机构信息#2#7.分配所得税额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#2#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932375;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932375,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#27#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#27#1.账载金额资产原值','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020308'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338349;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338349,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#9#jmsde','if({Q[9.三、符合条件的环境保护、节能节水项目小计#9.免税项目所得额]}+{Q[9.三、符合条件的环境保护、节能节水项目小计#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#9.三、符合条件的环境保护、节能节水项目小计#11.减免所得额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#9#msxmsde]}+{Q[tccit_qysds_a107020#9#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#9#msxmsde]}+{Q[tccit_qysds_a107020#9#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320689;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320689,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#2#jzxj','{Q[2#14.结转以后年度抵免的境外所得已缴所得税额_前四年]}+{Q[2#15.结转以后年度抵免的境外所得已缴所得税额_前三年]}+{Q[2#16.结转以后年度抵免的境外所得已缴所得税额_前二年]}+{Q[2#17.结转以后年度抵免的境外所得已缴所得税额_前一年]}+{Q[2#18.结转以后年度抵免的境外所得已缴所得税额_本年]}','A108030跨年度结转抵免境外所得税明细表#2#19.结转以后年度抵免的境外所得已缴所得税额_小计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108030','jzxj','1',' ','{Q[tccit_qysds_a108030#2#jzqsin]}+{Q[tccit_qysds_a108030#2#jzqsann]}+{Q[tccit_qysds_a108030#2#jzqln]}+{Q[tccit_qysds_a108030#2#jzqyn]}+{Q[tccit_qysds_a108030#2#jbzn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321299;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321299,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#zczjtxf',' ','A104000期间费用明细表#管理费用#7.资产折旧摊销费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','zczjtxf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=7 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112213438655889408;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112213438655889408,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#2#territory',' ','A107041高新技术企业优惠情况及明细表#2#领域文本','4','2','1066581598406760448','qysdsnb','tccit_qysds_a107041','territory',' ',' ','{S[select fleveldesc from t_tccit_a301010201_level where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fleveltype=''2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133306175979373568;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133306175979373568,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#8#fzjgsrze',' ','A109010分支机构信息#8#3.营业收入','1','8','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''8'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1199134292282776576;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1199134292282776576,{ts'2021-07-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#42#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#42#8.税收金额累计折旧、摊销额','1','42','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1095598844453897216;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095598844453897216,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#10#hj',' ','A107011居民企业之间权益性投资收益优惠#10#17.合计','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj',' ',' ','#if(''{Q[tccit_qysds_a107011#1#tzxz]}''==''股票投资 (沪港通H股投资)'')    {Q[tccit_qysds_a107011#1#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#2#tzxz]}''==''股票投资 (沪港通H股投资)'')    {Q[tccit_qysds_a107011#2#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#3#tzxz]}''==''股票投资 (沪港通H股投资)'')    {Q[tccit_qysds_a107011#3#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#4#tzxz]}''==''股票投资 (沪港通H股投资)'')    {Q[tccit_qysds_a107011#4#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#5#tzxz]}''==''股票投资 (沪港通H股投资)'')    {Q[tccit_qysds_a107011#5#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#6#tzxz]}''==''股票投资 (沪港通H股投资)'')    {Q[tccit_qysds_a107011#6#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#7#tzxz]}''==''股票投资 (沪港通H股投资)'')    {Q[tccit_qysds_a107011#7#hj]} #else    0 #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320887;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320887,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#22#nstzje','{Q[22.（一）证券交易所风险基金#1.账载金额]}-{Q[22.（一）证券交易所风险基金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#22.一证券交易所风险基金#3.纳税调整金额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#22#zzje]}-{Q[tccit_qysds_a105120#22#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851071;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851071,{ts'2021-06-29  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#gzxjzc',' ','A105050职工薪酬支出明细#实际发生额#1.工资薪金支出','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','gzxjzc','1',' ','{S[SELECT fsjje FROM t_tccit_salary_summary_dg WHERE fitemtype=''salarystock'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095563038049746944;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095563038049746944,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#tzxz',' ','A107011居民企业之间权益性投资收益优惠#6#3.投资性质','4','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzxz',' ',' ','{S[select finvesttype  from t_tccit_dg_b105036_sum where fitemno=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095561942757588992;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095561942757588992,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#btzqyshxydm',' ','A107011居民企业之间权益性投资收益优惠#6#2.被投资企业统一社会信用代码纳税人识别号','4','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqyshxydm',' ',' ','{S[select ftaxpayerid from t_tccit_dg_b105036_sum where fitemno=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113720403026562048;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113720403026562048,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#1#qwnd',' ','A105040专项用途财政性资金纳税调整明细#1#1.前五年度','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','{C[#declareyear]}-5'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932774;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932774,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#12#hj','{Q[本年结余金额#1.前五年度]}+{Q[本年结余金额#2.前四年度]}+{Q[本年结余金额#3.前三年度]}+{Q[本年结余金额#4.前二年度]}+{Q[本年结余金额#5.前一年度]}+{Q[本年结余金额#6.本年]}','A105040专项用途财政性资金纳税调整明细#本年结余金额#7.合计','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105040','hj','1',' ','{Q[tccit_qysds_a105040#12#qwnd]}+{Q[tccit_qysds_a105040#12#qsind]}+{Q[tccit_qysds_a105040#12#qsand]}+{Q[tccit_qysds_a105040#12#qend]}+{Q[tccit_qysds_a105040#12#qynd]}+{Q[tccit_qysds_a105040#12#bn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078898709619587072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078898709619587072,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#40#ssje2014zje',' ','A105080资产折旧摊销及纳税调整明细#40#7.税收金额加速折旧、摊销统计额','1','40','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje',' ',' ','{Q[tccit_qysds_a105080#40#ssjessgdzje]}-{Q[tccit_qysds_a105080#40#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112324131967253504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112324131967253504,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#8#dksszbj',' ','A105120贷款损失准备金及纳税调整明细表#8#10.准予当年税前扣除的贷款损失准备金','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','dksszbj',' ',' ','if({Q[tccit_qysds_a105120_dk#8#bnmsszbjye]} < {Q[tccit_qysds_a105120_dk#8#jszbje]}, {Q[tccit_qysds_a105120_dk#8#bnmsszbjye]}-  {Q[tccit_qysds_a105120_dk#8#dksszbjye]},{Q[tccit_qysds_a105120_dk#8#jszbje]}- {Q[tccit_qysds_a105120_dk#8#dksszbjye]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932426;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932426,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#23#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#23#4.税收金额资产计税基础','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020305'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071729366960216064;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071729366960216064,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#19#xmmc',' ','A107020所得减免优惠明细表#19#1.项目名称','4','19','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select   fprojectname from t_tccit_getredu_sum where FREDUCENAME=1119507313238005760  and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932169;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932169,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#qt',' ','A105020未按权责发生确实收入调整明细#4#12.其他','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','qt',' ',' ','{S[select ftaxincomecurrent from t_tccit_right_income_sum where FITEMTYPE=''001_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932143;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932143,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#yydwtzsr',' ','A05010视同销售纳税调整明细#1#8.用于对外投资项目视同销售收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','yydwtzsr',' ',' ','{S[select sum(fincome) from t_tccit_thinkofsell_sum where FITEMTYPE=''50106'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133308631903749120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133308631903749120,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#2#fzjgzcze',' ','A109010分支机构信息#2#5.资产总额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''2'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113546180320599040;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113546180320599040,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#nd',' ','A106000企业所得税弥补亏损明细表#6#1.年度','1','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','nd',' ',' ','{C[#year]}-5'); 
DELETE FROM t_tctb_formula WHERE FID = 1095564754593824768;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095564754593824768,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#tzbl',' ','A107011居民企业之间权益性投资收益优惠#3#5.投资比例','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzbl',' ',' ','{S[select fnumorrate  from t_tccit_dg_b105037_sum where flabel=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320844;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320844,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#24#nstzje','{Q[24.其中：股权转让损失#1.资产损失的账载金额]}-{Q[24.其中：股权转让损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#24.其中：股权转让损失#6.纳税调整金额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#24#zzje]}+{Q[tccit_qysds_a105090#24#zchxje]}-{Q[tccit_qysds_a105090#24#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932550;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932550,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#22#zzje',' ','A105090资产损失税前扣除及纳税调整明细#22#1.资产损失的账载金额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''701030802'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321171;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321171,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#qtzqywsr',' ','A101020金融企业收入明细#金额#26.其他证券业务收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','qtzqywsr','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=26 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113546492670417920;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113546492670417920,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#nd',' ','A106000企业所得税弥补亏损明细表#10#1.年度','1','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','nd',' ',' ','{C[#year]}-1'); 
DELETE FROM t_tctb_formula WHERE FID = 1135344213593220096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135344213593220096,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#13#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#13#研发活动费用金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=13]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112311028818950144;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112311028818950144,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#4#snmdkye',' ','A105120贷款损失准备金及纳税调整明细表#4#1.上年末贷款资产余额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkye',' ',' ','{S[select fsnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''4'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704606526461952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704606526461952,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#52#hj',' ','A107040减免所得税优惠明细表#52#1.金额','1','52','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932179;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932179,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#zj',' ','A105020未按权责发生确实收入调整明细#5#2.租金','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','zj',' ',' ','{S[select ftaxincomesum from t_tccit_right_income_sum where FITEMTYPE=''002_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321239;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321239,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#kcltzxmqt','if({Q[账载金额#30.扣除类调整其他]}-{Q[税收金额#30.扣除类调整其他]}>=)','A105000纳税调整项目明细#调增金额#30.扣除类调整其他','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','kcltzxmqt','1',' ','if({Q[tccit_qysds_a105000#1#kcltzxmqt]}-{Q[tccit_qysds_a105000#2#kcltzxmqt]}>=0,{Q[tccit_qysds_a105000#1#kcltzxmqt]}-{Q[tccit_qysds_a105000#2#kcltzxmqt]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321058;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321058,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#2#hj','{Q[31.国家需要重点扶持的高新技术企业减征企业所得税#4.合计]}','A107040减免所得税优惠明细表#2.二、国家需要重点扶持的高新技术企业减按15%的税率征收企业所得税#1.金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj','1',' ','{Q[tccit_qysds_a107041#31#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078897871538927616;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078897871538927616,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#37#ssje2014zje',' ','A105080资产折旧摊销及纳税调整明细#37#7.税收金额加速折旧、摊销统计额','1','37','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje',' ',' ','{Q[tccit_qysds_a105080#37#ssjessgdzje]}-{Q[tccit_qysds_a105080#37#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932485;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932485,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#3#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#3#4.资产计税基础','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''701030201'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323850755;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323850755,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#bnljsjyyjsdse','{Q[金额#5.本年累计已预分、已分摊所得税]}','A100000年度纳税申报表#金额#32.本年累计实际已预缴的所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','bnljsjyyjsdse','1',' ','{S[select famount from t_tccit_setz_sejs_sum where forgid = ''#orgid'' and fskssqq =''#startDate'' and fskssqz =''#endDate'' and fitemno =''10'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932282;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932282,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#3#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#3#1.账载金额资产原值','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020102'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113731501977029632;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113731501977029632,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#11#qend',' ','A105040专项用途财政性资金纳税调整明细#11#4.前二年度','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105040','qend',' ',' ','{S[SELECT sum(e.FEXPENSINGAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-2 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078886646440570880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078886646440570880,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#37#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#37#5.税收金额-税收折旧、摊销额','1','37','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020603'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932321;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932321,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#12#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#12#1.账载金额资产原值','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020608'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1131167673175334912;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1131167673175334912,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#13#kjxqy',' ','A107030抵扣应纳税所得额明细表#13#3.投资于种子期、初创期科技型企业','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107030','kjxqy',' ',' ','{S[select  fzzqcurrent from t_tccit_dg_a100000_7_sum where fitemno=''7'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095467569172714496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095467569172714496,{ts'2021-07-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#gzlxsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#2.国债利息收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','gzlxsr',' ',' ','{S[select sum(fmssrje) from t_tccit_dg_b105037_sum where finvesttype=''国债'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118807265252913152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118807265252913152,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042_ba#1#jmfs1',' ','A107042软件、集成电路企业优惠情况基本信息表#1#1.减免方式1','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107042_ba','jmfs1',' ',' ','{S[select t.fjmfsnumber from t_tccit_soft_ic_jb_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemno=1]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071735306656715776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071735306656715776,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#22#xgsf',' ','A107020所得减免优惠明细表#22#6.相关税费','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf',' ',' ','{S[select frelaxtax  from t_tccit_getredu_sum where FREDUCENAME in (1119510373058271232,1119510373058271233) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113018793728349184;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113018793728349184,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#16#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#16#2.一般性税务处理税收金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{Q[tccit_qysds_a105100#1#ybssje]}+{Q[tccit_qysds_a105100#4#ybssje]}+{Q[tccit_qysds_a105100#6#ybssje]}+{Q[tccit_qysds_a105100#8#ybssje]}+{Q[tccit_qysds_a105100#11#ybssje]}+{Q[tccit_qysds_a105100#12#ybssje]}+{Q[tccit_qysds_a105100#13#ybssje]}+{Q[tccit_qysds_a105100#14#ybssje]}+{Q[tccit_qysds_a105100#15#ybssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931976;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931976,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#2#bnkcdyqndjze','if({Q[保险企业手续费及佣金支出#3.本年符合条件的支出1-2]}>{Q[保险企业手续费及佣金支出#6.本企业计算的扣除限额]},0,if({Q[保险企业手续费及佣金支出#8.加：以前年度累计结转扣除额]}>({Q[保险企业手续费及佣金支出#6.本企业计算的扣除限额]}-{Q[保险企业手续费及佣金支出#3.本年符合条件的支出1-2]}),{Q[保险企业手续费及佣金支出#6.本企业计算的扣除限额]}-{Q[保险企业手续费及佣金支出#3.本年符合条件的支出1-2]},{Q[保险企业手续费及佣金支出#8.加：以前年度累计结转扣除额]}))','A105060广告业务宣传费跨年纳税调整明细#2#9.减：本年扣除的以前年度结转额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105060','bnkcdyqndjze',' ',' ','if({Q[tccit_qysds_a105060#2#bnfhtjdggfhywxcfzc]}>{Q[tccit_qysds_a105060#2#bqyjsdggfhywxcfkcxe]},0,if({Q[tccit_qysds_a105060#2#yqndljjzkce]}>({Q[tccit_qysds_a105060#2#bqyjsdggfhywxcfkcxe]}-{Q[tccit_qysds_a105060#2#bnfhtjdggfhywxcfzc]}),{Q[tccit_qysds_a105060#2#bqyjsdggfhywxcfkcxe]}-{Q[tccit_qysds_a105060#2#bnfhtjdggfhywxcfzc]},{Q[tccit_qysds_a105060#2#yqndljjzkce]}))'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321126;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321126,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#dlbgzq',' ','A101020金融企业收入明细#金额#24.代理保管证券','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','dlbgzq','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=24 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112228425617113088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112228425617113088,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#27#qynd',' ','A107041高新技术企业优惠情况及明细表#27#2.前一年度','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd',' ',' ','{S[select fpreoneyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''13'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932734;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932734,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#8#dqtz','{Q[处置收益会计确认处置收入#7.短期投资]}-{Q[处置收益账面价值#7.短期投资]}','A105030投资收益纳税调整明细#处置收益会计确认所得或损失#7.短期投资','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105030','dqtz','1',' ','{Q[tccit_qysds_a105030#4#dqtz]}-{Q[tccit_qysds_a105030#6#dqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932687;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932687,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#yzcxgdzfbz','{Q[本年税收金额#11.与资产相关的政府补助]}-{Q[本年账载金额#11.与资产相关的政府补助]}','A105020未按权责发生确实收入调整明细#纳税调整金额#11.与资产相关的政府补助','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','yzcxgdzfbz','1',' ','{Q[tccit_qysds_a105020#4#yzcxgdzfbz]}-{Q[tccit_qysds_a105020#2#yzcxgdzfbz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321355;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321355,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#ywhdcb',' ','A103000事业单位支出明细#金额#25.业务活动成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','ywhdcb','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=25 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932492;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932492,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#5#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#5#3.赔偿收入','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype in (''701030301'',''701030302'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932897;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932897,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105110#1#bqsdhss','{Q[金额#1.搬迁收入]}-{Q[金额#9.搬迁支出]}','A105110政策性搬迁纳税调整明细表#金额#17.搬迁所得或损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105110','bqsdhss','1',' ','{Q[tccit_qysds_a105110#1#bqsr]}-{Q[tccit_qysds_a105110#1#bqzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321249;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321249,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#yywzcqt',' ','A102020金融企业支出明细#金额#39.其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','yywzcqt','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=39 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320847;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320847,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#27#nstzje','{Q[27.十二、其他资产损失#1.资产损失的账载金额]}-{Q[27.十二、其他资产损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#27.十二、其他资产损失#6.纳税调整金额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#27#zzje]}+{Q[tccit_qysds_a105090#27#zchxje]}-{Q[tccit_qysds_a105090#27#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321365;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321365,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#dzzgzjf',' ','A105000纳税调整项目明细#账载金额#29.党组织工作经费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','dzzgzjf','1',' ','{S[select FZZJE from t_tccit_deduct_summary_dg where FITEMTYPE=''dangfei'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932280;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932280,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#7#qt',' ','A105030投资收益纳税调整明细#7#9.其他','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105030','qt',' ',' ','{S[select fczzcjsjc from t_tccit_asset_dispose_sum where fitemtype=''6010809'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320999;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320999,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#5#je','{Q[3.研究开发人员人数#2.金额]}/{Q[1.企业本年月平均职工总人数#2.金额]}','A107042软件、集成电路企业优惠情况及明细表#5.研究开发人员占企业本年月平均职工总人数的比例#2.金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107042','je','1',' ','{Q[tccit_qysds_a107042#3#je]}/{Q[tccit_qysds_a107042#1#je]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071724987477693440;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071724987477693440,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#13#xmsr',' ','A107020所得减免优惠明细表#13#4.项目收入','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr',' ',' ','{S[select   fincome from t_tccit_getredu_sum where FREDUCENAME=1064511471960165376 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932193;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932193,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#fqskfsxshwsr',' ','A105020未按权责发生确实收入调整明细#4#6.分期收款方式销售货物收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','fqskfsxshwsr',' ',' ','{S[select ftaxincomecurrent from t_tccit_right_income_sum where FITEMTYPE=''003_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077461682457985024;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077461682457985024,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#14#ssje',' ','A105070捐赠支出及纳税调整明细#14#4.税收金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105070','ssje',' ',' ','{Q[tccit_qysds_a105070#14#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932422;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932422,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#19#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#19#4.税收金额资产计税基础','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123710325586471936;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123710325586471936,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#29#yftqjfy',' ','A107020所得减免优惠明细表#29#7.应分摊期间费用','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy',' ',' ','{S[select   fqjfyfte from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932232,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#jyxjrzccstztztzje',' ','A105000纳税调整项目明细#3#6.交易性金融资产初始投资调整','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','jyxjrzccstztztzje',' ',' ','{S[select fskcyje from t_tccit_tzzccscbtz_sum where forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' and fitemtype=''jrzccstz'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321291;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321291,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#lwf',' ','A104000期间费用明细表#管理费用#2.劳务费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','lwf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320861;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320861,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#31#ssje','{Q[32.（一）涉农和中小企业贷款损失准备金#2.税收金额]}+{Q[33.（二）贷款损失准备金#2.税收金额]}+{Q[34.（三）其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#31.四、金融企业#2.税收金额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a105120','ssje','1',' ','{Q[tccit_qysds_a105120#32#ssje]}+{Q[tccit_qysds_a105120#33#ssje]}+{Q[tccit_qysds_a105120#34#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095581681261265920;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095581681261265920,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#chjstzqrjezc',' ','A107011居民企业之间权益性投资收益优惠#6#11.撤回或减少投资确认金额_从被投资企业撤回或减少投资取得的资产','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjezc',' ',' ','{S[select fqddbtzzc  from t_tccit_dg_b105036_sum where ftranstype=''撤资'' and fitemno=2  and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321132;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321132,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#hzsy',' ','A101020金融企业收入明细#金额#33.汇兑收益','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','hzsy','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=33 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320763;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320763,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#18#nstzje','{Q[18.三、无形资产（19+20+21+22+23+24+25+27）#2.账载金额本年折旧摊销额]}-{Q[18.三、无形资产（19+20+21+22+23+24+25+27）#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#18.三、无形资产19+20+21+22+23+24+25+27#9.纳税调整金额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#18#zzjebnzj]}-{Q[tccit_qysds_a105080#18#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337828;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337828,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#15#xgsf','{Q[13.五、清洁发展机制项目#6.相关税费]}+{Q[14.五、清洁发展机制项目#6.相关税费]}','A107020所得减免优惠明细表#15.五、清洁发展机制项目小计#6.相关税费','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf','1',' ','{Q[tccit_qysds_a107020#13#xgsf]}+{Q[tccit_qysds_a107020#14#xgsf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112322682675836928;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112322682675836928,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#6#jszbje',' ','A105120贷款损失准备金及纳税调整明细表#6#8.按本年末准予提取贷款资产余额与计提比例计算的准备金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jszbje',' ',' ','{Q[tccit_qysds_a105120_dk#6#bnmdkzcye]} * {Q[tccit_qysds_a105120_dk#6#jtbl]}/100'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932446;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932446,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#25#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#25#5.税收金额-税收折旧、摊销额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020307'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133306672635298816;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133306672635298816,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#14#fzjgsrze',' ','A109010分支机构信息#14#3.营业收入','1','14','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''14'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932862;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932862,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#10#nstzje','{Q[10#3.一般性税务处理纳税调整金额]}+{Q[10#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#10#7.纳税调整金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#10#ybnstzje]}+{Q[tccit_qysds_a105100#10#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337845;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337845,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#24#nstze','{Q[22.八、线宽小于65纳米或投资额超过150亿元的集成电路生产项目#8.纳税调整额]}+{Q[23.八、线宽小于65纳米或投资额超过151亿元的集成电路生产项目#8.纳税调整额]}','A107020所得减免优惠明细表#24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#8.纳税调整额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze','1',' ','{Q[tccit_qysds_a107020#22#nstze]}+{Q[tccit_qysds_a107020#23#nstze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851108;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851108,{ts'2021-02-04  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#7#nstzje',' ','A105070捐赠支出及纳税调整明细#本年#5.纳税调整金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105070','nstzje','1',' ','{S[select fmoney from  t_tccit_dg_b105021_sum where FITEMNO=''16'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320652;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320652,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#5#jwsdtzhsd','{Q[5#14.境外税前所得]}+{Q[5#15.境外分支机构收入与支出纳税调整额]}-{Q[5#16.境外分支机构调整分摊扣除的有关成本费用]}-{Q[5#17.境外所得对应调整的相关成本费用支出]}','A108010境外所得纳税调整后所得明细表#5#18.境外所得纳税调整后所得','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdtzhsd','1',' ','{Q[tccit_qysds_a108010#5#jwsqsd]}+{Q[tccit_qysds_a108010#5#jwfzsrzctze]}-{Q[tccit_qysds_a108010#5#jwfztzftkccbfy]}-{Q[tccit_qysds_a108010#5#jwsdtzcbfyzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320722;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320722,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#15#zzjezcjs','{Q[16.（一）林木类#3.账载金额累计折旧、摊销额]}+{Q[17.（二）畜类#3.账载金额累计折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#15.二、生产性生物资产#3.账载金额累计折旧、摊销额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs','1',' ','{Q[tccit_qysds_a105080#16#zzjezcjs]}+{Q[tccit_qysds_a105080#17#zzjezcjs]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932737;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932737,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#9#jyxjrzc','{Q[处置收益税收计算处置收入#1.交易性金融资产]}-{Q[处置收益计税基础#1.交易性金融资产]}','A105030投资收益纳税调整明细#处置收益税收计算处置所得#1.交易性金融资产','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrzc','1',' ','{Q[tccit_qysds_a105030#5#jyxjrzc]}-{Q[tccit_qysds_a105030#7#jyxjrzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320838;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320838,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#18#nstzje','{Q[18.符合条件的涉农和中小企业贷款损失#1.资产损失的账载金额]}-{Q[18.符合条件的涉农和中小企业贷款损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#18.符合条件的涉农和中小企业贷款损失#6.纳税调整金额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#18#zzje]}+{Q[tccit_qysds_a105090#18#zchxje]}-{Q[tccit_qysds_a105090#18#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932318;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932318,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#9#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#9#1.账载金额资产原值','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020602'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320742;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320742,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#36#zzjezcjs','{Q[1.一、固定资产#3.账载金额累计折旧、摊销额]}+{Q[15.二、生产性生物资产#3.账载金额累计折旧、摊销额]}+{Q[18.三、无形资产（19+20+21+22+23+24+25+27）#3.账载金额累计折旧、摊销额]}+{Q[28.四、长期待摊费用#3.账载金额累计折旧、摊销额]}+{Q[34.五、油气勘探投资#3.账载金额累计折旧、摊销额]}+{Q[35.六、油气开发投资#3.账载金额累计折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#36.合计#3.账载金额累计折旧、摊销额','1','36','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs','1',' ','{Q[tccit_qysds_a105080#1#zzjezcjs]}+{Q[tccit_qysds_a105080#15#zzjezcjs]}+{Q[tccit_qysds_a105080#18#zzjezcjs]}+{Q[tccit_qysds_a105080#28#zzjezcjs]}+{Q[tccit_qysds_a105080#34#zzjezcjs]}+{Q[tccit_qysds_a105080#35#zzjezcjs]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321137;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321137,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#zfbzld',' ','A101020金融企业收入明细#金额#39.政府补助利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','zfbzld','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=39 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932539;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932539,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#19#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#19#2.资产处置收入','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''70103080103'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932764;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932764,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#12#qsind','{Q[符合不征税收入条件的财政性资金金额#2.前四年度]}-{Q[前四年度支出情况#2.前四年度]}-{Q[前三年度支出情况#2.前四年度]}-{Q[前二年度支出情况#2.前四年度]}-{Q[前一年度支出情况#2.前四年度]}-{Q[本年支出金额#2.前四年度]}','A105040专项用途财政性资金纳税调整明细#本年结余金额#2.前四年度','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind','1',' ','{Q[tccit_qysds_a105040#3#qsind]}-{Q[tccit_qysds_a105040#6#qsind]}-{Q[tccit_qysds_a105040#7#qsind]}-{Q[tccit_qysds_a105040#8#qsind]}-{Q[tccit_qysds_a105040#9#qsind]}-{Q[tccit_qysds_a105040#10#qsind]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113700127207535616;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113700127207535616,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#nxbn',' ','A106000企业所得税弥补亏损明细表#6#11.可弥补年限8年','1','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','nxbn',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-5 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-5 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}  #else #if({S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}>0 )    0-{S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']} #else  {S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932791;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932791,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#ghjfzc','{Q[账载金额#7.工会经费支出]}-{Q[税收金额#7.工会经费支出]}','A105050职工薪酬支出明细#纳税调整金额#7.工会经费支出','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','ghjfzc','1',' ','{Q[tccit_qysds_a105050#1#ghjfzc]}-{Q[tccit_qysds_a105050#5#ghjfzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932865;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932865,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#13#nstzje','{Q[13#3.一般性税务处理纳税调整金额]}+{Q[13#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#13#7.纳税调整金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#13#ybnstzje]}+{Q[tccit_qysds_a105100#13#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932336;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932336,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#13#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#13#3.账载金额累计折旧、摊销额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020609'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932340;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932340,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#10#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#10#4.税收金额资产计税基础','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020604'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133297485750708224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133297485750708224,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#12#fzjgnsrsbh',' ','A109010分支机构信息#12#1.分支机构纳税人识别号','4','12','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''12'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114438781253271552;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114438781253271552,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#qyndynbe',' ','A106000企业所得税弥补亏损明细表#8#8.当年待弥补的亏损额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','qyndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fbnkmbksje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}>0) 0-{S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}  #else {S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607307073576;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607307073576,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#srltzxmqt',' ','A105000纳税调整项目明细#2#11.收入类调整项目其他','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','srltzxmqt',' ',' ','{S[select sum(ftaxamount) from t_tccit_zctz_expense_sum where FITEMTYPE=''7010503'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]} + {S[select sum(ftaxamount) from t_tccit_income_other_sum where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135456982598445056;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135456982598445056,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#5#qynddme',' ','A107050税额抵免优惠明细表#5#9.前一年度一抵免额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107050','qynddme',' ',' ','{S[select fbnsjdmdgndse from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''6'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1139837598378783744;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1139837598378783744,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#40#hj',' ','A107040减免所得税优惠明细表#40#1.金额','1','40','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ','{S[select famountorratio from t_tccit_setz_jmyhhz where forgid=''#orgid'' and FSKSSQQ = ''#startDate'' and FSKSSQZ=''#endDate'' and fitemtype = ''4.6.d'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069604451246084096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069604451246084096,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#7#xmmc',' ','A107020所得减免优惠明细表#7#1.项目名称','4','7','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select   fprojectname from t_tccit_getredu_sum where FREDUCENAME in (1064510411371678720,1064510411371678721,1064510411371678722,1064510411371678723,1064510411371678724,1064510411371678725) and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112232682768564224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112232682768564224,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#19#hj','{Q[19.折旧费用与长期待摊费用#1.本年度]}','A107041高新技术企业优惠情况及明细表#19#4.合计','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{Q[tccit_qysds_a107041#19#bnd]}+{Q[tccit_qysds_a107041#19#qynd]}+{Q[tccit_qysds_a107041#19#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069462549524659200;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069462549524659200,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#30#zzje',' ','A105090资产损失税前扣除及纳税调整明细#30#1.资产损失的账载金额','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype in (''70103080101'',''70103080102'',''70103080103'',''70103080104'',''70103080105'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932977;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932977,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#1#xj','{Q[前五年度#5.前五年度一抵免额]}+{Q[前五年度#6.前四年度一抵免额]}+{Q[前五年度#7.前三年度一抵免额]}+{Q[前五年度#8.前二年度一抵免额]}+{Q[前五年度#9.前一年度一抵免额]}','A107050税额抵免优惠明细表#前五年度#10.小计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','xj','1',' ','{Q[tccit_qysds_a107050#1#qwnddme]}+{Q[tccit_qysds_a107050#1#qsinddme]}+{Q[tccit_qysds_a107050#1#qsnddme]}+{Q[tccit_qysds_a107050#1#qenddme]}+{Q[tccit_qysds_a107050#1#qynddme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133309591786996736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133309591786996736,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#13#fzjgzcze',' ','A109010分支机构信息#13#5.资产总额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''13'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320614;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320614,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#6#jwsddmsehj','{Q[6#12.本年可抵免境外所得税额]}+{Q[6#14.本年可抵免以前年度未抵免境外所得税额]}+{Q[6#18.按简易办法计算_小计]}','A108000境外所得税收抵免明细表#6#19.境外所得抵免所得税额合计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsddmsehj','1',' ','{Q[tccit_qysds_a108000#6#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#6#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#6#jyjsxj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932240;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932240,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#tssxtzxmqt',' ','A105000纳税调整项目明细#4#42.特殊事项调整其他','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','tssxtzxmqt',' ',' ','if({S[select fnstzje from t_tccit_spec_other_sum where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}<0,-1*{S[select fnstzje  from t_tccit_spec_other_sum  where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1135407987440318464;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135407987440318464,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#25#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#25#研发活动费用金额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=25]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932915;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932915,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#hj','{Q[2#7.被投资企业利润分配确认金额_依决定归属于本公司的股息、红利等权益性投资收益金额]}+{Q[2#10.被投资企业清算确认金额_应确认的股息所得]}+{Q[2#16.撤回或减少投资确认金额_应确认的股息所得]}','A107011居民企业之间权益性投资收益优惠#2#17.合计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj','1',' ','{Q[tccit_qysds_a107011#2#btzlrfpqrjesyje]}+{Q[tccit_qysds_a107011#2#btzqsqrjeyqrgxsd]}+{Q[tccit_qysds_a107011#2#chjstzqrjeyqrgxsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321120,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#tgjqtystwyj',' ','A101020金融企业收入明细#金额#16.托管及其他受托业务佣金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','tgjqtystwyj','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=16 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932463;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932463,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#24#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#24#8.税收金额累计折旧、摊销额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020306'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932976;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932976,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#6#bnkdmse','{Q[本年度#3.本年允许抵免的专用设备投资额]}*0.1','A107050税额抵免优惠明细表#本年度#4.本年可抵免税额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnkdmse','1',' ','{Q[tccit_qysds_a107050#6#bnyxdmdzysbtze]}*0.1'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932718;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932718,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#11#hj','{Q[持有收益纳税调整金额#10.合计]}','A105030投资收益纳税调整明细#纳税调整金额#10.合计','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105030','hj','1',' ','{Q[tccit_qysds_a105030#3#hj]}+{Q[tccit_qysds_a105030#10#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932529;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932529,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#14#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#14#4.资产计税基础','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype in(''701030701'',''701030702'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320842;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320842,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#22#nstzje','{Q[22.（二）非金融企业债权性投资损失#1.资产损失的账载金额]}-{Q[22.（二）非金融企业债权性投资损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#22.二非金融企业债权性投资损失#6.纳税调整金额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#22#zzje]}+{Q[tccit_qysds_a105090#22#zchxje]}-{Q[tccit_qysds_a105090#22#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932267;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932267,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#5#jyxjrfz',' ','A105030投资收益纳税调整明细#5#5.交易性金融负债','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrfz',' ',' ','{S[select fssjsczsr from t_tccit_asset_dispose_sum where fitemtype=''6010805'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133297043570403328;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133297043570403328,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#9#fzjgnsrsbh',' ','A109010分支机构信息#9#1.分支机构纳税人识别号','4','9','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''9'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932448;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932448,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#27#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#27#5.税收金额-税收折旧、摊销额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020308'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1131165105917353984;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1131165105917353984,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#10#zxgxjsqy',' ','A107030抵扣应纳税所得额明细表#10#2.投资于未上市中小高新技术企业','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107030','zxgxjsqy',' ',' ','{S[select  fwsscurrent  from t_tccit_dg_a100000_7_sum where fitemno=''4'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932119;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932119,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#fhbxzcjhsr',' ','A05010视同销售纳税调整明细#2#2.非货币性资产交换视同销售收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','fhbxzcjhsr',' ',' ','{Q[tccit_qysds_a105010#1#fhbxzcjhsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114445019173175296;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114445019173175296,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#hj',' ','A106000企业所得税弥补亏损明细表#7#9.使用境内所得弥补','1','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','hj',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fsyjnsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}>0) {S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}  #else 0-{S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321124;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321124,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#stkhzcglyw',' ','A101020金融企业收入明细#金额#22.受托客户资产管理业务','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','stkhzcglyw','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=22 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114309227708419072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114309227708419072,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#hnmygtzxx','[{ "val": "", "text": "" },{"val":"1","text":"旅游业"},{"val":"2","text":"现代服务业"},{"val":"3","text":"高新技术产业"}]','A000000企业所得税年度纳税申报基础信息表#1#203-2海南自由贸易港新增境外直接投资信息','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','hnmygtzxx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932262;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932262,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#6#qt',' ','A105030投资收益纳税调整明细#6#9.其他','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105030','qt',' ',' ','{S[select fczzczmjz from t_tccit_asset_dispose_sum where fitemtype=''6010809'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077606491474635776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077606491474635776,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#39#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#39#2.账载金额本年折旧摊销额','1','39','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020606'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071731004944979968;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071731004944979968,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#16#xgsf',' ','A107020所得减免优惠明细表#16#6.相关税费','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf',' ',' ','{S[select  frelaxtax from t_tccit_getredu_sum where FREDUCENAME=1064511941495720961 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114304439943956480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114304439943956480,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#xxwlqy',' ','A000000企业所得税年度纳税申报基础信息表#1#109小型微利企业','1','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','xxwlqy',' ',' ','if({S[select fsmalltype from t_tccit_small_summary  where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'']}=true,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1133306513654400000;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133306513654400000,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#12#fzjgsrze',' ','A109010分支机构信息#12#3.营业收入','1','12','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''12'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321052;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321052,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#qycz','{Q[16#2.一般性税务处理税收金额]}+{Q[16#5.特殊性税务处理递延纳税税收金额]}','A105000纳税调整项目明细#税收金额#37.企业重组','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','qycz','1',' ','{Q[tccit_qysds_a105100#16#ybssje]}+{Q[tccit_qysds_a105100#16#tsssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462512;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462512,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#8#kjzyhndkcdjze','{Q[限额扣除的公益性捐赠#7.可结转以后年度扣除的捐赠额]}','A105070捐赠支出及纳税调整明细#合计#7.可结转以后年度扣除的捐赠额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105070','kjzyhndkcdjze','1',' ','{Q[tccit_qysds_a105070#3#kjzyhndkcdjze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133307036239512576;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133307036239512576,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#3#fzjggzze',' ','A109010分支机构信息#3#4.职工薪酬','1','3','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''3'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320790;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320790,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#28#pcsr','{Q[1.一、现金及银行存款损失#3.赔偿收入]}+{Q[2.二、应收及预付款项坏账损失#3.赔偿收入]}+{Q[5.三、存货损失#3.赔偿收入]}+{Q[7.四、固定资产损失#3.赔偿收入]}+{Q[9.五、无形资产损失#3.赔偿收入]}+{Q[12.六、在建工程损失#3.赔偿收入]}+{Q[14.七、生产性生物资产损失#3.赔偿收入]}+{Q[16.八、债权性投资损失#3.赔偿收入]}+{Q[23.九、股权（权益）性投资损失#3.赔偿收入]}+{Q[25.十、通过各种交易场所、市场买卖债券、股票、期货、基金以及金融衍生产品等发生的损失#3.赔偿收入]}+{Q[26.十一、打包出售资产损失#3.赔偿收入]}+{Q[27.十二、其他资产损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#28.合计#3.赔偿收入','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr','1',' ','{Q[tccit_qysds_a105090#1#pcsr]}+{Q[tccit_qysds_a105090#2#pcsr]}+{Q[tccit_qysds_a105090#5#pcsr]}+{Q[tccit_qysds_a105090#7#pcsr]}+{Q[tccit_qysds_a105090#9#pcsr]}+{Q[tccit_qysds_a105090#12#pcsr]}+{Q[tccit_qysds_a105090#14#pcsr]}+{Q[tccit_qysds_a105090#16#pcsr]}+{Q[tccit_qysds_a105090#23#pcsr]}+{Q[tccit_qysds_a105090#25#pcsr]}+{Q[tccit_qysds_a105090#26#pcsr]}+{Q[tccit_qysds_a105090#27#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114443559177551872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114443559177551872,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#9#zjlx',' ','A000000主要股东及分红情况#9#2.证件种类','1','9','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx',' ',' ','{S[select h.ffidtype from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=9 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123716227064474624;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123716227064474624,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#31#jmsde',' ','A107020所得减免优惠明细表#31#11.减免所得额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde',' ',' ','if({Q[tccit_qysds_a107020#31#msxmsde]}+{Q[tccit_qysds_a107020#31#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#31#msxmsde]}+{Q[tccit_qysds_a107020#31#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321099;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321099,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#fhbxzcjhld',' ','A101010一般企业收入明细表#金额#18.非货币性资产交换利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','fhbxzcjhld','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=18 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932185;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932185,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#txqsyf',' ','A105020未按权责发生确实收入调整明细#1#4.特许权使用费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','txqsyf',' ',' ','{S[select fsignamount from t_tccit_right_income_sum where FITEMTYPE=''002_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932255;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932255,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#6#kgcsjrzc',' ','A105030投资收益纳税调整明细#6#2.可供出售金融资','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105030','kgcsjrzc',' ',' ','{S[select fczzczmjz from t_tccit_asset_dispose_sum where fitemtype=''6010802'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337814;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337814,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#6#yftqjfy','{Q[4.二、国家重点扶持的公共基础设施项目#7.应分摊期间费用]}+{Q[5.二、国家重点扶持的公共基础设施项目#7.应分摊期间费用]}','A107020所得减免优惠明细表#6.二、国家重点扶持的公共基础设施项目小计#7.应分摊期间费用','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy','1',' ','{Q[tccit_qysds_a107020#4#yftqjfy]}+{Q[tccit_qysds_a107020#5#yftqjfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337847;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337847,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#27#xmcb','{Q[25.九、其他#5.项目成本]}+{Q[26.九、其他#5.项目成本]}','A107020所得减免优惠明细表#27.九、其他小计#5.项目成本','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb','1',' ','{Q[tccit_qysds_a107020#25#xmcb]}+{Q[tccit_qysds_a107020#26#xmcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320806;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320806,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#15#ssje','{Q[15.其中：生产性生物资产盘亏、非正常死亡、被盗、丢失等产生的损失#4.资产计税基础]}-{Q[15.其中：生产性生物资产盘亏、非正常死亡、被盗、丢失等产生的损失#2.资产处置收入]}-{Q[15.其中：生产性生物资产盘亏、非正常死亡、被盗、丢失等产生的损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#15.其中：生产性生物资产盘亏、非正常死亡、被盗、丢失等产生的损失#5.资产损失的税收金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#15#zcjsjc]}-{Q[tccit_qysds_a105090#15#zcczsr]}-{Q[tccit_qysds_a105090#15#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078904432386682880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078904432386682880,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#40#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#40#8.税收金额累计折旧、摊销额','1','40','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020612'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1139942764327236608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1139942764327236608,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#34#jzmzlx',' ','A107040减免所得税优惠明细表#34#减征免征类型','1','34','1066581598406760448','qysdsnb','tccit_qysds_a107040','jzmzlx',' ',' ','#if(''{S[select b.ftype from t_tccit_other_deductions a left join t_tccit_other_detentry b on a.fid=b.fid where a.forgid=''#orgid'' and a.fyear >= ''#startDate'' and a.fyear < ''#endDate'' and b.fproject = ''1117362391177236484'']}''==''dffxdbfjz'') 2 #else 1 #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321053;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321053,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#knbkssd','{Q[金额#19.纳税调整后所得]}-{Q[金额#20.减：所得减免]}','A106000企业所得税弥补亏损明细表#11.本年度#2.当年境内所得额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','knbkssd','1',' ','{Q[tccit_qysds_a100000#1#nstzhsd]}-{Q[tccit_qysds_a100000#1#sdjm]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123708457267309568;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123708457267309568,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#29#xmmc',' ','A107020所得减免优惠明细表#29#1.项目名称','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select   fprojectname from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240  and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113018874225431552;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113018874225431552,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#15#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#15#2.一般性税务处理税收金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010309'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321147;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321147,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#rdzcsyqcb',' ','A102010一般企业成本支出明细#金额#7.让渡资产使用权成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','rdzcsyqcb','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=7 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113753584333336576;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113753584333336576,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#1#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#1#4.特殊性税务处理递延纳税账载金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932739;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932739,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#9#cyzdqtz','{Q[处置收益税收计算处置收入#3.持有至到期投资]}-{Q[处置收益计税基础#3.持有至到期投资]}','A105030投资收益纳税调整明细#处置收益税收计算处置所得#3.持有至到期投资','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105030','cyzdqtz','1',' ','{Q[tccit_qysds_a105030#5#cyzdqtz]}-{Q[tccit_qysds_a105030#7#cyzdqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932432,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#30#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#30#4.税收金额资产计税基础','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020402'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320881;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320881,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#16#nstzje','{Q[16.（五）未决赔款准备金（17+18）#1.账载金额]}-{Q[16.（五）未决赔款准备金（17+18）#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#16.五未决赔款准备金17+18#3.纳税调整金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#16#zzje]}-{Q[tccit_qysds_a105120#16#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095578850684878848;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095578850684878848,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#btzqsqrjeqssyzc',' ','A107011居民企业之间权益性投资收益优惠#6#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeqssyzc',' ',' ','{S[select fqddbtzzc  from t_tccit_dg_b105036_sum where ftranstype=''被投资企业清算'' and fitemno=2   and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321293;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321293,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#zxgwf',' ','A104000期间费用明细表#管理费用#3.咨询顾问费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','zxgwf','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075562026571;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075562026571,{ts'2021-07-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#yysjfj',' ','A100000年度纳税申报表#金额#3.营业税金及附加','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','yysjfj','1',' ','if({C[#isbuydgservice]}=true,{S[select famount from t_tccit_dg_a100000_1_sum where fitemtype =''106'' and forgid = ''#orgid'' and fskssqq =''#startDate'' and fskssqz =''#endDate'']},{S[select famount from t_tccit_dg_a100000_1_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320600;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320600,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#1#jyjsxj','{Q[1#15.按简易办法计算_按低于12.5%的实际税率计算的抵免额]}+{Q[1#16.按简易办法计算_按12.5%计算的抵免额]}+{Q[1#17.按简易办法计算_按25%计算的抵免额]}','A108000境外所得税收抵免明细表#1#18.按简易办法计算_小计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsxj','1',' ','{Q[tccit_qysds_a108000#1#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#1#jyjsldyewdme]}+{Q[tccit_qysds_a108000#1#jyjsldewdme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321372;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321372,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#zgflfzc',' ','A105050职工薪酬支出明细#账载金额#3.职工福利费支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','zgflfzc','1',' ','{S[select FZZJE from t_tccit_deduct_summary_dg where FITEMTYPE=''zhigong'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321144;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321144,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#zyywcbfhbxzcjhcb',' ','A102010一般企业成本支出明细#金额#4.非货币性资产交换成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','zyywcbfhbxzcjhcb','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338355;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338355,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#17#jmsde','if({Q[17.六、符合条件的节能服务公司实施的合同能源管理项目#9.免税项目所得额]}+{Q[17.六、符合条件的节能服务公司实施的合同能源管理项目#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#17.六、符合条件的节能服务公司实施的合同能源管理项目#11.减免所得额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#17#msxmsde]}+{Q[tccit_qysds_a107020#17#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#17#msxmsde]}+{Q[tccit_qysds_a107020#17#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1071739630329828352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071739630329828352,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#25#nstze',' ','A107020所得减免优惠明细表#25#8.纳税调整额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze',' ',' ','{S[select   fnstz from t_tccit_getredu_sum where FREDUCENAME=1119525021539512320 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932986;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932986,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#6#kjzyhnddmdse','{Q[本年度#4.本年可抵免税额]}-{Q[本年度#10.小计]}-{Q[本年度#11.本年实际抵免的各年度税额]}','A107050税额抵免优惠明细表#本年度#12.可结转以后年度抵免的税额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107050','kjzyhnddmdse','1',' ','{Q[tccit_qysds_a107050#6#bnkdmse]}-{Q[tccit_qysds_a107050#6#xj]}-{Q[tccit_qysds_a107050#6#bnsjdmdgndse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932931;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932931,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#1#hjje','{Q[1#2.投资于未上市中小高新技术企业]}+{Q[1#3.投资于种子期、初创期科技型企业]}','A107030抵扣应纳税所得额明细表#1#1.合计金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','{Q[tccit_qysds_a107030#1#zxgxjsqy]}+{Q[tccit_qysds_a107030#1#kjxqy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320848;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320848,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#28#nstzje','{Q[28.合计#1.资产损失的账载金额]}-{Q[28.合计#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#28.合计#6.纳税调整金额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#28#zzje]}+{Q[tccit_qysds_a105090#28#zchxje]}-{Q[tccit_qysds_a105090#28#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932793;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932793,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#zfgjj','{Q[账载金额#9.住房公积金]}-{Q[税收金额#9.住房公积金]}','A105050职工薪酬支出明细#纳税调整金额#9.住房公积金','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','zfgjj','1',' ','{Q[tccit_qysds_a105050#1#zfgjj]}-{Q[tccit_qysds_a105050#5#zfgjj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932453;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932453,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#33#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#33#5.税收金额-税收折旧、摊销额','1','33','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020405'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932949;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932949,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105060#tabname',' ','企业所得税年度纳税申报表填报表#A105060广告费和业务宣传费跨年度纳税调整明细表#表单名称','1','A105060','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105060'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1139905895195504640;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1139905895195504640,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#34#jzmzlx','[{"val":"1","text":"免征"},{"val":"2","text":"减征"}]','A107040减免所得税优惠明细表#34#减征免征类型','3','34','1066581598406760448','qysdsnb','tccit_qysds_a107040','jzmzlx','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321440;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321440,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#kjz','{Q[10.前一年度#8.当年待弥补的亏损额]}-{Q[10.前一年度#9.使用境内所得弥补]}-{Q[10.前一年度#10.使用境外所得弥补]}','A106000企业所得税弥补亏损明细表#10.前一年度#11.当年可结转以后年度弥补的亏损额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','kjz','1',' ','if({Q[tccit_qysds_a106000#10#qyndynbe]}>{Q[tccit_qysds_a106000#10#hj]}+{Q[tccit_qysds_a106000#10#sjnbe]},{Q[tccit_qysds_a106000#10#qyndynbe]}-{Q[tccit_qysds_a106000#10#hj]}-{Q[tccit_qysds_a106000#10#sjnbe]},{Q[tccit_qysds_a106000#10#hj]}+{Q[tccit_qysds_a106000#10#sjnbe]}-{Q[tccit_qysds_a106000#10#qyndynbe]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704286484289536;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704286484289536,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#46#hj',' ','A107040减免所得税优惠明细表#46#1.金额','1','46','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1069607110283825152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069607110283825152,{ts'2021-02-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#7#xmsr',' ','A107020所得减免优惠明细表#7#4.项目收入','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr',' ',' ','{S[select  fincome from t_tccit_getredu_sum where FREDUCENAME in (1064510411371678720,1064510411371678721,1064510411371678722,1064510411371678723,1064510411371678724,1064510411371678725) AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337841;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337841,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#24#xmsr','{Q[22.八、线宽小于65纳米或投资额超过150亿元的集成电路生产项目#4.项目收入]}+{Q[23.八、线宽小于65纳米或投资额超过151亿元的集成电路生产项目#4.项目收入]}','A107020所得减免优惠明细表#24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#4.项目收入','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr','1',' ','{Q[tccit_qysds_a107020#22#xmsr]}+{Q[tccit_qysds_a107020#23#xmsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932946;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932946,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105030#tabname',' ','企业所得税年度纳税申报表填报表#A105030投资收益纳税调整明细表#表单名称','1','A105030','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105030'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932547;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932547,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#21#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#21#2.资产处置收入','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''70103080105'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932359;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932359,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#8#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#8#8.税收金额累计折旧、摊销额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje) from t_tccit_zczjtx_summary where FITEMTYPE=''701020601'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320711;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320711,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#tssxtzxm','{Q[调减金额#发行永续债利息支出]}+{Q[调减金额#37.企业重组]}+{Q[调减金额#38.政策性搬迁]}+{Q[调减金额#39.特殊行业准备金]}+{Q[调减金额#40.房地产开发企业特定业务计算的纳税调整额]}+{Q[调减金额#41.有限合伙企业法人合伙方应分得的应纳税所得额]}+{Q[调减金额#42.特殊事项调整其他]}','A105000纳税调整项目明细#调减金额#36.特殊事项调整项目','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','tssxtzxm','1',' ','{Q[tccit_qysds_a105000#4#fxyxzlxzc]}+{Q[tccit_qysds_a105000#4#qycz]}+{Q[tccit_qysds_a105000#4#zcxbq]}+{Q[tccit_qysds_a105000#4#tshyzbj]}+{Q[tccit_qysds_a105000#4#fdckfqy]}+{Q[tccit_qysds_a105000#4#yxhhqyfrhhfyfddynsdstze]}+{Q[tccit_qysds_a105000#4#tssxtzxmqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114454449729830912;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114454449729830912,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#1#gj',' ','A000000主要股东及分红情况#1#5.国籍','4','1','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gj','5',' ','{C[#guoji_1]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320850;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320850,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#1#zzje','{Q[2.（一）保险保障基金#1.账载金额]}+{Q[13.（二）未到期责任准备金#1.账载金额]}+{Q[14.（三）寿险责任准备金#1.账载金额]}+{Q[15.（四）长期健康险责任准备金#1.账载金额]}+{Q[16.（五）未决赔款准备金（17+18）#1.账载金额]}+{Q[19.（六）大灾风险准备金#1.账载金额]}+{Q[20.（七）其他#1.账载金额]}','A105120特殊行业准备金及纳税调整明细表#1.一、保险公司#1.账载金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120','zzje','1',' ','{Q[tccit_qysds_a105120#2#zzje]}+{Q[tccit_qysds_a105120#13#zzje]}+{Q[tccit_qysds_a105120#14#zzje]}+{Q[tccit_qysds_a105120#15#zzje]}+{Q[tccit_qysds_a105120#16#zzje]}+{Q[tccit_qysds_a105120#19#zzje]}+{Q[tccit_qysds_a105120#20#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932771;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932771,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#4#hj','{Q[符合不征税收入条件的财政性资金损益金额#1.前五年度]}+{Q[符合不征税收入条件的财政性资金损益金额#2.前四年度]}+{Q[符合不征税收入条件的财政性资金损益金额#3.前三年度]}+{Q[符合不征税收入条件的财政性资金损益金额#4.前二年度]}+{Q[符合不征税收入条件的财政性资金损益金额#5.前一年度]}+{Q[符合不征税收入条件的财政性资金损益金额#6.本年]}','A105040专项用途财政性资金纳税调整明细#符合不征税收入条件的财政性资金损益金额#7.合计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105040','hj','1',' ','{Q[tccit_qysds_a105040#4#qwnd]}+{Q[tccit_qysds_a105040#4#qsind]}+{Q[tccit_qysds_a105040#4#qsand]}+{Q[tccit_qysds_a105040#4#qend]}+{Q[tccit_qysds_a105040#4#qynd]}+{Q[tccit_qysds_a105040#4#bn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113669659607252992;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113669659607252992,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#knbkssd',' ','A106000企业所得税弥补亏损明细表#7#2.当年境内所得额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','knbkssd',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']}>0)     {S[select FLOSSMONEY from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']} #else     {S[SELECT fknbkssd FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']} #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932801;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932801,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#bnfhtjdggfhywxcfzc','{Q[金额#1.本年广告费用和业务宣传支出]}-{Q[金额#2.减：不允许扣除的广告费和业务宣传费支出]}','A105060广告业务宣传费跨年纳税调整明细#金额#3.本年符合条件的广告费和业务宣传费支出1-2','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','bnfhtjdggfhywxcfzc','1',' ','{Q[tccit_qysds_a105060#1#bnggfhywxcfzc]}-{Q[tccit_qysds_a105060#1#byxkcdggfhywxczc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113723602223548416;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113723602223548416,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#3#qwnd',' ','A105040专项用途财政性资金纳税调整明细#3#1.前五年度','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','select fqsind from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''3'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932148;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932148,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#yyjjyccb',' ','A05010视同销售纳税调整明细#1#14.用于交际应酬视同销售成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','yyjjyccb',' ',' ','{S[select sum(fcost) from t_tccit_thinkofsell_sum where FITEMTYPE=''50102'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095583936731464704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095583936731464704,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#chjstzqrjeljwfplryygj',' ','A107011居民企业之间权益性投资收益优惠#5#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeljwfplryygj',' ',' ','{S[select fljwfplr  from t_tccit_dg_b105036_sum where ftranstype=''撤资'' and fitemno=1   and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932376;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932376,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#26#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#26#1.账载金额资产原值','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020611'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320685;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320685,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#8#bnxj','{Q[8#8.本年实际抵免以前年度未抵免的境外已缴所得税额_前五年]}+{Q[8#9.本年实际抵免以前年度未抵免的境外已缴所得税额_前四年]}+{Q[8#10.本年实际抵免以前年度未抵免的境外已缴所得税额_前三年]}+{Q[8#11.本年实际抵免以前年度未抵免的境外已缴所得税额_前二年]}+{Q[8#12.本年实际抵免以前年度未抵免的境外已缴所得税额_前一年]}','A108030跨年度结转抵免境外所得税明细表#8#13.本年实际抵免以前年度未抵免的境外已缴所得税额_小计','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108030','bnxj','1',' ','{Q[tccit_qysds_a108030#8#bnqwn]}+{Q[tccit_qysds_a108030#8#bnqsin]}+{Q[tccit_qysds_a108030#8#bnqsann]}+{Q[tccit_qysds_a108030#8#bnqln]}+{Q[tccit_qysds_a108030#8#bnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338364;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338364,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#26#jmsde','if({Q[26.九、其他#9.免税项目所得额]}+{Q[26.九、其他#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#26.九、其他#11.减免所得额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#26#msxmsde]}+{Q[tccit_qysds_a107020#26#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#26#msxmsde]}+{Q[tccit_qysds_a107020#26#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1113018050942276608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113018050942276608,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#8#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#8#1.一般性税务处理账载金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{Q[tccit_qysds_a105100#9#ybzzje]}+{Q[tccit_qysds_a105100#10#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321102;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321102,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#zfbzld',' ','A101010一般企业收入明细表#金额#20.政府补助利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','zfbzld','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=20 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095561377843560448;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095561377843560448,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#btzqyshxydm',' ','A107011居民企业之间权益性投资收益优惠#1#2.被投资企业统一社会信用代码纳税人识别号','4','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqyshxydm',' ',' ','{S[select ftaxpayerid from t_tccit_dg_b105037_sum where fitemno=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133325170187151360;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133325170187151360,{ts'2022-01-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#zjgftybtse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#12.总机构分摊本年应补退的所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','zjgftybtse',' ',' ','{Q[tccit_qysds_a109000#1#zjgbnyftybtse]} * if({S[select count(*) from t_tccit_policy where forgid = ''#orgid'' and fenddate = ''#endDate'']}=0,0.25,{S[select fzjgftbl/100  from t_tccit_policy where forgid = ''#orgid'' and fenddate = ''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932557;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932557,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#23#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#23#4.资产计税基础','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype in(''701030901'',''701030902'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095618182166660096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095618182166660096,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#btzqy',' ','A107011居民企业之间权益性投资收益优惠#1#1.被投资企业','4','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqy',' ',' ','{S[select ftzbdname from t_tccit_dg_b105037_sum where fitemno=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932639;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932639,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#zqywzc','{Q[金额#26.证券业务手续费及佣金支出]}+{Q[金额#30.其他证券业务支出]}','A102020金融企业支出明细#金额#25.证券业务支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','zqywzc','1',' ','{Q[tccit_qysds_a102020#1#zqywsxfjyjzc]}+{Q[tccit_qysds_a102020#1#qtzjywzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133312490277553152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133312490277553152,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#14#fpbl',' ','A109010分支机构信息#14#6.分配比例','1','14','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#14#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#14#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#14#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932395;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932395,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#29#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#29#2.账载金额本年折旧摊销额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020401'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320780;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320780,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#16#zzje','{Q[17.（一）金融企业债权性投资损失#1.资产损失的账载金额]}+{Q[22.（二）非金融企业债权性投资损失#1.资产损失的账载金额]}','A105090资产损失税前扣除及纳税调整明细#16.八、债权性投资损失#1.资产损失的账载金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje','1',' ','{Q[tccit_qysds_a105090#17#zzje]}+{Q[tccit_qysds_a105090#22#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321264;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321264,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#zcltzxmqt','if({Q[账载金额#35.资产类调整项目其他]}-{Q[税收金额#35.资产类调整项目其他]}<,-())','A105000纳税调整项目明细#调减金额#35.资产类调整项目其他','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcltzxmqt','1',' ','if({Q[tccit_qysds_a105000#1#zcltzxmqt]}-{Q[tccit_qysds_a105000#2#zcltzxmqt]}<0,0-({Q[tccit_qysds_a105000#1#zcltzxmqt]}-{Q[tccit_qysds_a105000#2#zcltzxmqt]}),0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932430;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932430,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#27#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#27#4.税收金额资产计税基础','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020308'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114442708430095360;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114442708430095360,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#2#zjlx',' ','A000000主要股东及分红情况#2#2.证件种类','1','2','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx',' ',' ','{S[select h.ffidtype from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=2 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321356;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321356,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#glfy',' ','A103000事业单位支出明细#金额#26.管理费用','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','glfy','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=26 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114446577071555584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114446577071555584,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#2#zjhm',' ','A000000主要股东及分红情况#2#3.证件号码','4','2','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjhm',' ',' ','{S[select h.FIDNUMBER from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=2 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932120,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#yysctgsr',' ','A05010视同销售纳税调整明细#2#3.用于市场推广或销售视同销售收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','yysctgsr',' ',' ','{Q[tccit_qysds_a105010#1#yysctgsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321288,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#2#qt',' ','A104000期间费用明细表#销售费用境外支付#25.其他','1','2','1066581598406760448','qysdsnb','tccit_qysds_a104000','qt','1',' ','{S[select fselloutside from t_tccit_profit_fees_sum where fitemno=25 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932526;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932526,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#14#zzje',' ','A105090资产损失税前扣除及纳税调整明细#14#1.资产损失的账载金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype in(''701030701'',''701030702'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113728302788429824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113728302788429824,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#8#qsand',' ','A105040专项用途财政性资金纳税调整明细#8#3.前三年度','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsand',' ',' ','select fqend from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''9'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320596;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320596,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#6#wcgjwdmxeye','{Q[6#11.境外所得抵免限额]}-{Q[6#12.本年可抵免境外所得税额]}','A108000境外所得税收抵免明细表#6#13.未超过境外所得税抵免限额的余额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108000','wcgjwdmxeye','1',' ','{Q[tccit_qysds_a108000#6#jwsddmxe]}-{Q[tccit_qysds_a108000#6#bnkdmjwsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932789;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932789,{ts'2021-06-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#blkcjyjf','{Q[账载金额#5.按税收规定比例扣除的职工教育经费]}-{Q[税收金额#5.按税收规定比例扣除的职工教育经费]}','A105050职工薪酬支出明细#纳税调整金额#5.按税收规定比例扣除的职工教育经费','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','blkcjyjf','1',' ','{Q[tccit_qysds_a105050#1#blkcjyjf]}-{Q[tccit_qysds_a105050#5#blkcjyjf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320592;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320592,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#2#wcgjwdmxeye','{Q[2#11.境外所得抵免限额]}-{Q[2#12.本年可抵免境外所得税额]}','A108000境外所得税收抵免明细表#2#13.未超过境外所得税抵免限额的余额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108000','wcgjwdmxeye','1',' ','{Q[tccit_qysds_a108000#2#jwsddmxe]}-{Q[tccit_qysds_a108000#2#bnkdmjwsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1139861534072139776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1139861534072139776,{ts'2021-04-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#58#grcgbl',' ','A107040减免所得税优惠明细表#58#个人股东持股比例','1','58','1066581598406760448','qysdsnb','tccit_qysds_a107040','grcgbl',' ',' ','{S[select fdeductibleratio from t_tccit_setz_jmyhhz where forgid=''#orgid'' and FSKSSQQ = ''#startDate'' and FSKSSQZ=''#endDate'' and fitemtype = ''6.6'']}*100'); 
DELETE FROM t_tctb_formula WHERE FID = 1135461371652363264;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135461371652363264,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#4#bnsjdmdgndse',' ','A107050税额抵免优惠明细表#4#11.本年实际抵免的各年度税额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse',' ',' ','{S[select t.fbnsjdmdgndse from t_tccit_yh_taxcredit_data t where t.forgid=''#orgid'' and t.fitemno=4]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932221;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932221,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#1#qt',' ','A105030投资收益纳税调整明细#1#9.其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105030','qt',' ',' ','{S[select fzzje from t_tccit_invest_profit_sum where fitemtype=''6010409'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932488;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932488,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#4#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#4#3.赔偿收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''701030202'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321318;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321318,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#4#lwf',' ','A104000期间费用明细表#管理费用境外支付#2.劳务费','1','4','1066581598406760448','qysdsnb','tccit_qysds_a104000','lwf','1',' ','{S[select fmanageoutside from t_tccit_profit_fees_sum where fitemno=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113722278685756416;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113722278685756416,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#2#qsand',' ','A105040专项用途财政性资金纳税调整明细#2#3.前三年度','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsand',' ',' ','select fqend from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''2'''); 
DELETE FROM t_tctb_formula WHERE FID = 1135446227488630784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135446227488630784,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#5#bndmqynse',' ','A107050税额抵免优惠明细表#5#2.本年抵免前应纳税额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107050','bndmqynse',' ',' ','{S[select fbndmqynse from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''6'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113758213050042368;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113758213050042368,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#13#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#13#5.特殊性税务处理递延纳税税收金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010307'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851100;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851100,{ts'2021-02-04  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#7#zzje',' ','A105070捐赠支出及纳税调整明细#本年#1.账载金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105070','zzje','1',' ','{S[select fmoney from  t_tccit_dg_b105021_sum where FITEMNO=''2'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932920;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932920,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#hj','{Q[7#7.被投资企业利润分配确认金额_依决定归属于本公司的股息、红利等权益性投资收益金额]}+{Q[7#10.被投资企业清算确认金额_应确认的股息所得]}+{Q[7#16.撤回或减少投资确认金额_应确认的股息所得]}','A107011居民企业之间权益性投资收益优惠#7#17.合计','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj','1',' ','{Q[tccit_qysds_a107011#7#btzlrfpqrjesyje]}+{Q[tccit_qysds_a107011#7#btzqsqrjeyqrgxsd]}+{Q[tccit_qysds_a107011#7#chjstzqrjeyqrgxsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321380;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321380,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#zgflfzc',' ','A105050职工薪酬支出明细#实际发生额#3.职工福利费支出','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','zgflfzc','1',' ','{S[select fsjje from t_tccit_deduct_summary_dg where FITEMTYPE=''zhigong'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932445;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932445,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#24#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#24#5.税收金额-税收折旧、摊销额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020306'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113017256901809152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113017256901809152,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#2#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#2#1.一般性税务处理账载金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030101'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071718143489250304;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071718143489250304,{ts'2021-03-30  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#10#xmsr',' ','A107020所得减免优惠明细表#10#4.项目收入','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr',' ',' ','{S[select   fincome from t_tccit_getredu_sum where FREDUCENAME in (1064511039091315712,1119482547752284160)  and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069478805346774016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069478805346774016,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#30#ssje',' ','A105090资产损失税前扣除及纳税调整明细#30#5.资产损失的税收金额','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje',' ',' ','{Q[tccit_qysds_a105090#30#zcjsjc]}-{Q[tccit_qysds_a105090#30#zcczsr]}-{Q[tccit_qysds_a105090#30#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321110;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321110,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#cfzyyh',' ','A101020金融企业收入明细#金额#5.存放中央银行','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','cfzyyh','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=5 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321375;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321375,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#bzxjk',' ','A105050职工薪酬支出明细#账载金额#8.各类基本社会保障性缴款','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','bzxjk','1',' ','{S[SELECT fzzje FROM t_tccit_salary_summary_dg WHERE fitemtype=''insurance'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133307352011883520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133307352011883520,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#7#fzjggzze',' ','A109010分支机构信息#7#4.职工薪酬','1','7','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''7'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337846;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337846,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#27#xmsr','{Q[25.九、其他#4.项目收入]}+{Q[26.九、其他#4.项目收入]}','A107020所得减免优惠明细表#27.九、其他小计#4.项目收入','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr','1',' ','{Q[tccit_qysds_a107020#25#xmsr]}+{Q[tccit_qysds_a107020#26#xmsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114446735515582464;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114446735515582464,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#3#zjhm',' ','A000000主要股东及分红情况#3#3.证件号码','4','3','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjhm',' ',' ','{S[select h.FIDNUMBER from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=3 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932796;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932796,{ts'2021-06-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#qt','{Q[账载金额#12.其他]}-{Q[税收金额#12.其他]}','A105050职工薪酬支出明细#纳税调整金额#12.其他','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','qt','1',' ','{Q[tccit_qysds_a105050#1#qt]}-{Q[tccit_qysds_a105050#5#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113697084172874752;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113697084172874752,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#dnknbks',' ','A106000企业所得税弥补亏损明细表#11#4.可弥补年限5年','1','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','dnknbks',' ',' ','{S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear  and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1071734559735060480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071734559735060480,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#21#msxmsde',' ','A107020所得减免优惠明细表#21#9.免税项目所得额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','{Q[tccit_qysds_a107020#19#msxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320774;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320774,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#31#nstzje','{Q[31.（三）固定资产的大修理支出#2.账载金额本年折旧摊销额]}-{Q[31.（三）固定资产的大修理支出#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#31.三固定资产的大修理支出#9.纳税调整金额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#31#zzjebnzj]}-{Q[tccit_qysds_a105080#31#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320611;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320611,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#3#jwsddmsehj','{Q[3#12.本年可抵免境外所得税额]}+{Q[3#14.本年可抵免以前年度未抵免境外所得税额]}+{Q[3#18.按简易办法计算_小计]}','A108000境外所得税收抵免明细表#3#19.境外所得抵免所得税额合计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsddmsehj','1',' ','{Q[tccit_qysds_a108000#3#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#3#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#3#jyjsxj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321287;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321287,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#2#yjfy',' ','A104000期间费用明细表#销售费用境外支付#19.研究费用','1','2','1066581598406760448','qysdsnb','tccit_qysds_a104000','yjfy','1',' ','{S[select fselloutside from t_tccit_profit_fees_sum where fitemno=19 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321517;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321517,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#gqjl','{Q[实际发生额#2.股权激励]}','A105050职工薪酬支出明细#税收金额#2.股权激励','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','gqjl','1',' ','{S[SELECT ftaxamount FROM t_tccit_salary_summary_dg WHERE fitemtype=''stock'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932362;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932362,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#11#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#11#8.税收金额累计折旧、摊销额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje) from t_tccit_zczjtx_summary where FITEMTYPE=''701020607'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320659;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320659,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108020#2#jzhndmbfsjkse','{Q[2#2.非实际亏损额的弥补以前年度结转尚未弥补的非实际亏损额]}+{Q[2#3.非实际亏损额的弥补本年发生的非实际亏损额]}-{Q[2#4.非实际亏损额的弥补本年弥补的以前年度非实际亏损额]}','A108020境外分支机构弥补亏损明细表#2#5.非实际亏损额的弥补结转以后年度弥补的非实际亏损额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108020','jzhndmbfsjkse','1',' ','{Q[tccit_qysds_a108020#2#yqndjzwmbfsjkse]}+{Q[tccit_qysds_a108020#2#bnfsfsjkse]}-{Q[tccit_qysds_a108020#2#bnmbyqfsjkse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1199134237790379008;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1199134237790379008,{ts'2021-07-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#42#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#42#5.税收金额-税收折旧、摊销额','1','42','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932408;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932408,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#23#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#23#3.账载金额累计折旧、摊销额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020305'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337816;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337816,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#9#xmsr','{Q[7.三、符合条件的环境保护、节能节水项目#4.项目收入]}+{Q[8.三、符合条件的环境保护、节能节水项目#4.项目收入]}','A107020所得减免优惠明细表#9.三、符合条件的环境保护、节能节水项目小计#4.项目收入','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr','1',' ','{Q[tccit_qysds_a107020#7#xmsr]}+{Q[tccit_qysds_a107020#8#xmsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315463133;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315463133,{ts'2021-07-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#yysr','{Q[金额#1.营业收入]}+{Q[金额#1.营业收入]}+{Q[金额#2.财政补助收入]}+{Q[金额#3.事业收入]}+{Q[金额#4.上级补助收入]}+{Q[金额#5.附属单位上缴收入]}+{Q[金额#6.经营收入]}+{Q[金额#11.接受捐赠收入]}+{Q[金额#12.会费收入]}+{Q[金额#13.提供劳务收入]}+{Q[金额#14.商品销售收入]}+{Q[金额#15.政府补助收入]}','A100000年度纳税申报表#金额#1.营业收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','yysr','1',' ','if({Q[tccit_qysds_a101010#1#yysr]}+{Q[tccit_qysds_a101020#1#yysr]}+{Q[tccit_qysds_a103000#1#czbzsr]}+{Q[tccit_qysds_a103000#1#sysr]}+{Q[tccit_qysds_a103000#1#sjbzsr]}+{Q[tccit_qysds_a103000#1#fsdwsjsr]}+{Q[tccit_qysds_a103000#1#jysr]}+{Q[tccit_qysds_a103000#1#jsjzsr]}+{Q[tccit_qysds_a103000#1#hfsr]}+{Q[tccit_qysds_a103000#1#tglwsr]}+{Q[tccit_qysds_a103000#1#spxssr]}+{Q[tccit_qysds_a103000#1#zfbzsr]}!=0,{Q[tccit_qysds_a101010#1#yysr]}+{Q[tccit_qysds_a101020#1#yysr]}+{Q[tccit_qysds_a103000#1#czbzsr]}+{Q[tccit_qysds_a103000#1#sysr]}+{Q[tccit_qysds_a103000#1#sjbzsr]}+{Q[tccit_qysds_a103000#1#fsdwsjsr]}+{Q[tccit_qysds_a103000#1#jysr]}+{Q[tccit_qysds_a103000#1#jsjzsr]}+{Q[tccit_qysds_a103000#1#hfsr]}+{Q[tccit_qysds_a103000#1#tglwsr]}+{Q[tccit_qysds_a103000#1#spxssr]}+{Q[tccit_qysds_a103000#1#zfbzsr]},{S[select famount from t_tccit_dg_a100000_1_sum where fitemtype =''001'' and forgid = ''#orgid'' and fskssqq =''#startDate'' and fskssqz =''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321198;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321198,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#xszkzrhth','if({Q[账载金额#10.销售折扣、折让和退回]}-{Q[税收金额#10.销售折扣、折让和退回]}>=,)','A105000纳税调整项目明细#调增金额#10.销售折扣、折让和退回','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','xszkzrhth','1',' ','if({Q[tccit_qysds_a105000#1#xszkzrhth]}-{Q[tccit_qysds_a105000#2#xszkzrhth]}>=0,{Q[tccit_qysds_a105000#1#xszkzrhth]}-{Q[tccit_qysds_a105000#2#xszkzrhth]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1113734986378300416;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113734986378300416,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#11#bn',' ','A105040专项用途财政性资金纳税调整明细#11#6.本年','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105040','bn',' ',' ','{S[SELECT sum(e.FEXPENSINGAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133313474756323328;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133313474756323328,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#8#fpse',' ','A109010分支机构信息#8#7.分配所得税额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#8#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932904;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932904,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#chjstzqrjeshcstzcb','{Q[5#4.投资成本]}*{Q[5#12.撤回或减少投资确认金额_减少投资比例]}','A107011居民企业之间权益性投资收益优惠#5#13.撤回或减少投资确认金额_收回初始投资成本','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeshcstzcb','1',' ','{Q[tccit_qysds_a107011#5#tzcb]}*{Q[tccit_qysds_a107011#5#chjstzqrjejstzbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932712;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932712,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#5#hj','{Q[处置收益税收计算处置收入#1.交易性金融资产]}+{Q[处置收益税收计算处置收入#2.可供出售金融资]}+{Q[处置收益税收计算处置收入#3.持有至到期投资]}+{Q[处置收益税收计算处置收入#4.衍生工具]}+{Q[处置收益税收计算处置收入#5.交易性金融负债]}+{Q[处置收益税收计算处置收入#6.长期股权投资]}+{Q[处置收益税收计算处置收入#7.短期投资]}+{Q[处置收益税收计算处置收入#8.长期债券投资]}+{Q[处置收益税收计算处置收入#9.其他]}','A105030投资收益纳税调整明细#处置收益税收计算处置收入#10.合计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105030','hj','1',' ','{Q[tccit_qysds_a105030#5#jyxjrzc]}+{Q[tccit_qysds_a105030#5#kgcsjrzc]}+{Q[tccit_qysds_a105030#5#cyzdqtz]}+{Q[tccit_qysds_a105030#5#ysgj]}+{Q[tccit_qysds_a105030#5#jyxjrfz]}+{Q[tccit_qysds_a105030#5#cqgqtz]}+{Q[tccit_qysds_a105030#5#dqtz]}+{Q[tccit_qysds_a105030#5#cqzqtz]}+{Q[tccit_qysds_a105030#5#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114447697026221056;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114447697026221056,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#10#zjhm',' ','A000000主要股东及分红情况#10#3.证件号码','4','10','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjhm',' ',' ','{S[select h.FIDNUMBER from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=10 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932902;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932902,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#chjstzqrjeshcstzcb','{Q[3#4.投资成本]}*{Q[3#12.撤回或减少投资确认金额_减少投资比例]}','A107011居民企业之间权益性投资收益优惠#3#13.撤回或减少投资确认金额_收回初始投资成本','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeshcstzcb','1',' ','{Q[tccit_qysds_a107011#3#tzcb]}*{Q[tccit_qysds_a107011#3#chjstzqrjejstzbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320858;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320858,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#26#zzje','{Q[27.（一）期货交易所风险准备金#1.账载金额]}+{Q[28.（二）期货公司风险准备金#1.账载金额]}+{Q[29.（三）期货投资者保障基金#1.账载金额]}+{Q[30.（四）其他#1.账载金额]}','A105120特殊行业准备金及纳税调整明细表#26.三、期货行业#1.账载金额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105120','zzje','1',' ','{Q[tccit_qysds_a105120#27#zzje]}+{Q[tccit_qysds_a105120#28#zzje]}+{Q[tccit_qysds_a105120#29#zzje]}+{Q[tccit_qysds_a105120#30#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462507;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462507,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#8#yqndjzkkcdjze','{Q[限额扣除的公益性捐赠#2.以前年度结转可扣除的捐赠额]}','A105070捐赠支出及纳税调整明细#合计#2.以前年度结转可扣除的捐赠额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105070','yqndjzkkcdjze','1',' ','{Q[tccit_qysds_a105070#3#yqndjzkkcdjze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851059;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851059,{ts'2021-04-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#ywsxrzsy',' ','A105000纳税调整项目明细#税收金额#22.与未实现融资收益相关在当期确认的财务费用','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','ywsxrzsy','1',' ','{S[select sum(ftaxamount) from t_tccit_zctz_expense_sum where FITEMTYPE=''7010502'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320635;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320635,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#8#jwsdkdmxj','{Q[8#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[8#11.境外所得可抵免的所得税额_间接负担的所得税额]}+{Q[8#12.境外所得可抵免的所得税额_享受税收饶让抵免税额]}','A108010境外所得纳税调整后所得明细表#8#13.境外所得可抵免的所得税额_小计','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdkdmxj','1',' ','{Q[tccit_qysds_a108010#8#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#8#jwsdkdmjjfd]}+{Q[tccit_qysds_a108010#8#jwsdkdmxssrrdm]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133282860548080640;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133282860548080640,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_zjg#1#ynsdse',' ','A109010企业所得税汇总纳税总机构#1#3.应纳所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109010_zjg','ynsdse',' ',' ','{Q[tccit_qysds_a109000#1#zjgbnyftybtse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932214;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932214,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#1#kgcsjrzc',' ','A105030投资收益纳税调整明细#1#2.可供出售金融资','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105030','kgcsjrzc',' ',' ','{S[select fzzje from t_tccit_invest_profit_sum where fitemtype=''6010402'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1131167531642740736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1131167531642740736,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#13#zxgxjsqy',' ','A107030抵扣应纳税所得额明细表#13#2.投资于未上市中小高新技术企业','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107030','zxgxjsqy',' ',' ','{S[select  fwsscurrent  from t_tccit_dg_a100000_7_sum where fitemno=''7'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321515;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321515,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#yjhsxfzc','if{Q[保险企业手续费及佣金支出#3.本年符合条件的支出1-2]}>={Q[保险企业手续费及佣金支出#6.本企业计算的扣除限额]},{Q[保险企业手续费及佣金支出#6.本企业计算的扣除限额]},{Q[保险企业手续费及佣金支出#3.本年符合条件的支出1-2]}+{Q[保险企业手续费及佣金支出#9.减：本年扣除的以前年度结转额]})','A105000纳税调整项目明细#税收金额#23.佣金和手续费支出','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','yjhsxfzc','1',' ','{S[select ftaxincome from t_tccit_non_insurance_sum where fitemtype=''count'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}+if({Q[tccit_qysds_a105060#2#bnfhtjdggfhywxcfzc]}>={Q[tccit_qysds_a105060#2#bqyjsdggfhywxcfkcxe]},{Q[tccit_qysds_a105060#2#bqyjsdggfhywxcfkcxe]},{Q[tccit_qysds_a105060#2#bnfhtjdggfhywxcfzc]}+{Q[tccit_qysds_a105060#2#bnkcdyqndjze]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932344;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932344,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#14#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#14#4.税收金额资产计税基础','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''7010206010'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932351;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932351,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#14#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#14#5.税收金额-税收折旧、摊销额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020610'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112295257766149120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112295257766149120,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#1#dksszbj',' ','A105120贷款损失准备金及纳税调整明细表#1#10.准予当年税前扣除的贷款损失准备金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','dksszbj',' ',' ','if({Q[tccit_qysds_a105120_dk#1#bnmsszbjye]} < {Q[tccit_qysds_a105120_dk#1#jszbje]}, {Q[tccit_qysds_a105120_dk#1#bnmsszbjye]}-  {Q[tccit_qysds_a105120_dk#1#dksszbjye]},{Q[tccit_qysds_a105120_dk#1#jszbje]}- {Q[tccit_qysds_a105120_dk#1#dksszbjye]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1135454496919671808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135454496919671808,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#1#qwnddme',' ','A107050税额抵免优惠明细表#1#5.前五年度一抵免额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','qwnddme',' ',' ','{S[select fqsinddme from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071731198327560192;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071731198327560192,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#16#yftqjfy',' ','A107020所得减免优惠明细表#16#7.应分摊期间费用','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy',' ',' ','{S[select  fqjfyfte from t_tccit_getredu_sum where FREDUCENAME=1064511941495720961 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932289;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932289,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#4#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#4#2.账载金额本年折旧摊销额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020103'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932635;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932635,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#yhywzc','{Q[金额#3.银行利息支出]}+{Q[金额#11.银行手续费及佣金支出]}','A102020金融企业支出明细#金额#2.银行业务支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','yhywzc','1',' ','{Q[tccit_qysds_a102020#1#yhlxzc]}+{Q[tccit_qysds_a102020#1#yhsxfjyjzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320631;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320631,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#4#jwsdkdmxj','{Q[4#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[4#11.境外所得可抵免的所得税额_间接负担的所得税额]}+{Q[4#12.境外所得可抵免的所得税额_享受税收饶让抵免税额]}','A108010境外所得纳税调整后所得明细表#4#13.境外所得可抵免的所得税额_小计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdkdmxj','1',' ','{Q[tccit_qysds_a108010#4#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#4#jwsdkdmjjfd]}+{Q[tccit_qysds_a108010#4#jwsdkdmxssrrdm]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133300704258147328;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133300704258147328,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#13#fzjgmc',' ','A109010分支机构信息#13#2.分支机构名称','4','13','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''13'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932864;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932864,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#12#nstzje','{Q[12#3.一般性税务处理纳税调整金额]}+{Q[12#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#12#7.纳税调整金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#12#ybnstzje]}+{Q[tccit_qysds_a105100#12#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932561;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932561,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#24#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#24#4.资产计税基础','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''701030901'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932603;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932603,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107042#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A107042软件、集成电路企业优惠情况及明细表#表单名称','3','A107042','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321020;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321020,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#czjzfpbnybtsdse','{Q[金额#13.财政集中分配本年应补退的所得税额]}','A100000年度纳税申报表#金额#35.财政集中分配本年应补退所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','czjzfpbnybtsdse','1',' ','{Q[tccit_qysds_a109000#1#czjzfpybtse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932765;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932765,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#12#qsand','{Q[符合不征税收入条件的财政性资金金额#3.前三年度]}-{Q[前三年度支出情况#3.前三年度]}-{Q[前二年度支出情况#3.前三年度]}-{Q[前一年度支出情况#3.前三年度]}-{Q[本年支出金额#3.前三年度]}','A105040专项用途财政性资金纳税调整明细#本年结余金额#3.前三年度','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsand','1',' ','{Q[tccit_qysds_a105040#3#qsand]}-{Q[tccit_qysds_a105040#7#qsand]}-{Q[tccit_qysds_a105040#8#qsand]}-{Q[tccit_qysds_a105040#9#qsand]}-{Q[tccit_qysds_a105040#10#qsand]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932227;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932227,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#2#dqtz',' ','A105030投资收益纳税调整明细#2#7.短期投资','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105030','dqtz',' ',' ','{S[select ftaxincome from t_tccit_invest_profit_sum where fitemtype=''6010407'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321238;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321238,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#dzzgzjf','if({Q[账载金额#29.党组织工作经费]}-{Q[税收金额#29.党组织工作经费]}<-())','A105000纳税调整项目明细#调减金额#29.党组织工作经费','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','dzzgzjf','1',' ','if({Q[tccit_qysds_a105000#1#dzzgzjf]}-{Q[tccit_qysds_a105000#2#dzzgzjf]}<0,0-({Q[tccit_qysds_a105000#1#dzzgzjf]}-{Q[tccit_qysds_a105000#2#dzzgzjf]}),0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320599;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320599,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#9#wcgjwdmxeye','{Q[9#11.境外所得抵免限额]}-{Q[9#12.本年可抵免境外所得税额]}','A108000境外所得税收抵免明细表#9#13.未超过境外所得税抵免限额的余额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108000','wcgjwdmxeye','1',' ','{Q[tccit_qysds_a108000#9#jwsddmxe]}-{Q[tccit_qysds_a108000#9#bnkdmjwsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932721;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932721,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#3#cyzdqtz','{Q[持有收益税收金额#3.持有至到期投资]}-{Q[持有收益账载金额#3.持有至到期投资]}','A105030投资收益纳税调整明细#持有收益纳税调整金额#3.持有至到期投资','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105030','cyzdqtz','1',' ','{Q[tccit_qysds_a105030#2#cyzdqtz]}-{Q[tccit_qysds_a105030#1#cyzdqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133300125687464960;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133300125687464960,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#9#fzjgmc',' ','A109010分支机构信息#9#2.分支机构名称','4','9','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''9'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320778;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320778,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#35#nstzje','{Q[35.六、油气开发投资#2.账载金额本年折旧摊销额]}-{Q[35.六、油气开发投资#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#35.六、油气开发投资#9.纳税调整金额','1','35','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#35#zzjebnzj]}-{Q[tccit_qysds_a105080#35#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112222721271398400;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112222721271398400,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#23#bnd',' ','A107041高新技术企业优惠情况及明细表#23#1.本年度','1','23','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd',' ',' ','{S[select fcurryear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''9'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932248;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932248,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#4#ysgj',' ','A105030投资收益纳税调整明细#4#4.衍生工具','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105030','ysgj',' ',' ','{S[select fkjqrczsr from t_tccit_asset_dispose_sum where fitemtype=''6010804'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932695;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932695,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#csgqtzyw','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#201从事股权投资业务','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','csgqtzyw','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1113755570705631232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113755570705631232,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#8#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#8#4.特殊性税务处理递延纳税账载金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{Q[tccit_qysds_a105100#9#tszzje]}+{Q[tccit_qysds_a105100#10#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114448466848777216;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114448466848777216,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#5#tzbl',' ','A000000主要股东及分红情况#5#3.投资比例（%）','1','5','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','tzbl',' ',' ','{S[select h.finvestrate from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=5 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133307673941492736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133307673941492736,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#11#fzjggzze',' ','A109010分支机构信息#11#4.职工薪酬','1','11','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''11'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113019859861705728;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113019859861705728,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#3#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#3#2.一般性税务处理税收金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030102'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071725412318745600;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071725412318745600,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#13#xgsf',' ','A107020所得减免优惠明细表#13#6.相关税费','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf',' ',' ','{S[select frelaxtax from t_tccit_getredu_sum where FREDUCENAME=1064511471960165376 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112316277931685888;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112316277931685888,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#6#bnmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#6#6.本年末准予提取贷款损失准备金的贷款资产余额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkzcye',' ',' ','{S[select fbnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''6'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932209;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932209,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#qtwaqzfszqrsr',' ','A105020未按权责发生确实收入调整明细#5#13.其他未按权责发生制确认收入','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','qtwaqzfszqrsr',' ',' ','{S[select ftaxincomesum from t_tccit_right_income_sum where FITEMTYPE=''004'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133283263453046784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133283263453046784,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_zjg#1#fzjgftdsdse',' ','A109010企业所得税汇总纳税总机构#1#6.分支机构分摊的所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109010_zjg','fzjgftdsdse',' ',' ','{Q[tccit_qysds_a109000#1#zjgssfzftybtse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133308802653864960;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133308802653864960,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#4#fzjgzcze',' ','A109010分支机构信息#4#5.资产总额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''4'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112312182193829888;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112312182193829888,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#7#snmdkye',' ','A105120贷款损失准备金及纳税调整明细表#7#1.上年末贷款资产余额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkye',' ',' ','{S[select fsnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''7'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112317354592746496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112317354592746496,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#6#jtbl',' ','A105120贷款损失准备金及纳税调整明细表#6#7.计提比例','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jtbl',' ',' ','{S[select fjtbl from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''6'' ]}*100'); 
DELETE FROM t_tctb_formula WHERE FID = 1133309937204832256;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133309937204832256,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#1#fpbl',' ','A109010分支机构信息#1#6.分配比例','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#1#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#1#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#1#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932564;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932564,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#25#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#25#3.赔偿收入','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''7010310'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932640;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932640,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#zqywsxfjyjzc','{Q[金额#27.证券经纪业务手续费支出]}+{Q[金额#28.证券佣金支出]}+{Q[金额#29.证券业务其他]}','A102020金融企业支出明细#金额#26.证券业务手续费及佣金支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','zqywsxfjyjzc','1',' ','{Q[tccit_qysds_a102020#1#zqjjywsxfzc]}+{Q[tccit_qysds_a102020#1#zjywyjzc]}+{Q[tccit_qysds_a102020#1#zqywsxfjyjzcqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114450279048152064;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114450279048152064,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#4#syje',' ','A000000主要股东及分红情况#4#4.当年（决议日）分配的股息、红利等权益性投资收益金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','syje',' ',' ','{S[select h.fcurryeardividend from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=4 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123709094281423872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123709094281423872,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#29#yhfs',' ','A107020所得减免优惠明细表#29#3.优惠方式','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107020','yhfs',' ',' ','{S[select   fyhfs from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932575;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932575,{ts'2022-05-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A100000#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A100000中华人民共和国企业所得税年度纳税申报表（A类）#表单名称','3','A100000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320996;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320996,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#25#hj','({Q[26.境内的外部研发费#4.合计]}+{Q[28.可计入研发费用的境外的外部研发费#4.合计]})*0.8','A107041高新技术企业优惠情况及明细表#25.委托外部研发费用#4.合计','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj','1',' ','({Q[tccit_qysds_a107041#26#hj]}+{Q[tccit_qysds_a107041#28#hj]})*0.8'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932929;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932929,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#15#zxgxjsqy','{Q[7#2.投资于未上市中小高新技术企业]}+{Q[13#2.投资于未上市中小高新技术企业]}','A107030抵扣应纳税所得额明细表#15#2.投资于未上市中小高新技术企业','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107030','zxgxjsqy','1',' ','{Q[tccit_qysds_a107030#7#zxgxjsqy]}+{Q[tccit_qysds_a107030#13#zxgxjsqy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321130;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321130,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#tqwdqzrzbj',' ','A101020金融企业收入明细#金额#31.提取未到期责任准备金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','tqwdqzrzbj','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=31 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320792;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320792,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#1#ssje','{Q[1.一、现金及银行存款损失#4.资产计税基础]}-{Q[1.一、现金及银行存款损失#2.资产处置收入]}-{Q[1.一、现金及银行存款损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#1.一、现金及银行存款损失#5.资产损失的税收金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#1#zcjsjc]}-{Q[tccit_qysds_a105090#1#zcczsr]}-{Q[tccit_qysds_a105090#1#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321277;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321277,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#qt',' ','A104000期间费用明细表#销售费用#25.其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','qt','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=25 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320830;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320830,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#10#nstzje','{Q[10.其中：无形资产转让损失#1.资产损失的账载金额]}-{Q[10.其中：无形资产转让损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#10.其中：无形资产转让损失#6.纳税调整金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#10#zzje]}+{Q[tccit_qysds_a105090#10#zchxje]}-{Q[tccit_qysds_a105090#10#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114449153229849600;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114449153229849600,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#10#tzbl',' ','A000000主要股东及分红情况#10#3.投资比例（%）','1','10','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','tzbl',' ',' ','{S[select h.finvestrate from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=10 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932908;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932908,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#chjstzqrjeqdcgsh','{Q[2#11.撤回或减少投资确认金额_从被投资企业撤回或减少投资取得的资产]}-{Q[2#13.撤回或减少投资确认金额_收回初始投资成本]}','A107011居民企业之间权益性投资收益优惠#2#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeqdcgsh','1',' ','{Q[tccit_qysds_a107011#2#chjstzqrjezc]}-{Q[tccit_qysds_a107011#2#chjstzqrjeshcstzcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112311258406763520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112311258406763520,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#4#snmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#4#5.上年末准予提取贷款损失准备金的贷款资产余额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkzcye',' ',' ','{S[select fsnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''4'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133313035847575552;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133313035847575552,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#3#fpse',' ','A109010分支机构信息#3#7.分配所得税额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#3#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112250355787235328;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112250355787235328,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#1#bnmsszbjye',' ','A105120贷款损失准备金及纳税调整明细表#1#4.本年末贷款损失准备金余额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmsszbjye',' ',' ','{S[select fbnmsszbjye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''1'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114449690167870464;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114449690167870464,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#1#syje',' ','A000000主要股东及分红情况#1#4.当年（决议日）分配的股息、红利等权益性投资收益金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','syje',' ',' ','{S[select h.fcurryeardividend from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=1 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113695837868995584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113695837868995584,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#dnknbks',' ','A106000企业所得税弥补亏损明细表#9#4.可弥补年限5年','1','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','dnknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-2 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-2 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}  #else #if({S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}>0 )    0-{S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']} #else  {S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932762;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932762,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#11#qt','{Q[持有收益纳税调整金额#9.其他]}+{Q[处置收益纳税调整金额#9.其他]}','A105030投资收益纳税调整明细#纳税调整金额#9.其他','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105030','qt','1',' ','{Q[tccit_qysds_a105030#3#qt]}+{Q[tccit_qysds_a105030#10#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932201;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932201,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#qtfqqrsr',' ','A105020未按权责发生确实收入调整明细#2#8.其他分期确认收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','qtfqqrsr',' ',' ','{S[select fzzjecurrent from t_tccit_right_income_sum where FITEMTYPE=''003_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931988;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931988,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#2#bqyjsdggfhywxcfkcxe','{Q[保险企业手续费及佣金支出#4.本年计算扣除限额的基数]}*{Q[保险企业手续费及佣金支出#5.税收规定扣除率]}/','A105060广告业务宣传费跨年纳税调整明细#2#6.本企业计算的扣除限额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105060','bqyjsdggfhywxcfkcxe',' ',' ','{Q[tccit_qysds_a105060#2#bnjsggfhywxcfkcedxssr]}*{Q[tccit_qysds_a105060#2#ssgdkce]}/100'); 
DELETE FROM t_tctb_formula WHERE FID = 1135345052311413760;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135345052311413760,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#22#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#22#研发活动费用金额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=22]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932203;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932203,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#qtfqqrsr',' ','A105020未按权责发生确实收入调整明细#4#8.其他分期确认收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','qtfqqrsr',' ',' ','{S[select ftaxincomecurrent from t_tccit_right_income_sum where FITEMTYPE=''003_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932657;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932657,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#kqsqdzjlxtxq','{Q[合同金额#2.租金]}+{Q[合同金额#3.利息]}+{Q[合同金额#4.特许权使用费]}','A105020未按权责发生确实收入调整明细#合同金额#1.跨期收取的租金、利息、特许权使用费收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','kqsqdzjlxtxq','1',' ','{Q[tccit_qysds_a105020#1#zj]}+{Q[tccit_qysds_a105020#1#lx]}+{Q[tccit_qysds_a105020#1#txqsyf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069464582419921920;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069464582419921920,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#18#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#18#7.资产损失准备金核销金额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype in (''70103080102'',''70103080103'',''70103080104'',''70103080105'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320752;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320752,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#14#ssje2014zje','{Q[14.（七）集成电路企业生产设备#5.税收金额-税收折旧、摊销额]}-{Q[14.（七）集成电路企业生产设备#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#14.七集成电路企业生产设备#7.税收金额加速折旧、摊销统计额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje','1',' ','{Q[tccit_qysds_a105080#14#ssjessgdzje]}-{Q[tccit_qysds_a105080#14#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133295450498246656;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133295450498246656,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#1#fzjgnsrsbh',' ','A109010分支机构信息#1#1.分支机构纳税人识别号','4','1','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''1'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323850857;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323850857,{ts'2021-07-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#gyjzbdsy',' ','A100000年度纳税申报表#金额#8.公允价值变动收益','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','gyjzbdsy','1',' ','if({C[#isbuydgservice]}=true,{S[select famount from t_tccit_dg_a100000_1_sum where fitemtype =''108'' and forgid = ''#orgid'' and fskssqq =''#startDate'' and fskssqz =''#endDate'']},{S[select famount from t_tccit_dg_a100000_1_sum where fitemno=8 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932642;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932642,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#sydwsr','{Q[金额#2.财政补助收入]}+{Q[金额#3.事业收入]}+{Q[金额#4.上级补助收入]}+{Q[金额#5.附属单位上缴收入]}+{Q[金额#6.经营收入]}+{Q[金额#7.其他收入]}','A103000事业单位支出明细#金额#1.事业单位收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','sydwsr','1',' ','{Q[tccit_qysds_a103000#1#czbzsr]}+{Q[tccit_qysds_a103000#1#sysr]}+{Q[tccit_qysds_a103000#1#sjbzsr]}+{Q[tccit_qysds_a103000#1#fsdwsjsr]}+{Q[tccit_qysds_a103000#1#jysr]}+{Q[tccit_qysds_a103000#1#qtsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114429401724052480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114429401724052480,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#qendynbe',' ','A106000企业所得税弥补亏损明细表#10#7.当年亏损额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','qendynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(flossmoney)  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  {S[SELECT fqendynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1071738822271996928;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071738822271996928,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#25#sdjmyhsxdm',' ','A107020所得减免优惠明细表#25#2.所得减免优惠事项代码','4','25','1066581598406760448','qysdsnb','tccit_qysds_a107020','sdjmyhsxdm',' ',' ','{S[select   fyhsxmc from t_tccit_getredu_sum where FREDUCENAME=1119525021539512320 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321261;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321261,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#ccshpk',' ','A104000期间费用明细表#销售费用#8.财产损耗、盘亏及毁损损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','ccshpk','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=8 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932675;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932675,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#hj','{Q[本年税收金额#1.跨期收取的租金、利息、特许权使用费收入]}+{Q[本年税收金额#5.分期确认收入]}+{Q[本年税收金额#9.政府补助递延收入]}+{Q[本年税收金额#13.其他未按权责发生制确认收入]}','A105020未按权责发生确实收入调整明细#本年税收金额#14.合计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','hj','1',' ','{Q[tccit_qysds_a105020#4#kqsqdzjlxtxq]}+{Q[tccit_qysds_a105020#4#fqqrsr]}+{Q[tccit_qysds_a105020#4#zfbzdysr]}+{Q[tccit_qysds_a105020#4#qtwaqzfszqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112323547113502720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112323547113502720,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#8#dksszbjye',' ','A105120贷款损失准备金及纳税调整明细表#8#9.截至上年末已在税前扣除的贷款损失准备金的余额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','dksszbjye',' ',' ','{S[select fdksszbjye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''8'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932945;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932945,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105020#tabname',' ','企业所得税年度纳税申报表填报表#A105020未按权责发生制确认收入纳税调整明细表#表单名称','1','A105020','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105020'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851104;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851104,{ts'2021-02-04  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#7#ssje',' ','A105070捐赠支出及纳税调整明细#本年#4.税收金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105070','ssje','1',' ','{S[select fmoney from  t_tccit_dg_b105021_sum where FITEMNO=''13'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320853;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320853,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#2#ssje','{Q[3.1.财产保险业务非投资型#2.税收金额]}+{Q[4.1.财产保险业务投资型保证收益#2.税收金额]}+{Q[5.1.财产保险业务投资型无保证收益#2.税收金额]}+{Q[6.2.人寿保险业务保证收益#2.税收金额]}+{Q[7.2.人寿保险业务无保证收益#2.税收金额]}+{Q[8.3.健康保险业务短期#2.税收金额]}+{Q[9.3.健康保险业务长期#2.税收金额]}+{Q[10.4.意外伤害保险业务非投资型#2.税收金额]}+{Q[11.4.意外伤害保险业务投资型保证收益#2.税收金额]}+{Q[12.4.意外伤害保险业务投资型无保证收益#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#2.一保险保障基金#2.税收金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105120','ssje','1',' ','{Q[tccit_qysds_a105120#3#ssje]}+{Q[tccit_qysds_a105120#4#ssje]}+{Q[tccit_qysds_a105120#5#ssje]}+{Q[tccit_qysds_a105120#6#ssje]}+{Q[tccit_qysds_a105120#7#ssje]}+{Q[tccit_qysds_a105120#8#ssje]}+{Q[tccit_qysds_a105120#9#ssje]}+{Q[tccit_qysds_a105120#10#ssje]}+{Q[tccit_qysds_a105120#11#ssje]}+{Q[tccit_qysds_a105120#12#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320912;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320912,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#hj','{Q[金额#1.免税收入]}+{Q[金额#17.减计收入]}+{Q[金额#25.加计扣除]}','A107010免税减计收入及加计扣除优惠明细表#金额#31.合计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','hj','1',' ','{Q[tccit_qysds_a107010#1#mssr]}+{Q[tccit_qysds_a107010#1#jjsr]}+{Q[tccit_qysds_a107010#1#jjkc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320688,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#1#jzxj','{Q[1#14.结转以后年度抵免的境外所得已缴所得税额_前四年]}+{Q[1#15.结转以后年度抵免的境外所得已缴所得税额_前三年]}+{Q[1#16.结转以后年度抵免的境外所得已缴所得税额_前二年]}+{Q[1#17.结转以后年度抵免的境外所得已缴所得税额_前一年]}+{Q[1#18.结转以后年度抵免的境外所得已缴所得税额_本年]}','A108030跨年度结转抵免境外所得税明细表#1#19.结转以后年度抵免的境外所得已缴所得税额_小计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108030','jzxj','1',' ','{Q[tccit_qysds_a108030#1#jzqsin]}+{Q[tccit_qysds_a108030#1#jzqsann]}+{Q[tccit_qysds_a108030#1#jzqln]}+{Q[tccit_qysds_a108030#1#jzqyn]}+{Q[tccit_qysds_a108030#1#jbzn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095476867953071104;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095476867953071104,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#lyzysccp',' ','A107010免税减计收入及加计扣除优惠明细表#1#18.综合利用资源生产产品取得的收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','lyzysccp',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''2.1'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114450897120789504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114450897120789504,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#9#syje',' ','A000000主要股东及分红情况#9#4.当年（决议日）分配的股息、红利等权益性投资收益金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','syje',' ',' ','{S[select h.fcurryeardividend from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=9 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113693478162087936;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113693478162087936,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#dnknbks',' ','A106000企业所得税弥补亏损明细表#4#4.可弥补年限5年','1','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','dnknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-7 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-7 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}  #else #if({S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}>0 )    0-{S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']} #else  {S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1112296852297923584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112296852297923584,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#3#bnmdkye',' ','A105120贷款损失准备金及纳税调整明细表#3#2.本年末贷款资产余额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkye',' ',' ','{Q[tccit_qysds_a105120_dk#4#bnmdkye]} + {Q[tccit_qysds_a105120_dk#5#bnmdkye]}+ {Q[tccit_qysds_a105120_dk#6#bnmdkye]}+ {Q[tccit_qysds_a105120_dk#7#bnmdkye]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932706;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932706,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#fsjscgtzrgdynssx','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#220发生技术成果投资入股递延纳税事项','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','fsjscgtzrgdynssx','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321324;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321324,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#4#jszrf',' ','A104000期间费用明细表#管理费用境外支付#18.技术转让费','1','4','1066581598406760448','qysdsnb','tccit_qysds_a104000','jszrf','1',' ','{S[select fmanageoutside from t_tccit_profit_fees_sum where fitemno=18 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321168;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321168,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#zwczss',' ','A102010一般企业成本支出明细#金额#19.债务重组损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','zwczss','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=19 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095552788286456832;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095552788286456832,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#qtjjsrqt',' ','A107010免税减计收入及加计扣除优惠明细表#1#24.2其他减计收入-其它','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','qtjjsrqt',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''2.7'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114428861246039040;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114428861246039040,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#qendynbe',' ','A106000企业所得税弥补亏损明细表#7#7.当年亏损额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','qendynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(flossmoney)  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  {S[SELECT fqendynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932894;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932894,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105110#1#bqbcsr','{Q[金额#3.对被征用资产价值的补偿]}+{Q[金额#4.因搬迁、安置而给予的补偿]}+{Q[金额#5.对停产停业形成的损失而给予的补偿]}+{Q[金额#6.资产搬迁过程中遭到毁损而取得的保险赔款]}+{Q[金额#7.其他补偿收入]}','A105110政策性搬迁纳税调整明细表#金额#2.搬迁补偿收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105110','bqbcsr','1',' ','{Q[tccit_qysds_a105110#1#dbzyzcjzdbc]}+{Q[tccit_qysds_a105110#1#ybqazegydbc]}+{Q[tccit_qysds_a105110#1#dtctyxcd]}+{Q[tccit_qysds_a105110#1#zcbqqdbx]}+{Q[tccit_qysds_a105110#1#qtbcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932982;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932982,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#2#kjzyhnddmdse','{Q[前四年度#4.本年可抵免税额]}-{Q[前四年度#10.小计]}-{Q[前四年度#11.本年实际抵免的各年度税额]}','A107050税额抵免优惠明细表#前四年度#12.可结转以后年度抵免的税额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','kjzyhnddmdse','1',' ','{Q[tccit_qysds_a107050#2#bnkdmse]}-{Q[tccit_qysds_a107050#2#xj]}-{Q[tccit_qysds_a107050#2#bnsjdmdgndse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320661;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320661,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108020#4#jzhndmbfsjkse','{Q[4#2.非实际亏损额的弥补以前年度结转尚未弥补的非实际亏损额]}+{Q[4#3.非实际亏损额的弥补本年发生的非实际亏损额]}-{Q[4#4.非实际亏损额的弥补本年弥补的以前年度非实际亏损额]}','A108020境外分支机构弥补亏损明细表#4#5.非实际亏损额的弥补结转以后年度弥补的非实际亏损额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108020','jzhndmbfsjkse','1',' ','{Q[tccit_qysds_a108020#4#yqndjzwmbfsjkse]}+{Q[tccit_qysds_a108020#4#bnfsfsjkse]}-{Q[tccit_qysds_a108020#4#bnmbyqfsjkse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112227405419774976;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112227405419774976,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#21#qynd',' ','A107041高新技术企业优惠情况及明细表#21#2.前一年度','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd',' ',' ','{S[select fpreoneyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''7'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114455526734823424;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114455526734823424,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#10#gj',' ','A000000主要股东及分红情况#10#5.国籍','4','10','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gj',' ',' ','{C[#guoji_10]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932736,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#8#qt','{Q[处置收益会计确认处置收入#9.其他]}-{Q[处置收益账面价值#9.其他]}','A105030投资收益纳税调整明细#处置收益会计确认所得或损失#9.其他','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105030','qt','1',' ','{Q[tccit_qysds_a105030#4#qt]}-{Q[tccit_qysds_a105030#6#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320695;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320695,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#8#jzxj','{Q[8#14.结转以后年度抵免的境外所得已缴所得税额_前四年]}+{Q[8#15.结转以后年度抵免的境外所得已缴所得税额_前三年]}+{Q[8#16.结转以后年度抵免的境外所得已缴所得税额_前二年]}+{Q[8#17.结转以后年度抵免的境外所得已缴所得税额_前一年]}+{Q[8#18.结转以后年度抵免的境外所得已缴所得税额_本年]}','A108030跨年度结转抵免境外所得税明细表#8#19.结转以后年度抵免的境外所得已缴所得税额_小计','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108030','jzxj','1',' ','{Q[tccit_qysds_a108030#8#jzqsin]}+{Q[tccit_qysds_a108030#8#jzqsann]}+{Q[tccit_qysds_a108030#8#jzqln]}+{Q[tccit_qysds_a108030#8#jzqyn]}+{Q[tccit_qysds_a108030#8#jbzn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320837;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320837,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#17#nstzje','{Q[17.（一）金融企业债权性投资损失#1.资产损失的账载金额]}-{Q[17.（一）金融企业债权性投资损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#17.一金融企业债权性投资损失#6.纳税调整金额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#17#zzje]}+{Q[tccit_qysds_a105090#17#zchxje]}-{Q[tccit_qysds_a105090#17#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321521;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321521,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#2#hjje','{P[创业投资企业抵减应纳税所得比例]}','A107030抵扣应纳税所得额明细表#2#1.合计金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','{P[CTQYDJ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932932;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932932,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#9#hjje','{Q[9#2.投资于未上市中小高新技术企业]}+{Q[9#3.投资于种子期、初创期科技型企业]}','A107030抵扣应纳税所得额明细表#9#1.合计金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','{Q[tccit_qysds_a107030#9#zxgxjsqy]}+{Q[tccit_qysds_a107030#9#kjxqy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112230680315560960;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112230680315560960,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#19#qend',' ','A107041高新技术企业优惠情况及明细表#19#3.前二年度','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend',' ',' ','{S[select fpretwoyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''5'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932604;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932604,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107050#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A107050税额抵免优惠明细表#表单名称','3','A107050','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1199134137504570368;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1199134137504570368,{ts'2021-07-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#42#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#42#3.账载金额累计折旧、摊销额','1','42','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321183;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321183,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#xzyyhjk',' ','A102020金融企业支出明细#金额#5.向中央银行借款','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','xzyyhjk','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=5 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133325441567008768;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133325441567008768,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#zjgztscjybmybtse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#15.其中：总机构主体生产经营部门分摊本年应补退的所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','zjgztscjybmybtse',' ',' ','{S[SELECT f.famountorratio FROM t_tccit_seft_hznsqy_sum f WHERE f.forgid = ''#orgid'' AND f.fskssqq = ''#startDate'' AND f.fskssqz = ''#endDate'' AND f.fitemtype=''3d'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133313368036452352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133313368036452352,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#7#fpse',' ','A109010分支机构信息#7#7.分配所得税额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#7#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932468;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932468,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#31#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#31#8.税收金额累计折旧、摊销额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020403'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069476503361743872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069476503361743872,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#30#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#30#4.资产计税基础','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype in (''70103080101'',''70103080102'',''70103080103'',''70103080104'',''70103080105'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077608819154010112;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077608819154010112,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#38#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#38#3.账载金额累计折旧、摊销额','1','38','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020605'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113738150594791424;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113738150594791424,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#14#qsand',' ','A105040专项用途财政性资金纳税调整明细#14#3.前三年度','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsand',' ',' ','{S[SELECT sum(e.FINCLUDEDTAXAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-3 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932140;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932140,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#yyzgjlsr',' ','A05010视同销售纳税调整明细#1#5.用于职工奖励或福利视同销售收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','yyzgjlsr',' ',' ','{S[select sum(fincome) from t_tccit_thinkofsell_sum where FITEMTYPE=''50103'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932730;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932730,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#8#cyzdqtz','{Q[处置收益会计确认处置收入#3.持有至到期投资]}-{Q[处置收益账面价值#3.持有至到期投资]}','A105030投资收益纳税调整明细#处置收益会计确认所得或损失#3.持有至到期投资','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105030','cyzdqtz','1',' ','{Q[tccit_qysds_a105030#4#cyzdqtz]}-{Q[tccit_qysds_a105030#6#cyzdqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095560187055489024;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095560187055489024,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#btzqy',' ','A107011居民企业之间权益性投资收益优惠#3#1.被投资企业','4','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqy',' ',' ','{S[select ftzbdname from t_tccit_dg_b105037_sum where flabel=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114454721394902016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114454721394902016,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#3#gj',' ','A000000主要股东及分红情况#3#5.国籍','4','3','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gj',' ',' ','{C[#guoji_3]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114481770872439808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114481770872439808,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#8#zjlx','[{"val":"","text":""},{"val":"1","text":"居民身份证"},{"val":"2","text":"中国护照"},{"val":"3","text":"税务登记证"},{"val":"4","text":"营业执照"},{"val":"5","text":"组织机构代码证"},{"val":"6","text":"其他单位证件"},{"val":"7","text":"香港特别行政区护照"},{"val":"8","text":"澳门特别行政区护照"},{"val":"9","text":"港澳居民来往内地通行证"},{"val":"10","text":"中华人民共和国往来港澳通行证"},{"val":"11","text":"台湾居民来往大陆通行证"},{"val":"12","text":"大陆居民往来台湾通行证"},{"val":"13","text":"香港永久性居民身份证"},{"val":"14","text":"台湾身份证"},{"val":"15","text":"澳门特别行政区永久性居民身份证"},{"val":"16","text":"外国护照"},{"val":"17","text":"外国人身份证件"},{"val":"18","text":"其他个人证件"}]','A000000主要股东及分红情况#8#2.证件种类','3','8','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321133;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321133,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#qtywsr',' ','A101020金融企业收入明细#金额#34.其他业务收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','qtywsr','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=34 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1203704139457157120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1203704139457157120,{ts'2021-07-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#39#hj',' ','A107040减免所得税优惠明细表#39#1.金额','1','39','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1114437668143367168;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114437668143367168,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#6#gdmc',' ','A000000主要股东及分红情况#6#1.股东名称','4','6','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gdmc',' ',' ','{S[select h.fgdname from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=6 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932424;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932424,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#21#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#21#4.税收金额资产计税基础','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020303'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932935;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932935,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A000000#tabname',' ','企业所得税年度纳税申报表填报表#A000000企业所得税年度纳税申报基础信息表#表单名称','1','A000000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A000000'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321211;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321211,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#zgxc','ififif({Q[纳税调整金额#13.合计]}<,-{Q[纳税调整金额#13.合计]})','A105000纳税调整项目明细#调减金额#14.职工薪酬','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','zgxc','1',' ','if({Q[tccit_qysds_a105050#6#hj]}<0,0-{Q[tccit_qysds_a105050#6#hj]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321151;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321151,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#czgdzccb',' ','A102010一般企业成本支出明细#金额#12.出租固定资产成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','czgdzccb','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=12 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337842;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337842,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#24#xmcb','{Q[22.八、线宽小于65纳米或投资额超过150亿元的集成电路生产项目#5.项目成本]}+{Q[23.八、线宽小于65纳米或投资额超过151亿元的集成电路生产项目#5.项目成本]}','A107020所得减免优惠明细表#24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#5.项目成本','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb','1',' ','{Q[tccit_qysds_a107020#22#xmcb]}+{Q[tccit_qysds_a107020#23#xmcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1181147857650987008;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181147857650987008,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#sl2','{Q[1#8.税率]}','A108000境外所得税收抵免明细表#10#8.税率','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','sl2',' ',' ','{Q[tccit_qysds_a108000#1#sl2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135445230754228224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135445230754228224,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#2#bndmqynse',' ','A107050税额抵免优惠明细表#2#2.本年抵免前应纳税额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','bndmqynse',' ',' ','{S[select fbndmqynse from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932677;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932677,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#kqsqdzjlxtxq','{Q[本年税收金额#1.跨期收取的租金、利息、特许权使用费收入]}-{Q[本年账载金额#1.跨期收取的租金、利息、特许权使用费收入]}','A105020未按权责发生确实收入调整明细#纳税调整金额#1.跨期收取的租金、利息、特许权使用费收入','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','kqsqdzjlxtxq','1',' ','{Q[tccit_qysds_a105020#4#kqsqdzjlxtxq]}-{Q[tccit_qysds_a105020#2#kqsqdzjlxtxq]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113708217642464256;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113708217642464256,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#qsndyjbe',' ','A106000企业所得税弥补亏损明细表#6#5.可弥补年限10年','1','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndyjbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}>0)      {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}   #else  #if({S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}>0 )     0-{S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}  #else   {S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932243;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932243,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#ztqt',' ','A105000纳税调整项目明细#3#44.其他','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','ztqt',' ',' ','if({S[select fnstzje from t_tccit_other_other_sum  where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}>0, {S[select fnstzje  from t_tccit_other_other_sum where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932139;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932139,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#yyjjycsr',' ','A05010视同销售纳税调整明细#1#4.用于交际应酬视同销售收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','yyjjycsr',' ',' ','{S[select sum(fincome) from t_tccit_thinkofsell_sum where FITEMTYPE=''50102'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135461732664497152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135461732664497152,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#6#bnsjdmdgndse',' ','A107050税额抵免优惠明细表#6#11.本年实际抵免的各年度税额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse',' ',' ','{S[select t.fbnsjdmdgndse from t_tccit_yh_taxcredit_data t where t.forgid=''#orgid'' and t.fitemno=6]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1181085605514217472;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181085605514217472,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#jyjsldewdme','{Q[1#17.按简易办法计算_按25%计算的抵免额]}','A108000境外所得税收抵免明细表#10#17.按简易办法计算_按25%计算的抵免额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsldewdme',' ',' ','{Q[tccit_qysds_a108000#1#jyjsldewdme]}+{Q[tccit_qysds_a108000#2#jyjsldewdme]}+{Q[tccit_qysds_a108000#3#jyjsldewdme]}+{Q[tccit_qysds_a108000#4#jyjsldewdme]}+{Q[tccit_qysds_a108000#5#jyjsldewdme]}+{Q[tccit_qysds_a108000#6#jyjsldewdme]}+{Q[tccit_qysds_a108000#7#jyjsldewdme]}+{Q[tccit_qysds_a108000#8#jyjsldewdme]}+{Q[tccit_qysds_a108000#9#jyjsldewdme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1132639264891268096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1132639264891268096,{ts'2021-04-12  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#29#yhfs',' ','A107020所得减免优惠明细表#29#3.优惠方式','4','29','1066581598406760448','qysdsnb','tccit_qysds_a107020','yhfs',' ',' ','{S[select   fyhfs from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320748;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320748,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#10#ssje2014zje','{Q[10.（三）固定资产一次性扣除#5.税收金额-税收折旧、摊销额]}-{Q[10.（三）固定资产一次性扣除#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#10.三固定资产一次性扣除#7.税收金额加速折旧、摊销统计额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje','1',' ','{Q[tccit_qysds_a105080#10#ssjessgdzje]}-{Q[tccit_qysds_a105080#10#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462503;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462503,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#3#nstzje','{Q[本年#5.纳税调整金额]}','A105070捐赠支出及纳税调整明细#限额扣除的公益性捐赠#5.纳税调整金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105070','nstzje','1',' ','{Q[tccit_qysds_a105070#7#nstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133313102897719296;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133313102897719296,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#4#fpse',' ','A109010分支机构信息#4#7.分配所得税额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#4#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932207;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932207,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#qtwaqzfszqrsr',' ','A105020未按权责发生确实收入调整明细#3#13.其他未按权责发生制确认收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','qtwaqzfszqrsr',' ',' ','{S[select fzzjesum from t_tccit_right_income_sum where FITEMTYPE=''004'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133305966582940672;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133305966582940672,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#6#fzjgsrze',' ','A109010分支机构信息#6#3.营业收入','1','6','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgsrze',' ',' ','{S[SELECT a.fyysr FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''6'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133296232140351488;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133296232140351488,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#7#fzjgnsrsbh',' ','A109010分支机构信息#7#1.分支机构纳税人识别号','4','7','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''7'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114454963624346624;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114454963624346624,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#5#gj',' ','A000000主要股东及分红情况#5#5.国籍','4','5','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gj',' ',' ','{C[#guoji_5]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078898065340936192;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078898065340936192,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#38#ssje2014zje',' ','A105080资产折旧摊销及纳税调整明细#38#7.税收金额加速折旧、摊销统计额','1','38','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje',' ',' ','{Q[tccit_qysds_a105080#38#ssjessgdzje]}-{Q[tccit_qysds_a105080#38#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932857;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932857,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#5#nstzje','{Q[5#3.一般性税务处理纳税调整金额]}+{Q[5#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#5#7.纳税调整金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#5#ybnstzje]}+{Q[tccit_qysds_a105100#5#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932598;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932598,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107012#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A107012研发费用加计扣除优惠明细表#表单名称','3','A107012','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932913;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932913,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#chjstzqrjeqdcgsh','{Q[7#11.撤回或减少投资确认金额_从被投资企业撤回或减少投资取得的资产]}-{Q[7#13.撤回或减少投资确认金额_收回初始投资成本]}','A107011居民企业之间权益性投资收益优惠#7#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeqdcgsh','1',' ','{Q[tccit_qysds_a107011#7#chjstzqrjezc]}-{Q[tccit_qysds_a107011#7#chjstzqrjeshcstzcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114443312812524544;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114443312812524544,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#7#zjlx',' ','A000000主要股东及分红情况#7#2.证件种类','1','7','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx',' ',' ','{S[select h.ffidtype from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=7 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135427028120785920;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135427028120785920,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#11#kjzyhnddmdse',' ','A107050税额抵免优惠明细表#11#12.可结转以后年度抵免的税额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a107050','kjzyhnddmdse',' ',' ','{S[select t.ftaxamount from t_tccit_yh_taxcredit_sum t where t.forgid=''#orgid'' and t.fskssqq=''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''903'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321279;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321279,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#2#zxgwf',' ','A104000期间费用明细表#销售费用境外支付#3.咨询顾问费','1','2','1066581598406760448','qysdsnb','tccit_qysds_a104000','zxgwf','1',' ','{S[select fselloutside from t_tccit_profit_fees_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932627;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932627,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#zqywsxfjyjsr','{Q[金额#20.证券承销业务]}+{Q[金额#21.证券经纪业务]}+{Q[金额#22.受托客户资产管理业务]}+{Q[金额#23.代理兑付证券]}+{Q[金额#24.代理保管证券]}+{Q[金额#25.证券业务其他]}','A101020金融企业收入明细#金额#19.证券业务手续费及佣金收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','zqywsxfjyjsr','1',' ','{Q[tccit_qysds_a101020#1#zqcxyw]}+{Q[tccit_qysds_a101020#1#zqjjyw]}+{Q[tccit_qysds_a101020#1#stkhzcglyw]}+{Q[tccit_qysds_a101020#1#dldfzq]}+{Q[tccit_qysds_a101020#1#dlbgzq]}+{Q[tccit_qysds_a101020#1#zqywsxfjyjsrqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932433;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932433,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#31#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#31#4.税收金额资产计税基础','1','31','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020403'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320787;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320787,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#17#zcjsjc','{Q[18.符合条件的涉农和中小企业贷款损失#4.资产计税基础]}+{Q[21.其他债权性投资损失#4.资产计税基础]}','A105090资产损失税前扣除及纳税调整明细#17.一金融企业债权性投资损失#4.资产计税基础','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc','1',' ','{Q[tccit_qysds_a105090#18#zcjsjc]}+{Q[tccit_qysds_a105090#21#zcjsjc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932338;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932338,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#8#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#8#4.税收金额资产计税基础','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020601'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932540;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932540,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#19#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#19#3.赔偿收入','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''70103080103'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932735;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932735,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#8#cqzqtz','{Q[处置收益会计确认处置收入#8.长期债券投资]}-{Q[处置收益账面价值#8.长期债券投资]}','A105030投资收益纳税调整明细#处置收益会计确认所得或损失#8.长期债券投资','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqzqtz','1',' ','{Q[tccit_qysds_a105030#4#cqzqtz]}-{Q[tccit_qysds_a105030#6#cqzqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113724621439421440;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113724621439421440,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#3#qynd',' ','A105040专项用途财政性资金纳税调整明细#3#5.前一年度','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105040','qynd',' ',' ','select fbn from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''3'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321270;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321270,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#qycz','if({Q[16#7.纳税调整金额]}>={Q[16#7.纳税调整金额]})','A105000纳税调整项目明细#调增金额#37.企业重组','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','qycz','1',' ','if({Q[tccit_qysds_a105100#16#nstzje]}>=0,{Q[tccit_qysds_a105100#16#nstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932147;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932147,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#yysctgcb',' ','A05010视同销售纳税调整明细#1#13.用于市场推广或销售视同销售成','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','yysctgcb',' ',' ','{S[select sum(fcost) from t_tccit_thinkofsell_sum where FITEMTYPE=''50101'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337806;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337806,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#3#xmsr','{Q[1.一、农、林、牧、渔业项目#4.项目收入]}+{Q[2.一、农、林、牧、渔业项目#4.项目收入]}','A107020所得减免优惠明细表#3.一、农、林、牧、渔业项目小计#4.项目收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr','1',' ','{Q[tccit_qysds_a107020#1#xmsr]}+{Q[tccit_qysds_a107020#2#xmsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932554;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932554,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#23#zzje',' ','A105090资产损失税前扣除及纳税调整明细#23#1.资产损失的账载金额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype in(''701030901'',''701030902'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321273;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321273,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#jszrf',' ','A104000期间费用明细表#销售费用#18.技术转让费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','jszrf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=18 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112324300074957824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112324300074957824,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#9#dksszbj',' ','A105120贷款损失准备金及纳税调整明细表#9#10.准予当年税前扣除的贷款损失准备金','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','dksszbj',' ',' ','if({Q[tccit_qysds_a105120_dk#9#bnmsszbjye]} < {Q[tccit_qysds_a105120_dk#9#jszbje]}, {Q[tccit_qysds_a105120_dk#9#bnmsszbjye]}-  {Q[tccit_qysds_a105120_dk#9#dksszbjye]},{Q[tccit_qysds_a105120_dk#9#jszbje]}- {Q[tccit_qysds_a105120_dk#9#dksszbjye]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321285;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321285,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#2#jszrf',' ','A104000期间费用明细表#销售费用境外支付#18.技术转让费','1','2','1066581598406760448','qysdsnb','tccit_qysds_a104000','jszrf','1',' ','{S[select fselloutside from t_tccit_profit_fees_sum where fitemno=18 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321439;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321439,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#kjz','{Q[9.前二年度#8.当年待弥补的亏损额]}-{Q[9.前二年度#9.使用境内所得弥补]}-{Q[9.前二年度#10.使用境外所得弥补]}','A106000企业所得税弥补亏损明细表#9.前二年度#11.当年可结转以后年度弥补的亏损额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','kjz','1',' ','if({Q[tccit_qysds_a106000#9#qyndynbe]}>{Q[tccit_qysds_a106000#9#hj]}+{Q[tccit_qysds_a106000#9#sjnbe]},{Q[tccit_qysds_a106000#9#qyndynbe]}-{Q[tccit_qysds_a106000#9#hj]}-{Q[tccit_qysds_a106000#9#sjnbe]},{Q[tccit_qysds_a106000#9#hj]}+{Q[tccit_qysds_a106000#9#sjnbe]}-{Q[tccit_qysds_a106000#9#qyndynbe]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1071739548641563648;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071739548641563648,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#25#yftqjfy',' ','A107020所得减免优惠明细表#25#7.应分摊期间费用','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy',' ',' ','{S[select   fqjfyfte from t_tccit_getredu_sum where FREDUCENAME=1119525021539512320 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321015;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321015,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#dmsdse','{Q[本年实际抵免税额合计#11.本年实际抵免的各年度税额]}','A100000年度纳税申报表#金额#27.抵免所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','dmsdse','1',' ','if({Q[tccit_qysds_a107050#7#bnsjdmdgndse]}<=0,0,if({Q[tccit_qysds_a107050#7#bnsjdmdgndse]}>={Q[tccit_qysds_a100000#1#ynsdse]}-{Q[tccit_qysds_a100000#1#jmsdse]},{Q[tccit_qysds_a100000#1#ynsdse]}-{Q[tccit_qysds_a100000#1#jmsdse]},{Q[tccit_qysds_a107050#7#bnsjdmdgndse]}))'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321346;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321346,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#spxssr',' ','A103000事业单位支出明细#金额#14.商品销售收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','spxssr','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=14 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320602;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320602,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#3#jyjsxj','{Q[3#15.按简易办法计算_按低于12.5%的实际税率计算的抵免额]}+{Q[3#16.按简易办法计算_按12.5%计算的抵免额]}+{Q[3#17.按简易办法计算_按25%计算的抵免额]}','A108000境外所得税收抵免明细表#3#18.按简易办法计算_小计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsxj','1',' ','{Q[tccit_qysds_a108000#3#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#3#jyjsldyewdme]}+{Q[tccit_qysds_a108000#3#jyjsldewdme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932758;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932758,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#11#jyxjrfz','{Q[持有收益纳税调整金额#5.交易性金融负债]}+{Q[处置收益纳税调整金额#5.交易性金融负债]}','A105030投资收益纳税调整明细#纳税调整金额#5.交易性金融负债','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrfz','1',' ','{Q[tccit_qysds_a105030#3#jyxjrfz]}+{Q[tccit_qysds_a105030#10#jyxjrfz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133307440025158656;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133307440025158656,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#8#fzjggzze',' ','A109010分支机构信息#8#4.职工薪酬','1','8','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''8'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321344;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321344,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#hfsr',' ','A103000事业单位支出明细#金额#12.会费收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','hfsr','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=12 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113730375185647616;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113730375185647616,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#10#qend',' ','A105040专项用途财政性资金纳税调整明细#10#4.前二年度','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105040','qend',' ',' ','{S[SELECT sum(e.FPAYAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-2 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932316;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932316,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#7#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#7#8.税收金额累计折旧、摊销额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020106'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321208,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#stxszb','if({Q[纳税调整金额#11.视同销售营业成本]}>=,{Q[纳税调整金额#11.视同销售营业成本]},-{Q[纳税调整金额#11.视同销售营业成本]})','A105000纳税调整项目明细#调减金额#13.视同销售成本','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','stxszb','1',' ','if({Q[tccit_qysds_a105010#2#stxsyycb]}>0,{Q[tccit_qysds_a105010#2#stxsyycb]},0-{Q[tccit_qysds_a105010#2#stxsyycb]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1135343248030922752;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135343248030922752,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#4#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#4#研发活动费用金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=4]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932631;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932631,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#zyywcb','{Q[金额#3.销售商品成本]}+{Q[金额#5.提供劳务成本]}+{Q[金额#6.建造合同成本]}+{Q[金额#7.让渡资产使用权成本]}+{Q[金额#8.主营业成本-其他]}','A102010一般企业成本支出明细#金额#2.主营业务成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','zyywcb','1',' ','{Q[tccit_qysds_a102010#1#xsspcb]}+{Q[tccit_qysds_a102010#1#tglwcb]}+{Q[tccit_qysds_a102010#1#jzhtcb]}+{Q[tccit_qysds_a102010#1#rdzcsyqcb]}+{Q[tccit_qysds_a102010#1#zyywcbqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135408816981337088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135408816981337088,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#33#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#33#研发活动费用金额','1','33','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=33]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095471240111460352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095471240111460352,{ts'2021-07-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#zqtzjjfpsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#10.证券投资基金投资者获得的分配收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','zqtzjjfpsr',' ',' ','{S[select sum(fmssrje) from t_tccit_dg_b105037_sum where finvesttype=''证券投资基金'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113017952703288320;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113017952703288320,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#6#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#6#1.一般性税务处理账载金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010303'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932958;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932958,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107012#tabname',' ','企业所得税年度纳税申报表填报表#A107012研发费用加计扣除优惠明细表#表单名称','1','A107012','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A107012'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932832;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932832,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#12#ybnstzje','{Q[12#2.一般性税务处理税收金额]}-{Q[12#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#12#3.一般性税务处理纳税调整金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#12#ybssje]}-{Q[tccit_qysds_a105100#12#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320834;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320834,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#14#nstzje','{Q[14.七、生产性生物资产损失#1.资产损失的账载金额]}-{Q[14.七、生产性生物资产损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#14.七、生产性生物资产损失#6.纳税调整金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#14#zzje]}+{Q[tccit_qysds_a105090#14#zchxje]}-{Q[tccit_qysds_a105090#14#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320987;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320987,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#15#qend','{Q[16.内部研究开发投入#3.前二年度]}+{Q[25.委托外部研发费用#3.前二年度]}','A107041高新技术企业优惠情况及明细表#15.归集的高新研发费用金额#3.前二年度','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend','1',' ','{Q[tccit_qysds_a107041#16#qend]}+{Q[tccit_qysds_a107041#25#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932534;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932534,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#18#zzje',' ','A105090资产损失税前扣除及纳税调整明细#18#1.资产损失的账载金额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(zzje) from t_tccit_assets_loss_sum where fitemtype in (''70103080102'',''70103080103'',''70103080104'',''70103080105'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932123;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932123,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#yygxfpsr',' ','A05010视同销售纳税调整明细#2#6.用于股息分配视同销售收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','yygxfpsr',' ',' ','{Q[tccit_qysds_a105010#1#yygxfpsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321112;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321112,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#ffdkjdz',' ','A101020金融企业收入明细#金额#7.发放贷款及垫资','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','ffdkjdz','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=7 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321280;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321280,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#2#yjsxf',' ','A104000期间费用明细表#销售费用境外支付#6.佣金和手续费','1','2','1066581598406760448','qysdsnb','tccit_qysds_a104000','yjsxf','1',' ','{S[select fselloutside from t_tccit_profit_fees_sum where fitemno=6 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071730554518672384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071730554518672384,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#16#yhfs',' ','A107020所得减免优惠明细表#16#3.优惠方式','4','16','1066581598406760448','qysdsnb','tccit_qysds_a107020','yhfs',' ',' ','{S[select  fyhfs from t_tccit_getredu_sum where FREDUCENAME=1064511941495720961 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069607578544312320;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069607578544312320,{ts'2021-02-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#7#xgsf',' ','A107020所得减免优惠明细表#7#6.相关税费','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf',' ',' ','{S[select  frelaxtax  from t_tccit_getredu_sum where FREDUCENAME in (1064510411371678720,1064510411371678721,1064510411371678722,1064510411371678723,1064510411371678724,1064510411371678725)  AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932457;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932457,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#17#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#17#8.税收金额累计折旧、摊销额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020202'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114419175641580544;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114419175641580544,{ts'2021-04-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#zsbh2',' ','A000000企业所得税年度纳税申报基础信息表#1#211-3证书编号2','4','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','zsbh2',' ',' ','{C[#certificateno_2]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321486;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321486,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#7#hjje','if({Q[5#1.合计金额]}<={Q[6#1.合计金额]}{Q[5#1.合计金额]}{Q[6#1.合计金额]})','A107030抵扣应纳税所得额明细表#7#1.合计金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','if({Q[tccit_qysds_a107030#5#hjje]}<={Q[tccit_qysds_a107030#6#hjje]},{Q[tccit_qysds_a107030#5#hjje]},{Q[tccit_qysds_a107030#6#hjje]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1114444282242351104;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114444282242351104,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#hj',' ','A106000企业所得税弥补亏损明细表#3#9.使用境内所得弥补','1','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','hj',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fsyjnsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}>0) {S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}  #else 0-{S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932394;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932394,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#26#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#26#2.账载金额本年折旧摊销额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020611'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932780;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932780,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#zgjyjfzc','{Q[税收金额#5.按税收规定比例扣除的职工教育经费]}+{Q[税收金额#6.按税收规定全额扣除的职工培训费用]}','A105050职工薪酬支出明细#税收金额#4.职工教育经费支出','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','zgjyjfzc','1',' ','{Q[tccit_qysds_a105050#5#blkcjyjf]}+{Q[tccit_qysds_a105050#5#qekcpxfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932919;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932919,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#hj','{Q[6#7.被投资企业利润分配确认金额_依决定归属于本公司的股息、红利等权益性投资收益金额]}+{Q[6#10.被投资企业清算确认金额_应确认的股息所得]}+{Q[6#16.撤回或减少投资确认金额_应确认的股息所得]}','A107011居民企业之间权益性投资收益优惠#6#17.合计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj','1',' ','{Q[tccit_qysds_a107011#6#btzlrfpqrjesyje]}+{Q[tccit_qysds_a107011#6#btzqsqrjeyqrgxsd]}+{Q[tccit_qysds_a107011#6#chjstzqrjeyqrgxsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071742450588226560;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071742450588226560,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#28#msxmsde',' ','A107020所得减免优惠明细表#28#9.免税项目所得额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','{Q[tccit_qysds_a107020#3#msxmsde]}+{Q[tccit_qysds_a107020#6#msxmsde]}+{Q[tccit_qysds_a107020#9#msxmsde]}+{Q[tccit_qysds_a107020#12#msxmsde]}+{Q[tccit_qysds_a107020#15#msxmsde]}+{Q[tccit_qysds_a107020#18#msxmsde]}+{Q[tccit_qysds_a107020#21#msxmsde]}+{Q[tccit_qysds_a107020#24#msxmsde]}+{Q[tccit_qysds_a107020#27#msxmsde]}+{Q[tccit_qysds_a107020#31#msxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932593;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932593,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105110#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105110政策性搬迁纳税调整明细表#表单名称','3','A105110','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320729;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320729,{ts'2021-08-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#18#ssjezcjs','{Q[19.（一）专利权#4.税收金额资产计税基础]}+{Q[20.（二）商标权#4.税收金额资产计税基础]}{Q[21.（三）著作权#4.税收金额资产计税基础]}+{Q[22.（四）土地使用权#4.税收金额资产计税基础]}+{Q[23.（五）非专利技术#4.税收金额资产计税基础]}+{Q[24.（六）特许权使用费#4.税收金额资产计税基础]}+{Q[25.（七）软件#4.税收金额资产计税基础]}+{Q[27.（八）其他#4.税收金额资产计税基础]}','A105080资产折旧摊销及纳税调整明细#18.三、无形资产19+20+21+22+23+24+25+27#4.税收金额资产计税基础','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs','1',' ','{Q[tccit_qysds_a105080#19#ssjezcjs]}+{Q[tccit_qysds_a105080#20#ssjezcjs]}+{Q[tccit_qysds_a105080#21#ssjezcjs]}+{Q[tccit_qysds_a105080#22#ssjezcjs]}+{Q[tccit_qysds_a105080#23#ssjezcjs]}+{Q[tccit_qysds_a105080#24#ssjezcjs]}+{Q[tccit_qysds_a105080#25#ssjezcjs]}+{Q[tccit_qysds_a105080#27#ssjezcjs]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321030;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321030,{ts'2021-08-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#yywzc','{Q[金额#16.营业外支出]}','A100000年度纳税申报表#金额#12.营业外支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','yywzc','1',' ','{Q[tccit_qysds_a102010#1#yywzc]}+{Q[tccit_qysds_a102020#1#yywzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069607407173439488;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069607407173439488,{ts'2021-02-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#7#xmcb',' ','A107020所得减免优惠明细表#7#5.项目成本','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb',' ',' ','{S[select  fcost  from t_tccit_getredu_sum where FREDUCENAME in (1064510411371678720,1064510411371678721,1064510411371678722,1064510411371678723,1064510411371678724,1064510411371678725)  AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320784,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#17#zzje','{Q[18.符合条件的涉农和中小企业贷款损失#1.资产损失的账载金额]}+{Q[21.其他债权性投资损失#1.资产损失的账载金额]}','A105090资产损失税前扣除及纳税调整明细#17.一金融企业债权性投资损失#1.资产损失的账载金额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje','1',' ','{Q[tccit_qysds_a105090#18#zzje]}+{Q[tccit_qysds_a105090#21#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069472155219016704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069472155219016704,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#28#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#28#7.资产损失准备金核销金额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{Q[tccit_qysds_a105090#1#zchxje]}+{Q[tccit_qysds_a105090#2#zchxje]}+{Q[tccit_qysds_a105090#5#zchxje]}+{Q[tccit_qysds_a105090#7#zchxje]}+{Q[tccit_qysds_a105090#9#zchxje]}+{Q[tccit_qysds_a105090#12#zchxje]}+{Q[tccit_qysds_a105090#14#zchxje]}+{Q[tccit_qysds_a105090#16#zchxje]}+{Q[tccit_qysds_a105090#23#zchxje]}+{Q[tccit_qysds_a105090#25#zchxje]}+{Q[tccit_qysds_a105090#26#zchxje]}+{Q[tccit_qysds_a105090#27#zchxje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932442;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932442,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#21#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#21#5.税收金额-税收折旧、摊销额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020303'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932965;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932965,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A108000#tabname',' ','企业所得税年度纳税申报表填报表#A108000境外所得税收抵免明细表#表单名称','1','A108000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A108000'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1135456509506119680;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135456509506119680,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#1#qynddme',' ','A107050税额抵免优惠明细表#1#9.前一年度一抵免额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','qynddme',' ',' ','{S[select fbnsjdmdgndse from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932984;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932984,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#4#kjzyhnddmdse','{Q[前三年度#4.本年可抵免税额]}-{Q[前三年度#10.小计]}-{Q[前三年度#11.本年实际抵免的各年度税额]}','A107050税额抵免优惠明细表#前二年度#12.可结转以后年度抵免的税额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','kjzyhnddmdse','1',' ','{Q[tccit_qysds_a107050#3#bnkdmse]}-{Q[tccit_qysds_a107050#3#xj]}-{Q[tccit_qysds_a107050#3#bnsjdmdgndse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320854;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320854,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#16#zzje','{Q[17.1.已发生已报案未决赔款准备金#1.账载金额]}+{Q[18.2.已发生未报案未决赔款准备金#1.账载金额]}','A105120特殊行业准备金及纳税调整明细表#16.五未决赔款准备金17+18#1.账载金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105120','zzje','1',' ','{Q[tccit_qysds_a105120#17#zzje]}+{Q[tccit_qysds_a105120#18#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321127;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321127,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#zqywsxfjyjsrqt',' ','A101020金融企业收入明细#金额#25.证券业务其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','zqywsxfjyjsrqt','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=25 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932470;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932470,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#33#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#33#8.税收金额累计折旧、摊销额','1','33','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020405'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932934;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932934,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#13#hjje','{Q[13#2.投资于未上市中小高新技术企业]}+{Q[13#3.投资于种子期、初创期科技型企业]}','A107030抵扣应纳税所得额明细表#13#1.合计金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','{S[select  fhjjecurrent  from t_tccit_dg_a100000_7_sum where fitemno=''7'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932969;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932969,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A109000#tabname',' ','企业所得税年度纳税申报表填报表#A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#表单名称','1','A109000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A109000'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932508;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932508,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#9#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#9#3.赔偿收入','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype in (''701030501'',''701030502'',''701030503'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320749;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320749,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#11#ssje2014zje','{Q[11.（四）技术进步、更新换代固定资产#5.税收金额-税收折旧、摊销额]}-{Q[11.（四）技术进步、更新换代固定资产#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#11.四技术进步、更新换代固定资产#7.税收金额加速折旧、摊销统计额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje','1',' ','{Q[tccit_qysds_a105080#11#ssjessgdzje]}-{Q[tccit_qysds_a105080#11#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123712717111430144;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123712717111430144,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#29#jmsde',' ','A107020所得减免优惠明细表#29#11.减免所得额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde',' ',' ','if({Q[tccit_qysds_a107020#29#msxmsde]}+{Q[tccit_qysds_a107020#29#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#29#msxmsde]}+{Q[tccit_qysds_a107020#29#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932610;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932610,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A109010#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A109010企业所得税汇总纳税分支机构所得税分配表#表单名称','3','A109010','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1114417763050324992;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114417763050324992,{ts'2021-04-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#zsbh1',' ','A000000企业所得税年度纳税申报基础信息表#1#211-1证书编号1','4','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','zsbh1',' ',' ','{C[#certificateno_1]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114437599650725888;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114437599650725888,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#qyndynbe',' ','A106000企业所得税弥补亏损明细表#3#8.当年待弥补的亏损额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','qyndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fbnkmbksje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}>0) 0-{S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}  #else {S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1071731318544701440;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071731318544701440,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#16#nstze',' ','A107020所得减免优惠明细表#16#8.纳税调整额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze',' ',' ','{S[select   fnstz from t_tccit_getredu_sum where FREDUCENAME=1064511941495720961 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932333;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932333,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#10#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#10#3.账载金额累计折旧、摊销额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020604'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069454824396876800;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069454824396876800,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#6#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#6#7.资产损失准备金核销金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''701030301'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114429781946098688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114429781946098688,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#qendynbe',' ','A106000企业所得税弥补亏损明细表#11#7.当年亏损额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','qendynbe',' ',' ','{S[select sum(flossmoney)  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932701;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932701,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#jcdlscxmlx','[{ "val": "", "text": "" },{"val":"1","text":"130 纳米"},{"val":"2","text":"65 纳米"},{"val":"3","text":"28 纳米"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#209集成电路生产项目类型','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','jcdlscxmlx','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932573;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932573,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#27#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#27#4.资产计税基础','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''7010312'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133308984669881344;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133308984669881344,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#6#fzjgzcze',' ','A109010分支机构信息#6#5.资产总额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{S[SELECT a.fzcze FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''6'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133296005681489920;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133296005681489920,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#5#fzjgnsrsbh',' ','A109010分支机构信息#5#1.分支机构纳税人识别号','4','5','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''5'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321146;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321146,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#jzhtcb',' ','A102010一般企业成本支出明细#金额#6.建造合同成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','jzhtcb','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=6 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320691;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320691,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#4#jzxj','{Q[4#14.结转以后年度抵免的境外所得已缴所得税额_前四年]}+{Q[4#15.结转以后年度抵免的境外所得已缴所得税额_前三年]}+{Q[4#16.结转以后年度抵免的境外所得已缴所得税额_前二年]}+{Q[4#17.结转以后年度抵免的境外所得已缴所得税额_前一年]}+{Q[4#18.结转以后年度抵免的境外所得已缴所得税额_本年]}','A108030跨年度结转抵免境外所得税明细表#4#19.结转以后年度抵免的境外所得已缴所得税额_小计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108030','jzxj','1',' ','{Q[tccit_qysds_a108030#4#jzqsin]}+{Q[tccit_qysds_a108030#4#jzqsann]}+{Q[tccit_qysds_a108030#4#jzqln]}+{Q[tccit_qysds_a108030#4#jzqyn]}+{Q[tccit_qysds_a108030#4#jbzn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133297314505664512;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133297314505664512,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#11#fzjgnsrsbh',' ','A109010分支机构信息#11#1.分支机构纳税人识别号','4','11','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''11'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135341870378219520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135341870378219520,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#1#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#1#研发活动费用金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=1]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069458724336233472;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069458724336233472,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#14#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#14#7.资产损失准备金核销金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype in(''701030701'',''701030702'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069457849286978560;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069457849286978560,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#9#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#9#7.资产损失准备金核销金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype in (''701030501'',''701030502'',''701030503'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932556;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932556,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#23#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#23#3.赔偿收入','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype in(''701030901'',''701030902'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321067;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321067,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#tzsy','{Q[持有收益账载金额#10.合计]}+{Q[处置收益会计确认所得或损失#10.合计]}','A105000纳税调整项目明细#账载金额#4.投资收益','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','tzsy','1',' ','{Q[tccit_qysds_a105030#1#hj]}+{Q[tccit_qysds_a105030#8#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932968;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932968,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A108030#tabname',' ','企业所得税年度纳税申报表填报表#A108030跨年度结转抵免境外所得税明细表#表单名称','1','A108030','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A108030'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932903;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932903,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#chjstzqrjeshcstzcb','{Q[4#4.投资成本]}*{Q[4#12.撤回或减少投资确认金额_减少投资比例]}','A107011居民企业之间权益性投资收益优惠#4#13.撤回或减少投资确认金额_收回初始投资成本','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeshcstzcb','1',' ','{Q[tccit_qysds_a107011#4#tzcb]}*{Q[tccit_qysds_a107011#4#chjstzqrjejstzbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932918;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932918,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#hj','{Q[5#7.被投资企业利润分配确认金额_依决定归属于本公司的股息、红利等权益性投资收益金额]}+{Q[5#10.被投资企业清算确认金额_应确认的股息所得]}+{Q[5#16.撤回或减少投资确认金额_应确认的股息所得]}','A107011居民企业之间权益性投资收益优惠#5#17.合计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj','1',' ','{Q[tccit_qysds_a107011#5#btzlrfpqrjesyje]}+{Q[tccit_qysds_a107011#5#btzqsqrjeyqrgxsd]}+{Q[tccit_qysds_a107011#5#chjstzqrjeyqrgxsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321520,{ts'2021-06-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#qt',' ','A105050职工薪酬支出明细#税收金额#12.其他','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','qt','1',' ','{S[select famount from t_tccit_qt_salary_sum where fitemtype=''ssje'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1199133948970605568;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1199133948970605568,{ts'2021-07-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#10#ssje',' ','A105070捐赠支出及纳税调整明细#10#4.税收金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105070','ssje',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932190;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932190,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#fqskfsxshwsr',' ','A105020未按权责发生确实收入调整明细#1#6.分期收款方式销售货物收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','fqskfsxshwsr',' ',' ','{S[select fsignamount from t_tccit_right_income_sum where FITEMTYPE=''003_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113019622036280320;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113019622036280320,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#6#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#6#2.一般性税务处理税收金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010303'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321014;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321014,{ts'2021-06-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#jmsdse','{Q[35.合计#1.金额]}','A100000年度纳税申报表#金额#26.减、免所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','jmsdse','1',' ','if({Q[tccit_qysds_a107040#35#hj]}<0, 0, if({Q[tccit_qysds_a107040#35#hj]}>{Q[tccit_qysds_a100000#1#ynsdse]}, {Q[tccit_qysds_a100000#1#ynsdse]}, {Q[tccit_qysds_a107040#35#hj]}))'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320694;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320694,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#7#jzxj','{Q[7#14.结转以后年度抵免的境外所得已缴所得税额_前四年]}+{Q[7#15.结转以后年度抵免的境外所得已缴所得税额_前三年]}+{Q[7#16.结转以后年度抵免的境外所得已缴所得税额_前二年]}+{Q[7#17.结转以后年度抵免的境外所得已缴所得税额_前一年]}+{Q[7#18.结转以后年度抵免的境外所得已缴所得税额_本年]}','A108030跨年度结转抵免境外所得税明细表#7#19.结转以后年度抵免的境外所得已缴所得税额_小计','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108030','jzxj','1',' ','{Q[tccit_qysds_a108030#7#jzqsin]}+{Q[tccit_qysds_a108030#7#jzqsann]}+{Q[tccit_qysds_a108030#7#jzqln]}+{Q[tccit_qysds_a108030#7#jzqyn]}+{Q[tccit_qysds_a108030#7#jbzn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114437009713136640;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114437009713136640,{ts'2021-03-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#1#gdmc',' ','A000000主要股东及分红情况#1#1.股东名称','4','1','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gdmc',' ',' ','{S[select h.fgdname from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=1 and h.ffidtype<>''count'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133299426295785472;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133299426295785472,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#5#fzjgmc',' ','A109010分支机构信息#5#2.分支机构名称','4','5','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''5'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320878;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320878,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#13#nstzje','{Q[13.（二）未到期责任准备金#1.账载金额]}-{Q[13.（二）未到期责任准备金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#13.二未到期责任准备金#3.纳税调整金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#13#zzje]}-{Q[tccit_qysds_a105120#13#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321290;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321290,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#zgxc',' ','A104000期间费用明细表#管理费用#1.职工薪酬','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','zgxc','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133303345696712704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133303345696712704,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#99#fzjggzze',' ','A109010分支机构信息#99#4.职工薪酬','1','99','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{Q[tccit_qysds_a109010_fz#1#fzjggzze]}+{Q[tccit_qysds_a109010_fz#2#fzjggzze]}+{Q[tccit_qysds_a109010_fz#3#fzjggzze]}+{Q[tccit_qysds_a109010_fz#4#fzjggzze]}+{Q[tccit_qysds_a109010_fz#5#fzjggzze]}+{Q[tccit_qysds_a109010_fz#6#fzjggzze]}+{Q[tccit_qysds_a109010_fz#7#fzjggzze]}+{Q[tccit_qysds_a109010_fz#8#fzjggzze]}+{Q[tccit_qysds_a109010_fz#9#fzjggzze]}+{Q[tccit_qysds_a109010_fz#10#fzjggzze]}+{Q[tccit_qysds_a109010_fz#11#fzjggzze]}+{Q[tccit_qysds_a109010_fz#12#fzjggzze]}+{Q[tccit_qysds_a109010_fz#13#fzjggzze]}+{Q[tccit_qysds_a109010_fz#14#fzjggzze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320836;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320836,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#16#nstzje','{Q[16.八、债权性投资损失#1.资产损失的账载金额]}-{Q[16.八、债权性投资损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#16.八、债权性投资损失#6.纳税调整金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#16#zzje]}+{Q[tccit_qysds_a105090#16#zchxje]}-{Q[tccit_qysds_a105090#16#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321082;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321082,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#tshyzbj','{Q[43.合计#1.账载金额]}','A105000纳税调整项目明细#账载金额#39.特殊行业准备金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','tshyzbj','1',' ','{Q[tccit_qysds_a105120#43#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320653;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320653,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#6#jwsdtzhsd','{Q[6#14.境外税前所得]}+{Q[6#15.境外分支机构收入与支出纳税调整额]}-{Q[6#16.境外分支机构调整分摊扣除的有关成本费用]}-{Q[6#17.境外所得对应调整的相关成本费用支出]}','A108010境外所得纳税调整后所得明细表#6#18.境外所得纳税调整后所得','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdtzhsd','1',' ','{Q[tccit_qysds_a108010#6#jwsqsd]}+{Q[tccit_qysds_a108010#6#jwfzsrzctze]}-{Q[tccit_qysds_a108010#6#jwfztzftkccbfy]}-{Q[tccit_qysds_a108010#6#jwsdtzcbfyzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095581585991844864;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095581585991844864,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#chjstzqrjezc',' ','A107011居民企业之间权益性投资收益优惠#5#11.撤回或减少投资确认金额_从被投资企业撤回或减少投资取得的资产','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjezc',' ',' ','{S[select fqddbtzzc  from t_tccit_dg_b105036_sum where ftranstype=''撤资'' and fitemno=1  and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320622;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320622,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#5#jwshxj','{Q[5#2.境外税后所得_分支机构机构营业利润所得]}+{Q[5#3.境外税后所得_股息、红利等权益性投资所得]}+{Q[5#4.境外税后所得_利息所得]}+{Q[5#5.境外税后所得_租金所得]}+{Q[5#6.境外税后所得_特许权使用费所得]}+{Q[5#7.境外税后所得_财产转让所得]}+{Q[5#8.境外税后所得_其他所得]}','A108010境外所得纳税调整后所得明细表#5#9.境外税后所得_小计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwshxj','1',' ','{Q[tccit_qysds_a108010#5#jwshfzjgyylr]}+{Q[tccit_qysds_a108010#5#jwshgxhltzsd]}+{Q[tccit_qysds_a108010#5#jwshlxsd]}+{Q[tccit_qysds_a108010#5#jwshzjsd]}+{Q[tccit_qysds_a108010#5#jwshtxqfysd]}+{Q[tccit_qysds_a108010#5#jwshcczrsd]}+{Q[tccit_qysds_a108010#5#jwshqtsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112231540936409088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112231540936409088,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#24#qend',' ','A107041高新技术企业优惠情况及明细表#24#3.前二年度','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend',' ',' ','{S[select fpretwoyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''10'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932620;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932620,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#3#ynse','{Q[3#25.应纳所得税额]}-{Q[3#26.减、免所得税额]}-{Q[3#27.抵免所得税额]}','A100000年度纳税申报表#3#28.应纳税额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a100000','ynse','1',' ','{Q[tccit_qysds_a100000#3#ynsdse]}-{Q[tccit_qysds_a100000#3#jmsdse]}-{Q[tccit_qysds_a100000#3#dmsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321489;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321489,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#6#bnyxdmdzysbtze','{Q[环境保护专用设备投资额#12.可结转以后年度抵免的税额]}+{Q[节能节水专用设备投资额#12.可结转以后年度抵免的税额]}+{Q[安全生产专用设备投资额#12.可结转以后年度抵免的税额]}','A107050税额抵免优惠明细表#本年度#3.本年允许抵免的专用设备投资额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnyxdmdzysbtze','1',' ','{Q[tccit_qysds_a107050#9#kjzyhnddmdse]}+{Q[tccit_qysds_a107050#10#kjzyhnddmdse]}+{Q[tccit_qysds_a107050#11#kjzyhnddmdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113722575533427712;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113722575533427712,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#2#qynd',' ','A105040专项用途财政性资金纳税调整明细#2#5.前一年度','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105040','qynd',' ',' ','select fbn from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''2'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320907;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320907,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#42#nstzje','{Q[42.七、其他#1.账载金额]}-{Q[42.七、其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#42.七、其他#3.纳税调整金额','1','42','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#42#zzje]}-{Q[tccit_qysds_a105120#42#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321314;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321314,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#3#yjfy',' ','A104000期间费用明细表#管理费用#19.研究费用','1','3','1066581598406760448','qysdsnb','tccit_qysds_a104000','yjfy','1',' ','{S[select fmanagecost from t_tccit_profit_fees_sum where fitemno=19 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112296541583883264;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112296541583883264,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#2#jszbje',' ','A105120贷款损失准备金及纳税调整明细表#2#8.按本年末准予提取贷款资产余额与计提比例计算的准备金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jszbje',' ',' ','{Q[tccit_qysds_a105120_dk#2#bnmdkzcye]} * {Q[tccit_qysds_a105120_dk#2#jtbl]}/100'); 
DELETE FROM t_tctb_formula WHERE FID = 1069460821454633984;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069460821454633984,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#17#zchxje','{Q[18.符合条件的涉农和中小企业贷款损失#7.资产损失准备金核销金额]}','A105090资产损失税前扣除及纳税调整明细#17#7.资产损失准备金核销金额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{Q[tccit_qysds_a105090#18#zchxje]}+{Q[tccit_qysds_a105090#21#zchxje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321200;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321200,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#tqbxzrzbj',' ','A102020金融企业支出明细#金额#19.提取保险责任准备金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','tqbxzrzbj','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=19 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932223;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932223,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#2#cyzdqtz',' ','A105030投资收益纳税调整明细#2#3.持有至到期投资','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105030','cyzdqtz',' ',' ','{S[select ftaxincome from t_tccit_invest_profit_sum where fitemtype=''6010403'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321095;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321095,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#czwxzcsr',' ','A101010一般企业收入明细表#金额#13.出租无形资产收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','czwxzcsr','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=13 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932493;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932493,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#5#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#5#4.资产计税基础','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype in (''701030301'',''701030302'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114391255275880448;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114391255275880448,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#qsndynbe',' ','A106000企业所得税弥补亏损明细表#3#6.弥补亏损企业类型','4','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and flosstype=''jnsd'']}>0)       {S[select fnumber  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and flosstype=''jnsd'']}    #else  {S[SELECT fqsndynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']}       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1095567586738880512;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095567586738880512,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#btzlrfpqrjejdsj',' ','A107011居民企业之间权益性投资收益优惠#4#6.被投资企业利润分配确认金额_被投资企业做出利润分配或转股决定时间','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzlrfpqrjejdsj',' ',' ','{S[select fbizdate from t_tccit_dg_b105037_sum where fitemno=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113680135141405696;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113680135141405696,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#hbflzrknbks',' ','A106000企业所得税弥补亏损明细表#4#3.分立转出的亏损额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','hbflzrknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'']}>0)      {S[select sum(fflzcje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'']}   #else  #if({S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}<0 )     0-{S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}  #else   {S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1131157828984463360;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1131157828984463360,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#1#zxgxjsqy',' ','A107030抵扣应纳税所得额明细表#1#2.投资于未上市中小高新技术企业','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107030','zxgxjsqy',' ',' ','{S[select  fwsscurrent  from t_tccit_dg_a100000_7_sum where fitemno=''9'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932852;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932852,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#16#tsnstzje','{Q[16#5.特殊性税务处理递延纳税税收金额]}-{Q[16#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#16#6.特殊性税务处理递延纳税纳税调整金额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#16#tsssje]}-{Q[tccit_qysds_a105100#16#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133297591254231040;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133297591254231040,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#13#fzjgnsrsbh',' ','A109010分支机构信息#13#1.分支机构纳税人识别号','4','13','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''13'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851098;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851098,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#1#zzje',' ','A105070捐赠支出及纳税调整明细#非公益性捐赠#1.账载金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105070','zzje','1',' ','{S[select sum(fzzje) from  t_tccit_dg_b105019_sum where   forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932959;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932959,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107020#tabname',' ','企业所得税年度纳税申报表填报表#A107020所得减免优惠明细表#表单名称','1','A107020','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A107020'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321210;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321210,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#bxywsxfjyjzc',' ','A102020金融企业支出明细#金额#24.保险业务手续费及佣金支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','bxywsxfjyjzc','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=24 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095582333567812608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095582333567812608,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#chjstzqrjejstzbl',' ','A107011居民企业之间权益性投资收益优惠#5#12.撤回或减少投资确认金额_减少投资比例','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjejstzbl',' ',' ','{S[select fczjstzbl  from t_tccit_dg_b105036_sum where fitemno=''撤资'' and fitemno=1   and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113019433410040832;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113019433410040832,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#8#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#8#2.一般性税务处理税收金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{Q[tccit_qysds_a105100#9#ybssje]}+{Q[tccit_qysds_a105100#10#ybssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077460491913184256;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077460491913184256,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#15#zzje',' ','A105070捐赠支出及纳税调整明细#15#1.账载金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105070','zzje',' ',' ','{S[select FZZJE from  t_tccit_dg_b105020_sum where FITEMNUMBER=''301040205'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320716;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320716,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#1#zzjezcjs','{Q[2.（一）房屋、建筑物#3.账载金额累计折旧、摊销额]}+{Q[3.（二）飞机、火车、轮船、机器、机械和其他生产设备#3.账载金额累计折旧、摊销额]}+{Q[4.（三）与生产经营活动有关的器具、工具、家具等#3.账载金额累计折旧、摊销额]}+{Q[5.（四）飞机、火车、轮船以外的运输工具#3.账载金额累计折旧、摊销额]}+{Q[6.（五）电子设备#3.账载金额累计折旧、摊销额]}+{Q[7.（六）其他#3.账载金额累计折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#1.一、固定资产#3.账载金额累计折旧、摊销额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs','1',' ','{Q[tccit_qysds_a105080#2#zzjezcjs]}+{Q[tccit_qysds_a105080#3#zzjezcjs]}+{Q[tccit_qysds_a105080#4#zzjezcjs]}+{Q[tccit_qysds_a105080#5#zzjezcjs]}+{Q[tccit_qysds_a105080#6#zzjezcjs]}+{Q[tccit_qysds_a105080#7#zzjezcjs]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135344055014974464;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135344055014974464,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#11#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#11#研发活动费用金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=11]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932632;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932632,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#qtywcb','{Q[金额#10.材料销售成本]}+{Q[金额#12.出租固定资产成本]}+{Q[金额#13.出租无形资产成本]}+{Q[金额#14.包装物出租成本]}+{Q[金额#15.起亚营业成本其他]}','A102010一般企业成本支出明细#金额#9.其他业务成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','qtywcb','1',' ','{Q[tccit_qysds_a102010#1#clxscb]}+{Q[tccit_qysds_a102010#1#czgdzccb]}+{Q[tccit_qysds_a102010#1#czwxzccb]}+{Q[tccit_qysds_a102010#1#bzwczcb]}+{Q[tccit_qysds_a102010#1#qtywcbqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133307197812491264;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133307197812491264,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#5#fzjggzze',' ','A109010分支机构信息#5#4.职工薪酬','1','5','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''5'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320630;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320630,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#3#jwsdkdmxj','{Q[3#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[3#11.境外所得可抵免的所得税额_间接负担的所得税额]}+{Q[3#12.境外所得可抵免的所得税额_享受税收饶让抵免税额]}','A108010境外所得纳税调整后所得明细表#3#13.境外所得可抵免的所得税额_小计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdkdmxj','1',' ','{Q[tccit_qysds_a108010#3#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#3#jwsdkdmjjfd]}+{Q[tccit_qysds_a108010#3#jwsdkdmxssrrdm]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075562026414;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075562026414,{ts'2021-07-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#glfy','{Q[管理费用#26.合计]}','A100000年度纳税申报表#金额#5.管理费用','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','glfy','1',' ','if({Q[tccit_qysds_a104000#3#hj]}!=0,{Q[tccit_qysds_a104000#3#hj]},{S[select famount from t_tccit_dg_a100000_1_sum where fitemtype =''001_04'' and forgid = ''#orgid'' and fskssqq =''#startDate'' and fskssqz =''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1113019034137465856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113019034137465856,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#13#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#13#2.一般性税务处理税收金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010307'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932161;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932161,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#yzcxgdzfbz',' ','A105020未按权责发生确实收入调整明细#2#11.与资产相关的政府补助','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','yzcxgdzfbz',' ',' ','{S[select fzzjecurrent from t_tccit_right_income_sum where FITEMTYPE=''001_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321011;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321011,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#msjjsrjjjkc','{Q[金额#31.合计]}','A100000年度纳税申报表#金额#17.减：免税、减计收入及加计扣除','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','msjjsrjjjkc','1',' ','{Q[tccit_qysds_a107010#1#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321388;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321388,{ts'2021-06-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#3#blkcjyjf',' ','A105050职工薪酬支出明细#税收规定扣除率#5.按税收规定比例扣除的职工教育经费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105050','blkcjyjf','1',' ','{S[select famount from t_tccit_b105014_3_sum where fitemtype=''kcbl'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113728127323916288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113728127323916288,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#8#qsind',' ','A105040专项用途财政性资金纳税调整明细#8#2.前四年度','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind',' ',' ','select fqsand from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''9'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932926;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932926,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#12#hjje','{Q[10#1.合计金额]}+{Q[11#1.合计金额]}','A107030抵扣应纳税所得额明细表#12#1.合计金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','{Q[tccit_qysds_a107030#10#hjje]}+{Q[tccit_qysds_a107030#11#hjje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932755;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932755,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#11#kgcsjrzc','{Q[持有收益纳税调整金额#2.可供出售金融资]}+{Q[处置收益纳税调整金额#2.可供出售金融资]}','A105030投资收益纳税调整明细#纳税调整金额#2.可供出售金融资','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105030','kgcsjrzc','1',' ','{Q[tccit_qysds_a105030#3#kgcsjrzc]}+{Q[tccit_qysds_a105030#10#kgcsjrzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321160;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321160,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#ynse','{Q[金额#25.应纳所得税额]}-{Q[金额#26.减、免所得税额]}-{Q[金额#27.抵免所得税额]}','A100000年度纳税申报表#金额#28.应纳税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','ynse','1',' ','{Q[tccit_qysds_a100000#1#ynsdse]}-{Q[tccit_qysds_a100000#1#jmsdse]}-{Q[tccit_qysds_a100000#1#dmsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932171;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932171,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#yzcxgdzfbz',' ','A105020未按权责发生确实收入调整明细#5#11.与资产相关的政府补助','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','yzcxgdzfbz',' ',' ','{S[select ftaxincomesum from t_tccit_right_income_sum where FITEMTYPE=''001_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932258;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932258,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#6#jyxjrfz',' ','A105030投资收益纳税调整明细#6#5.交易性金融负债','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrfz',' ',' ','{S[select fczzczmjz from t_tccit_asset_dispose_sum where fitemtype=''6010805'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932655;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932655,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#fdcqyxswwg','{Q[税收金额#28.转回的销售未完工产品预计毛利额]}-{Q[税收金额#29.转回实际发生的营业税金及附加、土地增值税]}','A05010视同销售纳税调整明细#税收金额#26.房地产企业销售的未完工产品转完工产品特定业务计算的纳税调整额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','fdcqyxswwg','1',' ','{Q[tccit_qysds_a105010#1#zhdxswwgcp]}-{Q[tccit_qysds_a105010#1#zhsjfsdyysj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932149;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932149,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#yyzgjlcb',' ','A05010视同销售纳税调整明细#1#15.用于职工奖励或福利视同销售成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','yyzgjlcb',' ',' ','{S[select sum(fcost) from t_tccit_thinkofsell_sum where FITEMTYPE=''50103'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071739210773599232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071739210773599232,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#25#xmsr',' ','A107020所得减免优惠明细表#25#4.项目收入','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr',' ',' ','{S[select   fincome  from t_tccit_getredu_sum where FREDUCENAME=1119525021539512320 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321496;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321496,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#7#jwynssde','if({Q[7#3.境外所得纳税调整后所得]}-{Q[7#4.弥补境外以前年度亏损]}>=)','A108000境外所得税收抵免明细表#7#5.境外应纳税所得额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwynssde','1',' ','if({Q[tccit_qysds_a108000#7#jwstzhsd]}-{Q[tccit_qysds_a108000#7#mbjwyqnks]}>=0,{Q[tccit_qysds_a108000#7#jwstzhsd]}-{Q[tccit_qysds_a108000#7#mbjwyqnks]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1112322415347678208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112322415347678208,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#5#jszbje',' ','A105120贷款损失准备金及纳税调整明细表#5#8.按本年末准予提取贷款资产余额与计提比例计算的准备金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jszbje',' ',' ','{Q[tccit_qysds_a105120_dk#5#bnmdkzcye]} * {Q[tccit_qysds_a105120_dk#5#jtbl]}/100'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932124;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932124,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#yydwjzsr',' ','A05010视同销售纳税调整明细#2#7.用于对外捐赠视同销售收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','yydwjzsr',' ',' ','{Q[tccit_qysds_a105010#1#yydwjzsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112312280273434624;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112312280273434624,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#8#snmdkye',' ','A105120贷款损失准备金及纳税调整明细表#8#1.上年末贷款资产余额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkye',' ',' ','{S[select fsnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''8'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932947;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932947,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105040#tabname',' ','企业所得税年度纳税申报表填报表#A105040专项用途财政性资金纳税调整明细表#表单名称','1','A105040','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105040'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1135408443906384896;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135408443906384896,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#29#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#29#研发活动费用金额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=29]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932837;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932837,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#1#tsnstzje','{Q[1#5.特殊性税务处理递延纳税税收金额]}-{Q[1#4.特殊性税务处理递延纳税账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#1#6.特殊性税务处理递延纳税纳税调整金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsnstzje','1',' ','{Q[tccit_qysds_a105100#1#tsssje]}-{Q[tccit_qysds_a105100#1#tszzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932773;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932773,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#11#hj','{Q[本年费用化支出金额#1.前五年度]}+{Q[本年费用化支出金额#2.前四年度]}+{Q[本年费用化支出金额#3.前三年度]}+{Q[本年费用化支出金额#4.前二年度]}+{Q[本年费用化支出金额#5.前一年度]}+{Q[本年费用化支出金额#6.本年]}','A105040专项用途财政性资金纳税调整明细#本年费用化支出金额#7.合计','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105040','hj','1',' ','{Q[tccit_qysds_a105040#11#qwnd]}+{Q[tccit_qysds_a105040#11#qsind]}+{Q[tccit_qysds_a105040#11#qsand]}+{Q[tccit_qysds_a105040#11#qend]}+{Q[tccit_qysds_a105040#11#qynd]}+{Q[tccit_qysds_a105040#11#bn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133307820624692224;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133307820624692224,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#13#fzjggzze',' ','A109010分支机构信息#13#4.职工薪酬','1','13','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''13'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133295655104784384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133295655104784384,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#3#fzjgnsrsbh',' ','A109010分支机构信息#3#1.分支机构纳税人识别号','4','3','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''3'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932217;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932217,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#1#jyxjrfz',' ','A105030投资收益纳税调整明细#1#5.交易性金融负债','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrfz',' ',' ','{S[select fzzje from t_tccit_invest_profit_sum where fitemtype=''6010405'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114456114348426240;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114456114348426240,{ts'2021-03-19  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#19#syje',' ','A000000主要股东及分红情况#19#4.当年（决议日）分配的股息、红利等权益性投资收益金额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','syje',' ',' ','{S[select h.fcurryeardividend from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.ffidtype=''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932595;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932595,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A106000#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A106000企业所得税弥补亏损明细表#表单名称','3','A106000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1114455095333880832;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114455095333880832,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#6#gj',' ','A000000主要股东及分红情况#6#5.国籍','4','6','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gj',' ',' ','{C[#guoji_6]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095599328426247168;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095599328426247168,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#11#hj',' ','A107011居民企业之间权益性投资收益优惠#11#17.合计','1','11','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj',' ',' ','#if(''{Q[tccit_qysds_a107011#1#tzxz]}''==''股票投资 (深港通H股投资)'')    {Q[tccit_qysds_a107011#1#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#2#tzxz]}''==''股票投资 (深港通H股投资)'')    {Q[tccit_qysds_a107011#2#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#3#tzxz]}''==''股票投资 (深港通H股投资)'')    {Q[tccit_qysds_a107011#3#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#4#tzxz]}''==''股票投资 (深港通H股投资)'')    {Q[tccit_qysds_a107011#4#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#5#tzxz]}''==''股票投资 (深港通H股投资)'')    {Q[tccit_qysds_a107011#5#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#6#tzxz]}''==''股票投资 (深港通H股投资)'')    {Q[tccit_qysds_a107011#6#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#7#tzxz]}''==''股票投资 (深港通H股投资)'')    {Q[tccit_qysds_a107011#7#hj]} #else    0 #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320866;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320866,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#1#nstzje','{Q[1.一、保险公司#1.账载金额]}-{Q[1.一、保险公司#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#1.一、保险公司#3.纳税调整金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#1#zzje]}-{Q[tccit_qysds_a105120#1#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1199134339930070016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1199134339930070016,{ts'2021-07-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#42#nstzje',' ','A105080资产折旧摊销及纳税调整明细#42#9.纳税调整金额','1','42','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1133297694878705664;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133297694878705664,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#14#fzjgnsrsbh',' ','A109010分支机构信息#14#1.分支机构纳税人识别号','4','14','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''14'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932487;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932487,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#4#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#4#2.资产处置收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''701030202'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114439820266258432;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114439820266258432,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#qyndynbe',' ','A106000企业所得税弥补亏损明细表#11#8.当年待弥补的亏损额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','qyndynbe',' ',' ','{Q[tccit_qysds_a106000#11#qendynbe]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321350;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321350,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#syzc',' ','A103000事业单位支出明细#金额#19.事业支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','syzc','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=19 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320747;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320747,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#9#ssje2014zje','{Q[9.（二）其他行业研发设备加速折旧#5.税收金额-税收折旧、摊销额]}-{Q[9.（二）其他行业研发设备加速折旧#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#9.二其他行业研发设备加速折旧#7.税收金额加速折旧、摊销统计额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje','1',' ','{Q[tccit_qysds_a105080#9#ssjessgdzje]}-{Q[tccit_qysds_a105080#9#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321070;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321070,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#zgxc','{Q[账载金额#13.合计]}','A105000纳税调整项目明细#账载金额#14.职工薪酬','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','zgxc','1',' ','{Q[tccit_qysds_a105050#1#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321345;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321345,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#tglwsr',' ','A103000事业单位支出明细#金额#13.提供劳务收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','tglwsr','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=13 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321321;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321321,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#4#zlf',' ','A104000期间费用明细表#管理费用境外支付#11.租赁费','1','4','1066581598406760448','qysdsnb','tccit_qysds_a104000','zlf','1',' ','{S[select fmanageoutside from t_tccit_profit_fees_sum where fitemno=11 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1381236680778084352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1381236680778084352,{ts'2022-03-21  00:00:00'},' ',' ','CTCIT2020','tcvat_nsrxx#1#bqybtse','{Q[金额#33.本年应补退的所得税额]}',' ','1','1','1066581598406760448','qysdsnb','tcvat_nsrxx','bqybtse','1',' ','{Q[tccit_qysds_a100000#1#bnybtsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320770;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320770,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#27#nstzje','{Q[27.（八）其他#2.账载金额本年折旧摊销额]}-{Q[27.（八）其他#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#27.八其他#9.纳税调整金额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#27#zzjebnzj]}-{Q[tccit_qysds_a105080#27#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932515;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932515,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#11#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#11#2.资产处置收入','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''701030502'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321342;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321342,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#qtsrqt',' ','A103000事业单位支出明细#金额#9.其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','qtsrqt','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=9 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320835;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320835,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#15#nstzje','{Q[15.其中：生产性生物资产盘亏、非正常死亡、被盗、丢失等产生的损失#1.资产损失的账载金额]}-{Q[15.其中：生产性生物资产盘亏、非正常死亡、被盗、丢失等产生的损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#15.其中：生产性生物资产盘亏、非正常死亡、被盗、丢失等产生的损失#6.纳税调整金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#15#zzje]}+{Q[tccit_qysds_a105090#15#zchxje]}-{Q[tccit_qysds_a105090#15#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320751;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320751,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#13#ssje2014zje','{Q[13.（六）外购软件折旧#5.税收金额-税收折旧、摊销额]}-{Q[13.（六）外购软件折旧#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#13.六外购软件折旧#7.税收金额加速折旧、摊销统计额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje','1',' ','{Q[tccit_qysds_a105080#13#ssjessgdzje]}-{Q[tccit_qysds_a105080#13#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932234;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932234,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#11#jyxjrzc','{Q[持有收益纳税调整金额#1.交易性金融资产]}','A105030投资收益纳税调整明细#11#1.交易性金融资产','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrzc',' ',' ','{Q[tccit_qysds_a105030#3#jyxjrzc]}+{Q[tccit_qysds_a105030#10#jyxjrzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932679;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932679,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#lx','{Q[本年税收金额#3.利息]}-{Q[本年账载金额#3.利息]}','A105020未按权责发生确实收入调整明细#纳税调整金额#3.利息','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','lx','1',' ','{Q[tccit_qysds_a105020#4#lx]}-{Q[tccit_qysds_a105020#2#lx]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320889;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320889,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#24#nstzje','{Q[24.（三）证券投资者保护基金#1.账载金额]}-{Q[24.（三）证券投资者保护基金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#24.三证券投资者保护基金#3.纳税调整金额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#24#zzje]}-{Q[tccit_qysds_a105120#24#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114481943241556992;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114481943241556992,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#9#zjlx','[{"val":"","text":""},{"val":"1","text":"居民身份证"},{"val":"2","text":"中国护照"},{"val":"3","text":"税务登记证"},{"val":"4","text":"营业执照"},{"val":"5","text":"组织机构代码证"},{"val":"6","text":"其他单位证件"},{"val":"7","text":"香港特别行政区护照"},{"val":"8","text":"澳门特别行政区护照"},{"val":"9","text":"港澳居民来往内地通行证"},{"val":"10","text":"中华人民共和国往来港澳通行证"},{"val":"11","text":"台湾居民来往大陆通行证"},{"val":"12","text":"大陆居民往来台湾通行证"},{"val":"13","text":"香港永久性居民身份证"},{"val":"14","text":"台湾身份证"},{"val":"15","text":"澳门特别行政区永久性居民身份证"},{"val":"16","text":"外国护照"},{"val":"17","text":"外国人身份证件"},{"val":"18","text":"其他个人证件"}]','A000000主要股东及分红情况#9#2.证件种类','3','9','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932583;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932583,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105010#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105010视同销售和房地产开发企业特定业务纳税调整明细表#表单名称','3','A105010','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1113667256480776192;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113667256480776192,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#knbkssd',' ','A106000企业所得税弥补亏损明细表#6#2.当年境内所得额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','knbkssd',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']}>0)     {S[select FLOSSMONEY from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']} #else     {S[SELECT fknbkssd FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']} #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321371;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321371,{ts'2021-06-29  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#gzxjzc',' ','A105050职工薪酬支出明细#账载金额#1.工资薪金支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','gzxjzc','1',' ','{S[SELECT fzzje FROM t_tccit_salary_summary_dg WHERE fitemtype=''salarystock'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075553638286;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075553638286,{ts'2021-03-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#qsndynbe','[{"val":"","text":""},{"val":"100","text":"一般企业"},{"val":"200","text":"符合条件的高新技术企业"},{"val":"300","text":"符合条件的科技型中小企业"},{"val":"400","text":"线宽小于 130 纳米(含)的集成电路生产企业"},{"val":"500","text":"受疫情影响困难行业企业"},{"val":"600","text":"电影行业企业"}]','A106000企业所得税弥补亏损明细表#8.前三年度#6.弥补亏损企业类型','3','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321041;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321041,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#zxytczxzj','{Q[计入本年应税金额#7.合计]}','A105000纳税调整项目明细#调增金额#9.专项用途财政性资金','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','zxytczxzj','1',' ','{Q[tccit_qysds_a105040#14#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932956;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932956,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A106000#tabname',' ','企业所得税年度纳税申报表填报表#A106000企业所得税弥补亏损明细表#表单名称','1','A106000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A106000'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1133312867739871232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133312867739871232,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#1#fpse',' ','A109010分支机构信息#1#7.分配所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#1#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932192;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932192,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#fqskfsxshwsr',' ','A105020未按权责发生确实收入调整明细#3#6.分期收款方式销售货物收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','fqskfsxshwsr',' ',' ','{S[select fzzjesum from t_tccit_right_income_sum where FITEMTYPE=''003_01'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320633;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320633,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#6#jwsdkdmxj','{Q[6#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[6#11.境外所得可抵免的所得税额_间接负担的所得税额]}+{Q[6#12.境外所得可抵免的所得税额_享受税收饶让抵免税额]}','A108010境外所得纳税调整后所得明细表#6#13.境外所得可抵免的所得税额_小计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdkdmxj','1',' ','{Q[tccit_qysds_a108010#6#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#6#jwsdkdmjjfd]}+{Q[tccit_qysds_a108010#6#jwsdkdmxssrrdm]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321078;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321078,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#zczjtx','{Q[36.合计#5.税收金额-税收折旧、摊销额]}','A105000纳税调整项目明细#税收金额#32.资产折旧、摊销','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','zczjtx','1',' ','{Q[tccit_qysds_a105080#36#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932980;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932980,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#4#xj','{Q[前二年度#8.前二年度一抵免额]}+{Q[前二年度#9.前一年度一抵免额]}','A107050税额抵免优惠明细表#前二年度#10.小计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','xj','1',' ','{Q[tccit_qysds_a107050#4#qenddme]}+{Q[tccit_qysds_a107050#4#qynddme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321492;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321492,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#2#jwynssde','if({Q[2#3.境外所得纳税调整后所得]}-{Q[2#4.弥补境外以前年度亏损]})>=)','A108000境外所得税收抵免明细表#2#5.境外应纳税所得额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwynssde','1',' ','if({Q[tccit_qysds_a108000#2#jwstzhsd]}-{Q[tccit_qysds_a108000#2#mbjwyqnks]}>=0,{Q[tccit_qysds_a108000#2#jwstzhsd]}-{Q[tccit_qysds_a108000#2#mbjwyqnks]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932821;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932821,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#1#ybnstzje','{Q[1#2.一般性税务处理税收金额]}-{Q[1#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#1#3.一般性税务处理纳税调整金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#1#ybssje]}-{Q[tccit_qysds_a105100#1#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112316891591915520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112316891591915520,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#10#bnmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#10#6.本年末准予提取贷款损失准备金的贷款资产余额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkzcye',' ',' ','{Q[tccit_qysds_a105120_dk#1#bnmdkzcye]} + {Q[tccit_qysds_a105120_dk#8#bnmdkzcye]}+ {Q[tccit_qysds_a105120_dk#9#bnmdkzcye]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932588;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932588,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105060#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105060广告费和业务宣传费跨年度纳税调整明细表#表单名称','3','A105060','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1133324763717150720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133324763717150720,{ts'2021-06-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#zjgztscftsdse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#10.其中：总机构主体生产经营部门已分摊所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','zjgztscftsdse',' ',' ','if({S[SELECT f.famountorratio FROM t_tccit_seft_hznsqy_sum f WHERE f.forgid = ''#orgid'' AND f.fskssqq = ''#startDate'' AND f.fskssqz = ''#endDate'' AND f.fitemtype=''2e'' ]}>0,{S[SELECT f.famountorratio FROM t_tccit_seft_hznsqy_sum f WHERE f.forgid = ''#orgid'' AND f.fskssqq = ''#startDate'' AND f.fskssqz = ''#endDate'' AND f.fitemtype=''2e'' ]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932619;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932619,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#3#ynsdse','{Q[3#23.应纳税所得额]}*{Q[3#24.税率]}','A100000年度纳税申报表#3#25.应纳所得税额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a100000','ynsdse','1',' ','{Q[tccit_qysds_a100000#3#ynssde]}*{Q[tccit_qysds_a100000#3#sl1]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932450;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932450,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#30#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#30#5.税收金额-税收折旧、摊销额','1','30','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020402'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114438598171901952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114438598171901952,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#qyndynbe',' ','A106000企业所得税弥补亏损明细表#7#8.当年待弥补的亏损额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','qyndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fbnkmbksje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-4 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}>0) 0-{S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}  #else {S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932436;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932436,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#34#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#34#4.税收金额资产计税基础','1','34','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020501'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321018;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321018,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#zjgftbnybtsdse','{Q[金额#12.总机构分摊本年应补退的所得税额]}+{Q[金额#16.总机构境外所得抵免后的应纳所得税额]}','A100000年度纳税申报表#金额#34.总机构分摊本年应补退所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','zjgftbnybtsdse','1',' ','{Q[tccit_qysds_a109000#1#zjgftybtse]}+{Q[tccit_qysds_a109000#1#zjgjwsddmhynse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112227138712371200;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112227138712371200,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#20#qynd',' ','A107041高新技术企业优惠情况及明细表#20#2.前一年度','1','20','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd',' ',' ','{S[select fpreoneyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''6'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321242;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321242,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#fldzcczss',' ','A102020金融企业支出明细#金额#34.非流动资产处置损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','fldzcczss','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=34 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932451;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932451,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#31#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#31#5.税收金额-税收折旧、摊销额','1','31','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020403'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1131163433287640064;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1131163433287640064,{ts'2021-04-10  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#7#kjxqy',' ','A107030抵扣应纳税所得额明细表#7#3.投资于种子期、初创期科技型企业','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107030','kjxqy',' ',' ','{S[select  fzzqcurrent  from t_tccit_dg_a100000_7_sum where fitemno=''15'' and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932230;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932230,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#yxhhqyfrhhfyfddynsdstze',' ','A105000纳税调整项目明细#1#41.有限合伙企业法人合伙方应分得的应纳税所得额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','yxhhqyfrhhfyfddynsdstze',' ',' ','{S[select sum(fzzje) from t_tccit_hhqyhhr_summary where forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932271;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932271,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#5#qt',' ','A105030投资收益纳税调整明细#5#9.其他','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105030','qt',' ',' ','{S[select fssjsczsr from t_tccit_asset_dispose_sum where fitemtype=''6010809'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133324259259820032;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133324259259820032,{ts'2021-06-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#bnljyysds',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#5.本年累计已预分、已分摊所得税','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','bnljyysds',' ',' ','if({Q[tccit_qysds_a109000#1#zjgxqzjgldyfsdse]} + {Q[tccit_qysds_a109000#1#zjgyftsdse]} + {Q[tccit_qysds_a109000#1#czjzyfpsdse]} + {Q[tccit_qysds_a109000#1#zjgfzjgftsde]}<0,0,{Q[tccit_qysds_a109000#1#zjgxqzjgldyfsdse]} + {Q[tccit_qysds_a109000#1#zjgyftsdse]} + {Q[tccit_qysds_a109000#1#czjzyfpsdse]} + {Q[tccit_qysds_a109000#1#zjgfzjgftsde]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1133310109666224128;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133310109666224128,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#2#fpbl',' ','A109010分支机构信息#2#6.分配比例','1','2','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#2#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#2#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#2#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932199;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932199,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#cxsjcg12gy',' ','A105020未按权责发生确实收入调整明细#5#7.持续时间超过12个月的建造合同收入','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','cxsjcg12gy',' ',' ','{S[select ftaxincomesum from t_tccit_right_income_sum where FITEMTYPE=''003_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135409432839419904;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135409432839419904,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#39#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#39#研发活动费用金额','1','39','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=39]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932237;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932237,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#zcltzxmqt',' ','A105000纳税调整项目明细#1#35.资产类调整项目其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','zcltzxmqt',' ',' ','{S[select fzzje from t_tccit_zc_other_sum where FITEMTYPE=''count'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320793;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320793,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#2#ssje','{Q[2.二、应收及预付款项坏账损失#4.资产计税基础]}-{Q[2.二、应收及预付款项坏账损失#2.资产处置收入]}-{Q[2.二、应收及预付款项坏账损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#2.二、应收及预付款项坏账损失#5.资产损失的税收金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#2#zcjsjc]}-{Q[tccit_qysds_a105090#2#zcczsr]}-{Q[tccit_qysds_a105090#2#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932202;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932202,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#qtfqqrsr',' ','A105020未按权责发生确实收入调整明细#3#8.其他分期确认收入','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','qtfqqrsr',' ',' ','{S[select fzzjesum from t_tccit_right_income_sum where FITEMTYPE=''003_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321393;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321393,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#zgflfzc',' ','A105050职工薪酬支出明细#税收金额#3.职工福利费支出','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','zgflfzc','1',' ','#if({Q[tccit_qysds_a105050#1#zgflfzc]}>{Q[tccit_qysds_a105050#2#zgflfzc]}) #if({Q[tccit_qysds_a105050#2#zgflfzc]}>({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#zgflfzc]})) ({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#zgflfzc]}) #else  {Q[tccit_qysds_a105050#2#zgflfzc]}  #end #else   #if({Q[tccit_qysds_a105050#1#zgflfzc]}>({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#zgflfzc]}))  ({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#zgflfzc]})  #else {Q[tccit_qysds_a105050#1#zgflfzc]} #end #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932579;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932579,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A102020#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A102020金融企业支出明细表#表单名称','3','A102020','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1112222019824387072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112222019824387072,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#20#bnd',' ','A107041高新技术企业优惠情况及明细表#20#1.本年度','1','20','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd',' ',' ','{S[select fcurryear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''6'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113693033330982912;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113693033330982912,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#dnknbks',' ','A106000企业所得税弥补亏损明细表#2#4.可弥补年限5年','1','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','dnknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-9 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-9 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}  #else #if({S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']}>0 )    0-{S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']} #else  {S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''2'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932937;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932937,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A101010#tabname',' ','企业所得税年度纳税申报表填报表#A101010一般企业收入明细表#表单名称','1','A101010','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A101010'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931992;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931992,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#13#je',' ','A107042软件、集成电路企业优惠情况及明细表#13.自主设计.开发销售营业收入#2.金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107042','je',' ',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320603;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320603,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#4#jyjsxj','{Q[4#15.按简易办法计算_按低于12.5%的实际税率计算的抵免额]}+{Q[4#16.按简易办法计算_按12.5%计算的抵免额]}+{Q[4#17.按简易办法计算_按25%计算的抵免额]}','A108000境外所得税收抵免明细表#4#18.按简易办法计算_小计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsxj','1',' ','{Q[tccit_qysds_a108000#4#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#4#jyjsldyewdme]}+{Q[tccit_qysds_a108000#4#jyjsldewdme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321174;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321174,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#hzss',' ','A102010一般企业成本支出明细#金额#24.坏账损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','hzss','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=24 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095565277749362688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095565277749362688,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#7#tzbl',' ','A107011居民企业之间权益性投资收益优惠#7#5.投资比例','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzbl',' ',' ','{S[select fnumorrate  from t_tccit_dg_b105036_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932859;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932859,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#7#nstzje','{Q[7#3.一般性税务处理纳税调整金额]}+{Q[7#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#7#7.纳税调整金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#7#ybnstzje]}+{Q[tccit_qysds_a105100#7#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321259;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321259,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#yjsxf',' ','A104000期间费用明细表#销售费用#6.佣金和手续费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','yjsxf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=6 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321494;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321494,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#4#jwynssde','if({Q[4#3.境外所得纳税调整后所得]}-{Q[4#4.弥补境外以前年度亏损]}>=))','A108000境外所得税收抵免明细表#4#5.境外应纳税所得额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwynssde','1',' ','if({Q[tccit_qysds_a108000#4#jwstzhsd]}-{Q[tccit_qysds_a108000#4#mbjwyqnks]}>=0,{Q[tccit_qysds_a108000#4#jwstzhsd]}-{Q[tccit_qysds_a108000#4#mbjwyqnks]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320601;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320601,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#2#jyjsxj','{Q[2#15.按简易办法计算_按低于12.5%的实际税率计算的抵免额]}+{Q[2#16.按简易办法计算_按12.5%计算的抵免额]}+{Q[2#17.按简易办法计算_按25%计算的抵免额]}','A108000境外所得税收抵免明细表#2#18.按简易办法计算_小计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsxj','1',' ','{Q[tccit_qysds_a108000#2#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#2#jyjsldyewdme]}+{Q[tccit_qysds_a108000#2#jyjsldewdme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932278;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932278,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#7#dqtz',' ','A105030投资收益纳税调整明细#7#7.短期投资','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105030','dqtz',' ',' ','{S[select fczzcjsjc from t_tccit_asset_dispose_sum where fitemtype=''6010807'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113709045765846016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113709045765846016,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#10#qsndyjbe',' ','A106000企业所得税弥补亏损明细表#10#5.可弥补年限10年','1','10','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndyjbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}>0)      {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-1 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}   #else  #if({S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}>0 )     0-{S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}  #else   {S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''10'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932676;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932676,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#hj','{Q[累计税收金额#1.跨期收取的租金、利息、特许权使用费收入]}+{Q[累计税收金额#5.分期确认收入]}+{Q[累计税收金额#9.政府补助递延收入]}+{Q[累计税收金额#13.其他未按权责发生制确认收入]}','A105020未按权责发生确实收入调整明细#累计税收金额#14.合计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','hj','1',' ','{Q[tccit_qysds_a105020#5#kqsqdzjlxtxq]}+{Q[tccit_qysds_a105020#5#fqqrsr]}+{Q[tccit_qysds_a105020#5#zfbzdysr]}+{Q[tccit_qysds_a105020#5#qtwaqzfszqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321060;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321060,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#8#je','{Q[6.研发费用总额#2.金额]}/{Q[金额#1.营业收入]}','A107042软件、集成电路企业优惠情况及明细表#8.研发费用占销售营业收入的比例#2.金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a107042','je','1',' ','{Q[tccit_qysds_a107042#6#je]}/{Q[tccit_qysds_a101010#1#yysr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113758456722327552;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113758456722327552,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#15#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#15#5.特殊性税务处理递延纳税税收金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010309'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112312922236827648;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112312922236827648,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#7#bnmdkye',' ','A105120贷款损失准备金及纳税调整明细表#7#2.本年末贷款资产余额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkye',' ',' ','{S[select fbnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''7'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071706405142303744;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071706405142303744,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#4#jbxmsde',' ','A107020所得减免优惠明细表#4#10.减半项目所得额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#4#yhfs]}''==''减半征收'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1064506748737653761,1064508826394528768,1064508826394528769,1064508826394528770,1064508826394528771,1064508826394528772,1064508826394528773,1064508826394528774,1064508826394528775) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1064506748737653761,1064508826394528768,1064508826394528769,1064508826394528770,1064508826394528771,1064508826394528772,1064508826394528773,1064508826394528774,1064508826394528775) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932144;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932144,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#tglwsr',' ','A05010视同销售纳税调整明细#1#9.提供劳务视同销售收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','tglwsr',' ',' ','{S[select sum(fincome) from t_tccit_thinkofsell_sum where FITEMTYPE=''50107'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz <= ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112233438817027072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112233438817027072,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#24#hj','{Q[24.可计入研发费用的其他费用#1.本年度]}','A107041高新技术企业优惠情况及明细表#24#4.合计','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj',' ',' ','{Q[tccit_qysds_a107041#24#bnd]}+{Q[tccit_qysds_a107041#24#qynd]}+{Q[tccit_qysds_a107041#24#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112312713888971776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112312713888971776,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#5#bnmdkye',' ','A105120贷款损失准备金及纳税调整明细表#5#2.本年末贷款资产余额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkye',' ',' ','{S[select fbnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''5'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932723;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932723,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#3#jyxjrfz','{Q[持有收益税收金额#5.交易性金融负债]}-{Q[持有收益账载金额#5.交易性金融负债]}','A105030投资收益纳税调整明细#持有收益纳税调整金额#5.交易性金融负债','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrfz','1',' ','{Q[tccit_qysds_a105030#2#jyxjrfz]}-{Q[tccit_qysds_a105030#1#jyxjrfz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113729104361868288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113729104361868288,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#9#qend',' ','A105040专项用途财政性资金纳税调整明细#9#4.前二年度','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105040','qend',' ',' ','select fqynd from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''10'''); 
DELETE FROM t_tctb_formula WHERE FID = 1114438011799814144;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114438011799814144,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#qyndynbe',' ','A106000企业所得税弥补亏损明细表#5#8.当年待弥补的亏损额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','qyndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fbnkmbksje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-6 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}>0) 0-{S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}  #else {S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932652;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932652,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#fdckfqy','{Q[纳税调整金额#22.房地产企业销售未完工开发产品特定业务计算的纳税调整额]}-{Q[纳税调整金额#26.房地产企业销售的未完工产品转完工产品特定业务计算的纳税调整额]}','A05010视同销售纳税调整明细#纳税调整金额#21.房地产开发企业特定业务计算的纳税调整额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','fdckfqy','1',' ','{Q[tccit_qysds_a105010#2#fdckfqytdyw]}-{Q[tccit_qysds_a105010#2#fdcqyxswwg]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932613;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932613,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#qtywsr','{Q[金额#10.销售材料收入]}++{Q[金额#12.出租固定资产收入]}+{Q[金额#13.出租无形资产收入]}+{Q[金额#14.出租包装物和商品收入]}+{Q[金额#15.其他业务收入_其他]}','A101010一般企业收入明细表#金额#9.其他业务收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','qtywsr','1',' ','{Q[tccit_qysds_a101010#1#xsclsr]}+{Q[tccit_qysds_a101010#1#czgdzcsr]}+{Q[tccit_qysds_a101010#1#czwxzcsr]}+{Q[tccit_qysds_a101010#1#czbzwhspsr]}+{Q[tccit_qysds_a101010#1#qtywsrqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932964;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932964,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107050#tabname',' ','企业所得税年度纳税申报表填报表#A107050税额抵免优惠明细表#表单名称','1','A107050','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A107050'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1112231104015761408;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112231104015761408,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#21#qend',' ','A107041高新技术企业优惠情况及明细表#21#3.前二年度','1','21','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend',' ',' ','{S[select fpretwoyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''7'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321157;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321157,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#nstzhsd','{Q[金额#13.利润总额]}-{Q[金额#14.境外所得金额]}+{Q[金额#15.纳税调整增加额]}-{Q[金额#16.纳税调整减少额]}-{Q[金额#17.减：免税、减计收入及加计扣除]}+{Q[金额#18.加：境外应税所得抵减境内亏损]}','A100000年度纳税申报表#金额#19.纳税调整后所得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','nstzhsd','1',' ','{Q[tccit_qysds_a100000#1#lrze]}-{Q[tccit_qysds_a100000#1#jwsdje]}+{Q[tccit_qysds_a100000#1#nstzzje]}-{Q[tccit_qysds_a100000#1#nstzjse]}-{Q[tccit_qysds_a100000#1#msjjsrjjjkc]}+{Q[tccit_qysds_a100000#1#jwyssddjjnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112296731325806592;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112296731325806592,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#3#snmdkye',' ','A105120贷款损失准备金及纳税调整明细表#3#1.上年末贷款资产余额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkye',' ',' ','{Q[tccit_qysds_a105120_dk#4#snmdkye]} + {Q[tccit_qysds_a105120_dk#5#snmdkye]}+ {Q[tccit_qysds_a105120_dk#6#snmdkye]}+ {Q[tccit_qysds_a105120_dk#7#snmdkye]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321429;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321429,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#sjnbe','本列第1行+第2行+...+第10行','A106000企业所得税弥补亏损明细表#11.本年度#10.使用境外所得弥补','1','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','sjnbe','1','使用境外所得弥补','{Q[tccit_qysds_a106000#1#sjnbe]}+{Q[tccit_qysds_a106000#2#sjnbe]}+{Q[tccit_qysds_a106000#3#sjnbe]}+{Q[tccit_qysds_a106000#4#sjnbe]}+{Q[tccit_qysds_a106000#5#sjnbe]}+{Q[tccit_qysds_a106000#6#sjnbe]}+{Q[tccit_qysds_a106000#7#sjnbe]}+{Q[tccit_qysds_a106000#8#sjnbe]}+{Q[tccit_qysds_a106000#9#sjnbe]}+{Q[tccit_qysds_a106000#10#sjnbe]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321251;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321251,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#zgxc',' ','A104000期间费用明细表#销售费用#1.职工薪酬','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','zgxc','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113722116064201728;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113722116064201728,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#2#qsind',' ','A105040专项用途财政性资金纳税调整明细#2#2.前四年度','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind',' ',' ','select fqsand from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''2'''); 
DELETE FROM t_tctb_formula WHERE FID = 1133324575527118848;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133324575527118848,{ts'2021-06-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#czjzyfpsdse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#8.财政集中已分配所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','czjzyfpsdse',' ',' ','if({S[SELECT f.famountorratio FROM t_tccit_seft_hznsqy_sum f WHERE f.forgid = ''#orgid'' AND f.fskssqq = ''#startDate'' AND f.fskssqz = ''#endDate'' AND f.fitemtype=''2c'' ]}>0,{S[SELECT f.famountorratio FROM t_tccit_seft_hznsqy_sum f WHERE f.forgid = ''#orgid'' AND f.fskssqq = ''#startDate'' AND f.fskssqz = ''#endDate'' AND f.fitemtype=''2c'' ]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1114448106985881600;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114448106985881600,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#2#tzbl',' ','A000000主要股东及分红情况#2#3.投资比例（%）','1','2','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','tzbl',' ',' ','{S[select h.finvestrate from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=2 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075553638289;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075553638289,{ts'2021-03-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#qsndynbe','[{"val":"","text":""},{"val":"100","text":"一般企业"},{"val":"200","text":"符合条件的高新技术企业"},{"val":"300","text":"符合条件的科技型中小企业"},{"val":"400","text":"线宽小于 130 纳米(含)的集成电路生产企业"},{"val":"500","text":"受疫情影响困难行业企业"},{"val":"600","text":"电影行业企业"}]','A106000企业所得税弥补亏损明细表#4.前七年度#6.弥补亏损企业类型','3','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321262;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321262,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#1#bgf',' ','A104000期间费用明细表#销售费用#9.办公费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a104000','bgf','1',' ','{S[select fsellcost from t_tccit_profit_fees_sum where fitemno=9 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1118814113720872960;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1118814113720872960,{ts'2021-03-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#24#je',' ','A107042软件、集成电路企业优惠情况及明细表#24#2.金额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107042','je',' ',' ','{S[select t.fjesl from t_tccit_soft_ic_yg_sum t where t.forgid=''#orgid'' and t.fskssqq= ''#startDate'' and t.fskssqz=''#endDate'' and t.fitemtype=''qtzb2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321191;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321191,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#sxfzc',' ','A102020金融企业支出明细#金额#12.手续费支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','sxfzc','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=12 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321091;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321091,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#zyywsrqt',' ','A101010一般企业收入明细表#金额#8.主营业务收入—其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','zyywsrqt','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=8 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113755205172037632;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113755205172037632,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#4#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#4#4.特殊性税务处理递延纳税账载金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010302'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071733099588785152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071733099588785152,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#19#xmsr',' ','A107020所得减免优惠明细表#19#4.项目收入','1','19','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr',' ',' ','{S[select  fincome from t_tccit_getredu_sum where FREDUCENAME=1119507313238005760 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932180;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932180,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#lx',' ','A105020未按权责发生确实收入调整明细#1#3.利息','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','lx',' ',' ','{S[select fsignamount from t_tccit_right_income_sum where FITEMTYPE=''002_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932601;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932601,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A107040#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A107040减免所得税优惠明细表#表单名称','3','A107040','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1095552103742488576;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095552103742488576,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#zqlxsr',' ','A107010免税减计收入及加计扣除优惠明细表#1#23.取得铁路债券利息收入减半征收企业所得税','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','zqlxsr',' ',' ','{S[select fssyhje from t_tccit_dg_b105038_sum where fitemno=''2.5'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320902;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320902,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#37#nstzje','{Q[37.（二）未到期责任准备#1.账载金额]}-{Q[37.（二）未到期责任准备#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#37.二未到期责任准备#3.纳税调整金额','1','37','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#37#zzje]}-{Q[tccit_qysds_a105120#37#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320769;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320769,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#24#nstzje','{Q[24.（六）特许权使用费#2.账载金额本年折旧摊销额]}-{Q[24.（六）特许权使用费#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#24.六特许权使用费#9.纳税调整金额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#24#zzjebnzj]}-{Q[tccit_qysds_a105080#24#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321169;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321169,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#fcss',' ','A102010一般企业成本支出明细#金额#20.非常损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','fcss','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=20 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1181079385587877888;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181079385587877888,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#jwstzhsd','{Q[1#3.境外所得纳税调整后所得]}','A108000境外所得税收抵免明细表#10#3.境外所得纳税调整后所得','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwstzhsd',' ',' ','{Q[tccit_qysds_a108000#1#jwstzhsd]}+{Q[tccit_qysds_a108000#2#jwstzhsd]}+{Q[tccit_qysds_a108000#3#jwstzhsd]}+{Q[tccit_qysds_a108000#4#jwstzhsd]}+{Q[tccit_qysds_a108000#5#jwstzhsd]}+{Q[tccit_qysds_a108000#6#jwstzhsd]}+{Q[tccit_qysds_a108000#7#jwstzhsd]}+{Q[tccit_qysds_a108000#8#jwstzhsd]}+{Q[tccit_qysds_a108000#9#jwstzhsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133307736914772992;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133307736914772992,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#12#fzjggzze',' ','A109010分支机构信息#12#4.职工薪酬','1','12','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''12'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113666791080804352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113666791080804352,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#3#knbkssd',' ','A106000企业所得税弥补亏损明细表#3#2.当年境内所得额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a106000','knbkssd',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']}>0)     {S[select FLOSSMONEY from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-8 and forgid=''#orgid'' and FLOSSTYPE=''jnsd'']} #else     {S[SELECT fknbkssd FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''3'']} #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1095564668191162368;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095564668191162368,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#tzbl',' ','A107011居民企业之间权益性投资收益优惠#2#5.投资比例','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzbl',' ',' ','{S[select fnumorrate  from t_tccit_dg_b105037_sum where flabel=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071724699370951680;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071724699370951680,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#13#yhfs',' ','A107020所得减免优惠明细表#13#3.优惠方式','4','13','1066581598406760448','qysdsnb','tccit_qysds_a107020','yhfs',' ',' ','{S[select  fyhfs from t_tccit_getredu_sum where FREDUCENAME=1064511471960165376 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095584037520589824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095584037520589824,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#chjstzqrjeljwfplryygj',' ','A107011居民企业之间权益性投资收益优惠#6#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeljwfplryygj',' ',' ','{S[select fljwfplr  from t_tccit_dg_b105036_sum where ftranstype=''撤资'' and fitemno=2  and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932834;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932834,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#14#ybnstzje','{Q[14#2.一般性税务处理税收金额]}-{Q[14#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#14#3.一般性税务处理纳税调整金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#14#ybssje]}-{Q[tccit_qysds_a105100#14#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321360;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321360,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#1#ssznjjslx',' ','A105000纳税调整项目明细#账载金额#20.税收滞纳金、加收利息','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','ssznjjslx','1',' ','{S[select fzzje from t_tccit_beforetax_summary  where FITEMNO=2 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113775396073324544;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113775396073324544,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#qsndynbe',' ','A106000企业所得税弥补亏损明细表#1#6.弥补亏损企业类型','4','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and flosstype=''jnsd'']}>0)      {S[select fnumber  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-10 and forgid=''#orgid'' and flosstype=''jnsd'']}   #else {S[SELECT fqsndynbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932649;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932649,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#stxsyycb','{Q[税收金额#12.非货币性资产交换视同销售成本]}+{Q[税收金额#13.用于市场推广或销售视同销售成]}+{Q[税收金额#14.用于交际应酬视同销售成本]}+{Q[税收金额#15.用于职工奖励或福利视同销售成本]}+{Q[税收金额#16.用于股息分配视同销售成本]}+{Q[税收金额#17.用于对外捐赠视同销售成本]}+{Q[税收金额#18.用于对外投资项目视同销售成本]}+{Q[税收金额#19.提供劳务视同销售成本]}+{Q[税收金额#20.视同销售成本其他]}','A05010视同销售纳税调整明细#税收金额#11.视同销售营业成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','stxsyycb','1',' ','{Q[tccit_qysds_a105010#1#fhbxzcjhcb]}+{Q[tccit_qysds_a105010#1#yysctgcb]}+{Q[tccit_qysds_a105010#1#yyjjyccb]}+{Q[tccit_qysds_a105010#1#yyzgjlcb]}+{Q[tccit_qysds_a105010#1#yygxfpcb]}+{Q[tccit_qysds_a105010#1#yydwjzcb]}+{Q[tccit_qysds_a105010#1#yydwtzcb]}+{Q[tccit_qysds_a105010#1#tglwcb]}+{Q[tccit_qysds_a105010#1#stxsyycbqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321507;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321507,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#7#bnkdmjwsdse','if({Q[7#10.境外所得可抵免税额]}>={Q[7#11.境外所得抵免限额]})','A108000境外所得税收抵免明细表#7#12.本年可抵免境外所得税额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108000','bnkdmjwsdse','1',' ','if({Q[tccit_qysds_a108000#7#jwsdkdmse1]}>={Q[tccit_qysds_a108000#7#jwsddmxe]},{Q[tccit_qysds_a108000#7#jwsddmxe]},{Q[tccit_qysds_a108000#7#jwsdkdmse1]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320624;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320624,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#7#jwshxj','{Q[7#2.境外税后所得_分支机构机构营业利润所得]}+{Q[7#3.境外税后所得_股息、红利等权益性投资所得]}+{Q[7#4.境外税后所得_利息所得]}+{Q[7#5.境外税后所得_租金所得]}+{Q[7#6.境外税后所得_特许权使用费所得]}+{Q[7#7.境外税后所得_财产转让所得]}+{Q[7#8.境外税后所得_其他所得]}','A108010境外所得纳税调整后所得明细表#7#9.境外税后所得_小计','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwshxj','1',' ','{Q[tccit_qysds_a108010#7#jwshfzjgyylr]}+{Q[tccit_qysds_a108010#7#jwshgxhltzsd]}+{Q[tccit_qysds_a108010#7#jwshlxsd]}+{Q[tccit_qysds_a108010#7#jwshzjsd]}+{Q[tccit_qysds_a108010#7#jwshtxqfysd]}+{Q[tccit_qysds_a108010#7#jwshcczrsd]}+{Q[tccit_qysds_a108010#7#jwshqtsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932621;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932621,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#3#bnybtsdse','{Q[3#31.实际应纳所得税额]}-{Q[3#32.本年累计实际已预缴的所得税额]}','A100000年度纳税申报表#3#33.本年应补退的所得税额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a100000','bnybtsdse','1',' ','{Q[tccit_qysds_a100000#3#sjynsdse]}-{Q[tccit_qysds_a100000#3#bnljsjyyjsdse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932189;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932189,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#5#txqsyf',' ','A105020未按权责发生确实收入调整明细#5#4.特许权使用费','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105020','txqsyf',' ',' ','{S[select ftaxincomesum from t_tccit_right_income_sum where FITEMTYPE=''002_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112225168597450752;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112225168597450752,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#18#qynd',' ','A107041高新技术企业优惠情况及明细表#18#2.前一年度','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd',' ',' ','{S[select fpreoneyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''4'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320637;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320637,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#10#jwsdkdmxj','{Q[合计#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[合计#11.境外所得可抵免的所得税额_间接负担的所得税额]}+{Q[合计#12.境外所得可抵免的所得税额_享受税收饶让抵免税额]}','A108010境外所得纳税调整后所得明细表#合计#13.境外所得可抵免的所得税额_小计','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdkdmxj','1',' ','{Q[tccit_qysds_a108010#10#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#10#jwsdkdmjjfd]}+{Q[tccit_qysds_a108010#10#jwsdkdmxssrrdm]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071736433959802880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071736433959802880,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#22#jbxmsde',' ','A107020所得减免优惠明细表#22#10.减半项目所得额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#22#yhfs]}''==''减半征收'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1119510373058271232,1119510373058271233) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1119510373058271232,1119510373058271233) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321274;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321274,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#qycz','if({Q[16#7.纳税调整金额]}<{Q[16#7.纳税调整金额]})','A105000纳税调整项目明细#调减金额#37.企业重组','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','qycz','1',' ','if({Q[tccit_qysds_a105100#16#nstzje]}<0,0-{Q[tccit_qysds_a105100#16#nstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932646;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932646,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#mjfylzzzc','{Q[金额#25.业务活动成本]}+{Q[金额#26.管理费用]}+{Q[金额#27.筹资费用]}+{Q[金额#28.其他费用]}','A103000事业单位支出明细#金额#24.民间非营利组织支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','mjfylzzzc','1',' ','{Q[tccit_qysds_a103000#1#ywhdcb]}+{Q[tccit_qysds_a103000#1#glfy]}+{Q[tccit_qysds_a103000#1#zzfy]}+{Q[tccit_qysds_a103000#1#qtfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078887593849958400;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078887593849958400,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#40#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#40#5.税收金额-税收折旧、摊销额','1','40','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020612'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321427;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321427,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#25#nstzje','{Q[25.（七）软件#2.账载金额本年折旧摊销额]}-{Q[25.（七）软件#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#25.七软件#9.纳税调整金额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#25#zzjebnzj]}-{Q[tccit_qysds_a105080#25#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071742776947021824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071742776947021824,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#28#jbxmsde',' ','A107020所得减免优惠明细表#28#10.减半项目所得额','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107020','jbxmsde',' ',' ','{Q[tccit_qysds_a107020#3#jbxmsde]}+{Q[tccit_qysds_a107020#6#jbxmsde]}+{Q[tccit_qysds_a107020#9#jbxmsde]}+{Q[tccit_qysds_a107020#12#jbxmsde]}+{Q[tccit_qysds_a107020#15#jbxmsde]}+{Q[tccit_qysds_a107020#18#jbxmsde]}+{Q[tccit_qysds_a107020#21#jbxmsde]}+{Q[tccit_qysds_a107020#24#jbxmsde]}+{Q[tccit_qysds_a107020#27#jbxmsde]}+{Q[tccit_qysds_a107020#31#jbxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133303055878694912;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133303055878694912,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#99#fzjgzcze',' ','A109010分支机构信息#99#5.资产总额','1','99','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgzcze',' ',' ','{Q[tccit_qysds_a109010_fz#1#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#2#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#3#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#4#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#5#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#6#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#7#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#8#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#9#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#10#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#11#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#12#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#13#fzjgzcze]}+{Q[tccit_qysds_a109010_fz#14#fzjgzcze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320730;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320730,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#18#ssjessgdzje','{Q[19.（一）专利权#5.税收金额-税收折旧、摊销额]}+{Q[20.（二）商标权#5.税收金额-税收折旧、摊销额]}+{Q[21.（三）著作权#5.税收金额-税收折旧、摊销额]}+{Q[22.（四）土地使用权#5.税收金额-税收折旧、摊销额]}+{Q[23.（五）非专利技术#5.税收金额-税收折旧、摊销额]}+{Q[24.（六）特许权使用费#5.税收金额-税收折旧、摊销额]}+{Q[25.（七）软件#5.税收金额-税收折旧、摊销额]}+{Q[19.（一）专利权#5.税收金额-税收折旧、摊销额]}+{Q[20.（二）商标权#5.税收金额-税收折旧、摊销额]}+{Q[21.（三）著作权#5.税收金额-税收折旧、摊销额]}+{Q[22.（四）土地使用权#5.税收金额-税收折旧、摊销额]}+{Q[23.（五）非专利技术#5.税收金额-税收折旧、摊销额]}+{Q[24.（六）特许权使用费#5.税收金额-税收折旧、摊销额]}+{Q[25.（七）软件#5.税收金额-税收折旧、摊销额]}+{Q[27.（八）其他#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#18.三、无形资产19+20+21+22+23+24+25+27#5.税收金额-税收折旧、摊销额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje','1',' ','{Q[tccit_qysds_a105080#19#ssjessgdzje]}+{Q[tccit_qysds_a105080#20#ssjessgdzje]}+{Q[tccit_qysds_a105080#21#ssjessgdzje]}+{Q[tccit_qysds_a105080#22#ssjessgdzje]}+{Q[tccit_qysds_a105080#23#ssjessgdzje]}+{Q[tccit_qysds_a105080#24#ssjessgdzje]}+{Q[tccit_qysds_a105080#25#ssjessgdzje]}+{Q[tccit_qysds_a105080#27#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112250454386934784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112250454386934784,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#1#dksszbjye',' ','A105120贷款损失准备金及纳税调整明细表#1#9.截至上年末已在税前扣除的贷款损失准备金的余额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','dksszbjye',' ',' ','{S[select fdksszbjye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''1'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321074;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321074,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#jzzc','{Q[合计#5.纳税调整金额]}','A105000纳税调整项目明细#调增金额#17.捐赠支出','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','jzzc','1',' ','{Q[tccit_qysds_a105070#8#nstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113723750324423680;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113723750324423680,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#3#qsind',' ','A105040专项用途财政性资金纳税调整明细#3#2.前四年度','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105040','qsind',' ',' ','select fqsand from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''3'''); 
DELETE FROM t_tctb_formula WHERE FID = 1071727861565789184;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071727861565789184,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#15#msxmsde',' ','A107020所得减免优惠明细表#15#9.免税项目所得额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','{Q[tccit_qysds_a107020#13#msxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337854;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337854,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#28#yftqjfy','{Q[3.一、农、林、牧、渔业项目小计#7.应分摊期间费用]}+{Q[6.二、国家重点扶持的公共基础设施项目小计#7.应分摊期间费用]}+{Q[9.三、符合条件的环境保护、节能节水项目小计#7.应分摊期间费用]}+{Q[12.四、符合条件的技术转让项目小计#7.应分摊期间费用]}+{Q[15.五、清洁发展机制项目小计#7.应分摊期间费用]}+{Q[18.六、符合条件的节能服务公司实施的合同能源管理项目小计#7.应分摊期间费用]}+{Q[21.七、线宽小于132纳米的集成电路生产项目小计#7.应分摊期间费用]}+{Q[24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#7.应分摊期间费用]}+{Q[27.九、其他小计#7.应分摊期间费用]}','A107020所得减免优惠明细表#28.合计#7.应分摊期间费用','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy','1',' ','{Q[tccit_qysds_a107020#3#yftqjfy]}+{Q[tccit_qysds_a107020#6#yftqjfy]}+{Q[tccit_qysds_a107020#9#yftqjfy]}+{Q[tccit_qysds_a107020#12#yftqjfy]}+{Q[tccit_qysds_a107020#15#yftqjfy]}+{Q[tccit_qysds_a107020#18#yftqjfy]}+{Q[tccit_qysds_a107020#21#yftqjfy]}+{Q[tccit_qysds_a107020#24#yftqjfy]}+{Q[tccit_qysds_a107020#27#yftqjfy]}+{Q[tccit_qysds_a107020#31#yftqjfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254931989;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254931989,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#qekcpxfy','if({Q[账载金额#6.按税收规定全额扣除的职工培训费用]}>={Q[实际发生额#6.按税收规定全额扣除的职工培训费用]},{Q[实际发生额#6.按税收规定全额扣除的职工培训费用]},{Q[账载金额#6.按税收规定全额扣除的职工培训费用]})','A105050职工薪酬支出明细#5#6.按税收规定全额扣除的职工培训费用','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','qekcpxfy',' ',' ','if({Q[tccit_qysds_a105050#1#qekcpxfy]}>={Q[tccit_qysds_a105050#2#qekcpxfy]},{Q[tccit_qysds_a105050#2#qekcpxfy]},{Q[tccit_qysds_a105050#1#qekcpxfy]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932259;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932259,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#6#cqgqtz',' ','A105030投资收益纳税调整明细#6#6.长期股权投资','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqgqtz',' ',' ','{S[select fczzczmjz from t_tccit_asset_dispose_sum where fitemtype=''6010806'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095568458256532480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095568458256532480,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#btzlrfpqrjesyje',' ','A107011居民企业之间权益性投资收益优惠#3#7.被投资企业利润分配确认金额_依决定归属于本公司的股息、红利等权益性投资收益金额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzlrfpqrjesyje',' ',' ','{S[select fqddbtzzc  from t_tccit_dg_b105037_sum where flabel=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932187;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932187,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#txqsyf',' ','A105020未按权责发生确实收入调整明细#3#4.特许权使用费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','txqsyf',' ',' ','{S[select fzzjesum from t_tccit_right_income_sum where FITEMTYPE=''002_03'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320680;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320680,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#3#bnxj','{Q[3#8.本年实际抵免以前年度未抵免的境外已缴所得税额_前五年]}+{Q[3#9.本年实际抵免以前年度未抵免的境外已缴所得税额_前四年]}+{Q[3#10.本年实际抵免以前年度未抵免的境外已缴所得税额_前三年]}+{Q[3#11.本年实际抵免以前年度未抵免的境外已缴所得税额_前二年]}+{Q[3#12.本年实际抵免以前年度未抵免的境外已缴所得税额_前一年]}','A108030跨年度结转抵免境外所得税明细表#3#13.本年实际抵免以前年度未抵免的境外已缴所得税额_小计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a108030','bnxj','1',' ','{Q[tccit_qysds_a108030#3#bnqwn]}+{Q[tccit_qysds_a108030#3#bnqsin]}+{Q[tccit_qysds_a108030#3#bnqsann]}+{Q[tccit_qysds_a108030#3#bnqln]}+{Q[tccit_qysds_a108030#3#bnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077606195340034048;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077606195340034048,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#37#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#37#2.账载金额本年折旧摊销额','1','37','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020603'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932517;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932517,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#11#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#11#4.资产计税基础','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''701030502'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932694;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932694,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#ssgs','[{"val":"1","text":"是"},{"val":"0","text":"否"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#110上市公司','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','ssgs','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320649;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320649,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#2#jwsdtzhsd','{Q[2#14.境外税前所得]}+{Q[2#15.境外分支机构收入与支出纳税调整额]}-{Q[2#16.境外分支机构调整分摊扣除的有关成本费用]}-{Q[2#17.境外所得对应调整的相关成本费用支出]}','A108010境外所得纳税调整后所得明细表#2#18.境外所得纳税调整后所得','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdtzhsd','1',' ','{Q[tccit_qysds_a108010#2#jwsqsd]}+{Q[tccit_qysds_a108010#2#jwfzsrzctze]}-{Q[tccit_qysds_a108010#2#jwfztzftkccbfy]}-{Q[tccit_qysds_a108010#2#jwsdtzcbfyzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071736212148229120;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071736212148229120,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#22#msxmsde',' ','A107020所得减免优惠明细表#22#9.免税项目所得额','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#22#yhfs]}''==''免税'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1119510373058271232,1119510373058271233)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME in (1119510373058271232,1119510373058271233) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1133311924063290368;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133311924063290368,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#11#fpbl',' ','A109010分支机构信息#11#6.分配比例','1','11','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpbl',' ',' ','({Q[tccit_qysds_a109010_fz#11#fzjgsrze]} / {Q[tccit_qysds_a109010_fz#99#fzjgsrze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#11#fzjggzze]} / {Q[tccit_qysds_a109010_fz#99#fzjggzze]}) * 0.35 + ({Q[tccit_qysds_a109010_fz#11#fzjgzcze]} / {Q[tccit_qysds_a109010_fz#99#fzjgzcze]}) * 0.30'); 
DELETE FROM t_tctb_formula WHERE FID = 1114480995320464384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114480995320464384,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#3#zjlx','[{"val":"","text":""},{"val":"1","text":"居民身份证"},{"val":"2","text":"中国护照"},{"val":"3","text":"税务登记证"},{"val":"4","text":"营业执照"},{"val":"5","text":"组织机构代码证"},{"val":"6","text":"其他单位证件"},{"val":"7","text":"香港特别行政区护照"},{"val":"8","text":"澳门特别行政区护照"},{"val":"9","text":"港澳居民来往内地通行证"},{"val":"10","text":"中华人民共和国往来港澳通行证"},{"val":"11","text":"台湾居民来往大陆通行证"},{"val":"12","text":"大陆居民往来台湾通行证"},{"val":"13","text":"香港永久性居民身份证"},{"val":"14","text":"台湾身份证"},{"val":"15","text":"澳门特别行政区永久性居民身份证"},{"val":"16","text":"外国护照"},{"val":"17","text":"外国人身份证件"},{"val":"18","text":"其他个人证件"}]','A000000主要股东及分红情况#3#2.证件种类','3','3','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932693;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932693,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#xxwlqy','[{"val":"1","text":"是"},{"val":"0","text":"否"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#109小型微利企业','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','xxwlqy','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1112311378691013632;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112311378691013632,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#4#bnmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#4#6.本年末准予提取贷款损失准备金的贷款资产余额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkzcye',' ',' ','{S[select fbnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''4'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320874;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320874,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#9#nstzje','{Q[9.3.健康保险业务长期#1.账载金额]}-{Q[9.3.健康保险业务长期#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#9.3.健康保险业务长期#3.纳税调整金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#9#zzje]}-{Q[tccit_qysds_a105120#9#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932785;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932785,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#6#gzxjzc','{Q[账载金额#1.工资薪金支出]}-{Q[税收金额#1.工资薪金支出]}','A105050职工薪酬支出明细#纳税调整金额#1.工资薪金支出','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105050','gzxjzc','1',' ','{Q[tccit_qysds_a105050#1#gzxjzc]}-{Q[tccit_qysds_a105050#5#gzxjzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321487;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321487,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107030#8#hjje','if({Q[5#1.合计金额]}>{Q[6#1.合计金额]}{Q[5#1.合计金额]}-{Q[7#1.合计金额]},)','A107030抵扣应纳税所得额明细表#8#1.合计金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a107030','hjje','1',' ','if({Q[tccit_qysds_a107030#5#hjje]}>{Q[tccit_qysds_a107030#6#hjje]},{Q[tccit_qysds_a107030#5#hjje]}-{Q[tccit_qysds_a107030#7#hjje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321149;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321149,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#clxscb',' ','A102010一般企业成本支出明细#金额#10.材料销售成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','clxscb','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=10 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075553638284;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075553638284,{ts'2021-03-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#qsndynbe','[{"val":"","text":""},{"val":"100","text":"一般企业"},{"val":"200","text":"符合条件的高新技术企业"},{"val":"300","text":"符合条件的科技型中小企业"},{"val":"400","text":"线宽小于 130 纳米(含)的集成电路生产企业"},{"val":"500","text":"受疫情影响困难行业企业"},{"val":"600","text":"电影行业企业"}]','A106000企业所得税弥补亏损明细表#5.前六年度#6.弥补亏损企业类型','3','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932322;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932322,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#13#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#13#1.账载金额资产原值','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020609'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114440540738289664;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114440540738289664,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#10#gdmc',' ','A000000主要股东及分红情况#10#1.股东名称','4','10','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gdmc',' ',' ','{S[select h.fgdname from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=10 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321391;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321391,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#3#bcyiliaobx',' ','A105050职工薪酬支出明细#税收规定扣除率#11.补充医疗保险','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105050','bcyiliaobx','1',' ','{S[select frate from t_tccit_deduct_summary_dg where FITEMTYPE=''yiliao'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932781;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932781,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#hj','{Q[账载金额#1.工资薪金支出]}+{Q[账载金额#3.职工福利费支出]}+{Q[账载金额#4.职工教育经费支出]}+{Q[账载金额#7.工会经费支出]}+{Q[账载金额#8.各类基本社会保障性缴款]}+{Q[账载金额#9.住房公积金]}+{Q[账载金额#10.补充养老保险]}+{Q[账载金额#11.补充医疗保险]}+{Q[账载金额#12.其他]}','A105050职工薪酬支出明细#账载金额#13.合计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','hj','1',' ','{Q[tccit_qysds_a105050#1#gzxjzc]}+{Q[tccit_qysds_a105050#1#zgflfzc]}+{Q[tccit_qysds_a105050#1#zgjyjfzc]}+{Q[tccit_qysds_a105050#1#ghjfzc]}+{Q[tccit_qysds_a105050#1#bzxjk]}+{Q[tccit_qysds_a105050#1#zfgjj]}+{Q[tccit_qysds_a105050#1#bcylbx]}+{Q[tccit_qysds_a105050#1#bcyiliaobx]}+{Q[tccit_qysds_a105050#1#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113694987188646912;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113694987188646912,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#5#dnknbks',' ','A106000企业所得税弥补亏损明细表#5#4.可弥补年限5年','1','5','1066581598406760448','qysdsnb','tccit_qysds_a106000','dnknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-6 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-6 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}  #else #if({S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']}>0 )    0-{S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']} #else  {S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''5'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1071632656476709888;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071632656476709888,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#1#sdjmyhsxdm',' ','A107020所得减免优惠明细表#1#2.所得减免优惠事项代码','4','1','1066581598406760448','qysdsnb','tccit_qysds_a107020','sdjmyhsxdm',' ',' ','{S[select   fyhsxmc from t_tccit_getredu_sum where FREDUCENAME in (1064403692599497729,1064416857580229632,1064416857580229633,1064416857580229634,1064416857580229636,1064416857580229637,1064416857580229638,1064416857580229639,1064506234591581184,1064506234591581185,1064506234591581186) and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077523628477694976;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077523628477694976,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#37#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#37#1.账载金额资产原值','1','37','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020603'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135456010719488000;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135456010719488000,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#2#qenddme',' ','A107050税额抵免优惠明细表#2#8.前二年度一抵免额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','qenddme',' ',' ','{S[select fqynddme from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113019275888759808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113019275888759808,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#10#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#10#2.一般性税务处理税收金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030402'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932638;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932638,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#bxywzc','{Q[金额#16.退保金]}+{Q[金额#17.赔付支出]}-{Q[金额#18.摊回赔付支出]}+{Q[金额#19.提取保险责任准备金]}-{Q[金额#20.摊回保险责任准备金]}+{Q[金额#21.保单红利支出]}+{Q[金额#22.分保费用]}-{Q[金额#23.摊回分保费用]}+{Q[金额#24.保险业务手续费及佣金支出]}','A102020金融企业支出明细#金额#15.保险业务支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','bxywzc','1',' ','{Q[tccit_qysds_a102020#1#tbj]}+{Q[tccit_qysds_a102020#1#pfzc]}-{Q[tccit_qysds_a102020#1#thpfzc]}+{Q[tccit_qysds_a102020#1#tqbxzrzbj]}-{Q[tccit_qysds_a102020#1#thbxzrzbj]}+{Q[tccit_qysds_a102020#1#bdhlzc]}+{Q[tccit_qysds_a102020#1#fbfy]}-{Q[tccit_qysds_a102020#1#thfbfy]}+{Q[tccit_qysds_a102020#1#bxywsxfjyjzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113737554290591744;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113737554290591744,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#13#bn',' ','A105040专项用途财政性资金纳税调整明细#13#6.本年','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105040','bn',' ',' ','{S[SELECT sum(e.FFINANCIALAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932909;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932909,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#chjstzqrjeqdcgsh','{Q[3#11.撤回或减少投资确认金额_从被投资企业撤回或减少投资取得的资产]}-{Q[3#13.撤回或减少投资确认金额_收回初始投资成本]}','A107011居民企业之间权益性投资收益优惠#3#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeqdcgsh','1',' ','{Q[tccit_qysds_a107011#3#chjstzqrjezc]}-{Q[tccit_qysds_a107011#3#chjstzqrjeshcstzcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321336;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321336,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#czbzsr',' ','A103000事业单位支出明细#金额#2.财政补助收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','czbzsr','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=2 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932778;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932778,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#2#zgjyjfzc','{Q[实际发生额#5.按税收规定比例扣除的职工教育经费]}+{Q[实际发生额#6.按税收规定全额扣除的职工培训费用]}','A105050职工薪酬支出明细#实际发生额#4.职工教育经费支出','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105050','zgjyjfzc','1',' ','{Q[tccit_qysds_a105050#2#blkcjyjf]}+{Q[tccit_qysds_a105050#2#qekcpxfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321175;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321175,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#wfshdzqgqtzss',' ','A102010一般企业成本支出明细#金额#25.无法收回的债券股权投资损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','wfshdzqgqtzss','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=25 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320833;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320833,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#13#nstzje','{Q[13.其中：在建工程停建、报废损失#1.资产损失的账载金额]}-{Q[13.其中：在建工程停建、报废损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#13.其中：在建工程停建、报废损失#6.纳税调整金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#13#zzje]}+{Q[tccit_qysds_a105090#13#zchxje]}-{Q[tccit_qysds_a105090#13#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114451005837149184;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114451005837149184,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#10#syje',' ','A000000主要股东及分红情况#10#4.当年（决议日）分配的股息、红利等权益性投资收益金额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','syje',' ',' ','{S[select h.fcurryeardividend from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=10 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069467456835173376;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069467456835173376,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#20#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#20#7.资产损失准备金核销金额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''70103080104'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071708970294744064;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071708970294744064,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#3#msxmsde',' ','A107020所得减免优惠明细表#3#9.免税项目所得额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','{Q[tccit_qysds_a107020#1#msxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321246;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321246,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#jzzc',' ','A102020金融企业支出明细#金额#37.捐赠支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','jzzc','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=37 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095567496670396416;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095567496670396416,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#btzlrfpqrjejdsj',' ','A107011居民企业之间权益性投资收益优惠#3#6.被投资企业利润分配确认金额_被投资企业做出利润分配或转股决定时间','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzlrfpqrjejdsj',' ',' ','{S[select fbizdate from t_tccit_dg_b105037_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320768;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320768,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#23#nstzje','{Q[23.（五）非专利技术#2.账载金额本年折旧摊销额]}-{Q[23.（五）非专利技术#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#23.五非专利技术#9.纳税调整金额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#23#zzjebnzj]}-{Q[tccit_qysds_a105080#23#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071736975301842944;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071736975301842944,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#24#msxmsde',' ','A107020所得减免优惠明细表#24#9.免税项目所得额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','{Q[tccit_qysds_a107020#22#msxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320776;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320776,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#33#nstzje','{Q[33.（五）其他#2.账载金额本年折旧摊销额]}-{Q[33.（五）其他#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#33.五其他#9.纳税调整金额','1','33','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#33#zzjebnzj]}-{Q[tccit_qysds_a105080#33#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321098;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321098,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#fldzcczld',' ','A101010一般企业收入明细表#金额#17.非流动资产处置利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','fldzcczld','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=17 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932373;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932373,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#24#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#24#1.账载金额资产原值','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020306'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069457533086743552;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069457533086743552,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#8#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#8#7.资产损失准备金核销金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''701030401'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113018381780587520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113018381780587520,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#12#ybzzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#12#1.一般性税务处理账载金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybzzje',' ',' ','{S[SELECT sum(FYBSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010306'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932261;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932261,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#6#cqzqtz',' ','A105030投资收益纳税调整明细#6#8.长期债券投资','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqzqtz',' ',' ','{S[select fczzczmjz from t_tccit_asset_dispose_sum where fitemtype=''6010808'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114438947683254272;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114438947683254272,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#qyndynbe',' ','A106000企业所得税弥补亏损明细表#9#8.当年待弥补的亏损额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','qyndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fbnkmbksje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}>0) 0-{S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}  #else {S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321327;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321327,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#5#yjsxf',' ','A104000期间费用明细表#财务费用#6.佣金和手续费','1','5','1066581598406760448','qysdsnb','tccit_qysds_a104000','yjsxf','1',' ','{S[select ffinancecost from t_tccit_profit_fees_sum where fitemno=6 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113725394021829632;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113725394021829632,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#4#qend',' ','A105040专项用途财政性资金纳税调整明细#4#4.前二年度','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105040','qend',' ',' ','{S[SELECT sum(e.FINCOMEAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-2 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071739922798646272;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071739922798646272,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#25#msxmsde',' ','A107020所得减免优惠明细表#25#9.免税项目所得额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#25#yhfs]}''==''免税'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME=1119525021539512320 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME=1119525021539512320 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932381;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932381,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#33#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#33#1.账载金额资产原值','1','33','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020405'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320732;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320732,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#28#zzjezczz','{Q[29.（一）已足额提取折旧的固定资产的改建支出#1.账载金额资产原值]}+{Q[30.（二）租入固定资产的改建支出#1.账载金额资产原值]}+{Q[31.（三）固定资产的大修理支出#1.账载金额资产原值]}+{Q[32.（四）开办费#1.账载金额资产原值]}+{Q[33.（五）其他#1.账载金额资产原值]}','A105080资产折旧摊销及纳税调整明细#28.四、长期待摊费用#1.账载金额资产原值','1','28','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz','1',' ','{Q[tccit_qysds_a105080#29#zzjezczz]}+{Q[tccit_qysds_a105080#30#zzjezczz]}+{Q[tccit_qysds_a105080#31#zzjezczz]}+{Q[tccit_qysds_a105080#32#zzjezczz]}+{Q[tccit_qysds_a105080#33#zzjezczz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113755886125680640;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113755886125680640,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#11#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#11#4.特殊性税务处理递延纳税账载金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010305'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321104;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321104,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#jzld',' ','A101010一般企业收入明细表#金额#22.捐赠利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','jzld','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=22 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320921;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320921,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#40#yfhdfyje','{Q[2#研发活动费用金额]}+{Q[36#研发活动费用金额]}*0.8+{Q[38#研发活动费用金额]}','A107012研发费用加计扣除优惠明细#40#研发活动费用金额','1','40','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','{Q[tccit_qysds_a107012_mx#2#yfhdfyje]}+{Q[tccit_qysds_a107012_mx#36#yfhdfyje]}*0.8+{Q[tccit_qysds_a107012_mx#38#yfhdfyje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932542;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932542,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#20#zzje',' ','A105090资产损失税前扣除及纳税调整明细#20#1.资产损失的账载金额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''70103080104'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320750;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320750,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#12#ssje2014zje','{Q[12.（五）常年强震动、高腐蚀固定资产#5.税收金额-税收折旧、摊销额]}-{Q[12.（五）常年强震动、高腐蚀固定资产#6.享受加速折旧政策的资产按税收一般规定计算的折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#12.五常年强震动、高腐蚀固定资产#7.税收金额加速折旧、摊销统计额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssje2014zje','1',' ','{Q[tccit_qysds_a105080#12#ssjessgdzje]}-{Q[tccit_qysds_a105080#12#ssjebnjszje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932911;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932911,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#chjstzqrjeqdcgsh','{Q[5#11.撤回或减少投资确认金额_从被投资企业撤回或减少投资取得的资产]}-{Q[5#13.撤回或减少投资确认金额_收回初始投资成本]}','A107011居民企业之间权益性投资收益优惠#5#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeqdcgsh','1',' ','{Q[tccit_qysds_a107011#5#chjstzqrjezc]}-{Q[tccit_qysds_a107011#5#chjstzqrjeshcstzcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321234;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321234,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#kqkcxm','if({Q[账载金额#26.跨期扣除项目]}-{Q[税收金额#26.跨期扣除项目]}>=)','A105000纳税调整项目明细#调增金额#26.跨期扣除项目','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','kqkcxm','1',' ','if({Q[tccit_qysds_a105000#1#kqkcxm]}-{Q[tccit_qysds_a105000#2#kqkcxm]}>=0,{Q[tccit_qysds_a105000#1#kqkcxm]}-{Q[tccit_qysds_a105000#2#kqkcxm]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321001;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321001,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107042#12#je','{Q[11.符合条件的销售（营业）收入#2.金额]}/{Q[10.企业收入总额#2.金额]}','A107042软件、集成电路企业优惠情况及明细表#12.符合条件的收入占收入总额的比例#2.金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107042','je','1',' ','{Q[tccit_qysds_a107042#11#je]}/{Q[tccit_qysds_a107042#10#je]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932458;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932458,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#19#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#19#8.税收金额累计折旧、摊销额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932804;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932804,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#ljjzyhndkce','{Q[金额#7.本年结转以后年度扣除额]}+{Q[金额#8.加：以前年度累计结转扣除额]}-{Q[金额#9.减：本年扣除的以前年度结转额]}','A105060广告业务宣传费跨年纳税调整明细#金额#13.累计结转以后年度扣除额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','ljjzyhndkce','1',' ','{Q[tccit_qysds_a105060#1#bnjzyhndkce]}+{Q[tccit_qysds_a105060#1#yqndljjzkce]}-{Q[tccit_qysds_a105060#1#bnkcdyqndjze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320607;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320607,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#8#jyjsxj','{Q[8#15.按简易办法计算_按低于12.5%的实际税率计算的抵免额]}+{Q[8#16.按简易办法计算_按12.5%计算的抵免额]}+{Q[8#17.按简易办法计算_按25%计算的抵免额]}','A108000境外所得税收抵免明细表#8#18.按简易办法计算_小计','1','8','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsxj','1',' ','{Q[tccit_qysds_a108000#8#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#8#jyjsldyewdme]}+{Q[tccit_qysds_a108000#8#jyjsldewdme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320696;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320696,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#9#jzxj','{Q[9#14.结转以后年度抵免的境外所得已缴所得税额_前四年]}+{Q[9#15.结转以后年度抵免的境外所得已缴所得税额_前三年]}+{Q[9#16.结转以后年度抵免的境外所得已缴所得税额_前二年]}+{Q[9#17.结转以后年度抵免的境外所得已缴所得税额_前一年]}+{Q[9#18.结转以后年度抵免的境外所得已缴所得税额_本年]}','A108030跨年度结转抵免境外所得税明细表#9#19.结转以后年度抵免的境外所得已缴所得税额_小计','1','9','1066581598406760448','qysdsnb','tccit_qysds_a108030','jzxj','1',' ','{Q[tccit_qysds_a108030#9#jzqsin]}+{Q[tccit_qysds_a108030#9#jzqsann]}+{Q[tccit_qysds_a108030#9#jzqln]}+{Q[tccit_qysds_a108030#9#jzqyn]}+{Q[tccit_qysds_a108030#9#jbzn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932567;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932567,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#26#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#26#2.资产处置收入','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''7010311'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112227533404766208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112227533404766208,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#22#qynd',' ','A107041高新技术企业优惠情况及明细表#22#2.前一年度','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd',' ',' ','{S[select fpreoneyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''8'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320579;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320579,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#7#djjnkshjwyne','{Q[7#5.境外应纳税所得额]}-{Q[7#6.抵减境内亏损]}','A108000境外所得税收抵免明细表#7#7.抵减境内亏损后的境外应纳税所得额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108000','djjnkshjwyne','1',' ','{Q[tccit_qysds_a108000#7#jwynssde]}-{Q[tccit_qysds_a108000#7#djjnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932614;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932614,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#yywsr','{Q[金额#17.非流动资产处置利得]}+{Q[金额#18.非货币性资产交换利得]}+{Q[金额#19.债务重组利得]}+{Q[金额#20.政府补助利得]}+{Q[金额#21.盘盈利得]}+{Q[金额#22.捐赠利得]}+{Q[金额#23.罚没利得]}+{Q[金额#24.确实无法偿付的应付款项]}+{Q[金额#25.汇兑收益]}+{Q[金额#26.营业外收其他]}','A101010一般企业收入明细表#金额#16.营业外收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','yywsr','1',' ','{Q[tccit_qysds_a101010#1#fldzcczld]}+{Q[tccit_qysds_a101010#1#fhbxzcjhld]}+{Q[tccit_qysds_a101010#1#zwczld]}+{Q[tccit_qysds_a101010#1#zfbzld]}+{Q[tccit_qysds_a101010#1#pyld]}+{Q[tccit_qysds_a101010#1#jzld]}+{Q[tccit_qysds_a101010#1#fmld]}+{Q[tccit_qysds_a101010#1#qswfbcdyfkx]}+{Q[tccit_qysds_a101010#1#hzly]}+{Q[tccit_qysds_a101010#1#yywsrqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462500;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462500,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#3#yqndjzkkcdjze','{Q[前三年度#2.以前年度结转可扣除的捐赠额]}+{Q[前二年度#2.以前年度结转可扣除的捐赠额]}+{Q[前一年度#2.以前年度结转可扣除的捐赠额]}','A105070捐赠支出及纳税调整明细#限额扣除的公益性捐赠#2.以前年度结转可扣除的捐赠额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105070','yqndjzkkcdjze','1',' ','{Q[tccit_qysds_a105070#4#yqndjzkkcdjze]}+{Q[tccit_qysds_a105070#5#yqndjzkkcdjze]}+{Q[tccit_qysds_a105070#6#yqndjzkkcdjze]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114317533579578368;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114317533579578368,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#fylzz',' ','A000000企业所得税年度纳税申报基础信息表#1#207非营利组织','1','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','fylzz',' ',' ','if({S[select count(*) from t_tccit_policy c left join t_tccit_apitudeinfo info on c.fid=info.fid where info.fcompanytype=''401'' and c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'']}>0,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320634;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320634,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#7#jwsdkdmxj','{Q[7#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[7#11.境外所得可抵免的所得税额_间接负担的所得税额]}+{Q[7#12.境外所得可抵免的所得税额_享受税收饶让抵免税额]}','A108010境外所得纳税调整后所得明细表#7#13.境外所得可抵免的所得税额_小计','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsdkdmxj','1',' ','{Q[tccit_qysds_a108010#7#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#7#jwsdkdmjjfd]}+{Q[tccit_qysds_a108010#7#jwsdkdmxssrrdm]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077607195203387392;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077607195203387392,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#41#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#41#2.账载金额本年折旧摊销额','1','41','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020613'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114455211700649984;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114455211700649984,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#7#gj',' ','A000000主要股东及分红情况#7#5.国籍','4','7','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gj',' ',' ','{C[#guoji_7]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1296957008943010816;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1296957008943010816,{ts'2021-11-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#1#zhsjfsdyysj',' ',' ','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105010','zhsjfsdyysj',' ',' ','{S[select sum(famount) from t_tccit_dg_b105093tz_sum where fitemno=''8'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932700;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932700,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#fylzz','[{"val":"1","text":"是"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#207非营利组织','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','fylzz','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932720,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#3#kgcsjrzc','{Q[持有收益税收金额#2.可供出售金融资]}-{Q[持有收益账载金额#2.可供出售金融资]}','A105030投资收益纳税调整明细#持有收益纳税调整金额#2.可供出售金融资','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105030','kgcsjrzc','1',' ','{Q[tccit_qysds_a105030#2#kgcsjrzc]}-{Q[tccit_qysds_a105030#1#kgcsjrzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320809;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320809,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#18#ssje','{Q[18.符合条件的涉农和中小企业贷款损失#4.资产计税基础]}-{Q[18.符合条件的涉农和中小企业贷款损失#2.资产处置收入]}-{Q[18.符合条件的涉农和中小企业贷款损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#18.符合条件的涉农和中小企业贷款损失#5.资产损失的税收金额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#18#zcjsjc]}-{Q[tccit_qysds_a105090#18#zcczsr]}-{Q[tccit_qysds_a105090#18#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932156;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932156,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#gqjl',' ','A105050职工薪酬支出明细#1#2.股权激励','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','gqjl',' ',' ','{S[SELECT fzzje FROM t_tccit_salary_summary_dg WHERE fitemtype=''stock'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320815;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320815,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#24#ssje','{Q[24.其中：股权转让损失#4.资产计税基础]}-{Q[24.其中：股权转让损失#2.资产处置收入]}-{Q[24.其中：股权转让损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#24.其中：股权转让损失#5.资产损失的税收金额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#24#zcjsjc]}-{Q[tccit_qysds_a105090#24#zcczsr]}-{Q[tccit_qysds_a105090#24#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932247;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932247,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#4#cyzdqtz',' ','A105030投资收益纳税调整明细#4#3.持有至到期投资','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105030','cyzdqtz',' ',' ','{S[select fkjqrczsr from t_tccit_asset_dispose_sum where fitemtype=''6010803'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932404;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932404,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#19#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#19#3.账载金额累计折旧、摊销额','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020301'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932630;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932630,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#yycb','{Q[金额#2.主营业务成本]}+{Q[金额#9.其他业务成本]}','A102010一般企业成本支出明细#金额#1.营业成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','yycb','1',' ','{Q[tccit_qysds_a102010#1#zyywcb]}+{Q[tccit_qysds_a102010#1#qtywcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135445959967533056;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135445959967533056,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#4#bndmqynse',' ','A107050税额抵免优惠明细表#4#2.本年抵免前应纳税额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','bndmqynse',' ',' ','{S[select fbndmqynse from t_tccit_qysds_a107050 where fsbbid in(select fid from   t_tctb_declare_main t where t.forgid=''#orgid'' and t.fskssqq=''#lastYearStartDate'' and t.fskssqz=''#lastYearEndDate'' and t.fnsrtype=''qysdsnb'') and fewblxh=''5'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932275;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932275,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#7#ysgj',' ','A105030投资收益纳税调整明细#7#4.衍生工具','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105030','ysgj',' ',' ','{S[select fczzcjsjc from t_tccit_asset_dispose_sum where fitemtype=''6010804'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320781;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320781,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#16#zcczsr','{Q[17.（一）金融企业债权性投资损失#2.资产处置收入]}+{Q[22.（二）非金融企业债权性投资损失#2.资产处置收入]}','A105090资产损失税前扣除及纳税调整明细#16.八、债权性投资损失#2.资产处置收入','1','16','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr','1',' ','{Q[tccit_qysds_a105090#17#zcczsr]}+{Q[tccit_qysds_a105090#22#zcczsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320706;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320706,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#kclxmtz','{Q[调增金额#13.视同销售成本]}+{Q[调增金额#14.职工薪酬]}+{Q[调增金额#15.业务招待费支出]}+{Q[调增金额#16.广告费和业务宣传费支出]}+{Q[调增金额#17.捐赠支出]}+{Q[调增金额#18.利息支出]}+{Q[调增金额#19.罚金、罚款和被没收财物的损失]}+{Q[调增金额#20.税收滞纳金、加收利息]}+{Q[调增金额#21.赞助支出]}+{Q[调增金额#22.与未实现融资收益相关在当期确认的财务费用]}+{Q[调增金额#23.佣金和手续费支出]}+{Q[调增金额#24.不征税收入用于支出所形成的费用]}+{Q[调增金额#26.跨期扣除项目]}+{Q[调增金额#27.与取得收入无关的支出]}+{Q[调增金额#28.境外所得分摊的共同支出]}+{Q[调增金额#29.党组织工作经费]}+{Q[调增金额#30.扣除类调整其他]}','A105000纳税调整项目明细#调增金额#12.扣除类调整项目','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','kclxmtz','1',' ','{Q[tccit_qysds_a105000#3#stxszb]}+{Q[tccit_qysds_a105000#3#zgxc]}+{Q[tccit_qysds_a105000#3#ywzdfzc]}+{Q[tccit_qysds_a105000#3#ggfhywxcfzc]}+{Q[tccit_qysds_a105000#3#jzzc]}+{Q[tccit_qysds_a105000#3#lxzc]}+{Q[tccit_qysds_a105000#3#fjfkhbmscwdss]}+{Q[tccit_qysds_a105000#3#ssznjjslx]}+{Q[tccit_qysds_a105000#3#zzzc]}+{Q[tccit_qysds_a105000#3#ywsxrzsy]}+{Q[tccit_qysds_a105000#3#yjhsxfzc]}+{Q[tccit_qysds_a105000#3#bzssryyzc]}+{Q[tccit_qysds_a105000#3#kqkcxm]}+{Q[tccit_qysds_a105000#3#yqdsrwgdzc]}+{Q[tccit_qysds_a105000#3#jwsdftdgtzc]}+{Q[tccit_qysds_a105000#3#dzzgzjf]}+{Q[tccit_qysds_a105000#3#kcltzxmqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320826;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320826,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#6#nstzje','{Q[6.其中：存货盘亏、报废、损毁、变质或被盗损失#1.资产损失的账载金额]}-{Q[6.其中：存货盘亏、报废、损毁、变质或被盗损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#6.其中：存货盘亏、报废、损毁、变质或被盗损失#6.纳税调整金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#6#zzje]}+{Q[tccit_qysds_a105090#6#zchxje]}-{Q[tccit_qysds_a105090#6#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932409;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932409,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#24#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#24#3.账载金额累计折旧、摊销额','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020306'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114394125488317440;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114394125488317440,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#qsndynbe',' ','A106000企业所得税弥补亏损明细表#11#6.弥补亏损企业类型','4','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe',' ',' ','{S[select fnumber  from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear and forgid=''#orgid'' and flosstype=''jnsd'']}  '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932989;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932989,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#1#djjnkshjwyne','{Q[1#5.境外应纳税所得额]}-{Q[1#6.抵减境内亏损]}','A108000境外所得税收抵免明细表#1#7.抵减境内亏损后的境外应纳税所得额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108000','djjnkshjwyne','1',' ','{Q[tccit_qysds_a108000#1#jwynssde]}-{Q[tccit_qysds_a108000#1#djjnks]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932135;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932135,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#tglwcb',' ','A05010视同销售纳税调整明细#2#19.提供劳务视同销售成本','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','tglwcb',' ',' ','{Q[tccit_qysds_a105010#1#tglwcb]}*-1'); 
DELETE FROM t_tctb_formula WHERE FID = 1113681950612471808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113681950612471808,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#8#hbflzrknbks',' ','A106000企业所得税弥补亏损明细表#8#3.分立转出的亏损额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a106000','hbflzrknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'']}>0)      {S[select sum(fflzcje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-3 and forgid=''#orgid'']}   #else  #if({S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}<0 )     0-{S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}  #else   {S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''8'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932213;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932213,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#2#jyxjrzc',' ','A105030投资收益纳税调整明细#2#1.交易性金融资产','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105030','jyxjrzc',' ',' ','{S[select ftaxincome from t_tccit_invest_profit_sum where fitemtype=''6010401'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320886;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320886,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#21#nstzje','{Q[21.二、证券行业（22+23+24+25）#1.账载金额]}-{Q[21.二、证券行业（22+23+24+25）#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#21.二、证券行业22+23+24+25#3.纳税调整金额','1','21','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#21#zzje]}-{Q[tccit_qysds_a105120#21#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932474;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932474,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#1#zzje',' ','A105090资产损失税前扣除及纳税调整明细#1#1.资产损失的账载金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''7010301'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321096,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#czbzwhspsr',' ','A101010一般企业收入明细表#金额#14.出租包装物和商品收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','czbzwhspsr','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=14 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114287849701640192;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114287849701640192,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#cyrs',' ','A000000企业所得税年度纳税申报基础信息表#1#104从业人数','1','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','cyrs',' ',' ','{S[select e.fpeople from t_tccit_small_summary m left join t_tccit_small_sum_entry e on m.fid=e.fid where  fitemtype=''yearavg'' and m.forgid=''#orgid'' and m.fskssqq=''#startDate'' and m.fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321190;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321190,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#yhlxzcqt',' ','A102020金融企业支出明细#金额#10.银行利息支出其他','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','yhlxzcqt','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=10 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932462;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932462,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#23#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#23#8.税收金额累计折旧、摊销额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020305'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113546424101936128;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113546424101936128,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#nd',' ','A106000企业所得税弥补亏损明细表#9#1.年度','1','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','nd',' ',' ','{C[#year]}-2'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321203;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321203,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#bdhlzc',' ','A102020金融企业支出明细#金额#21.保单红利支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','bdhlzc','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=21 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321066;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321066,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#waqzfszyzqrdsr','{Q[本年税收金额#14.合计]}','A105000纳税调整项目明细#税收金额#3.未按权责发生制原则确认的收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','waqzfszyzqrdsr','1',' ','{Q[tccit_qysds_a105020#4#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932867;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932867,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#15#nstzje','{Q[15#3.一般性税务处理纳税调整金额]}+{Q[15#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#15#7.纳税调整金额','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#15#ybnstzje]}+{Q[tccit_qysds_a105100#15#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320877;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320877,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#12#nstzje','{Q[12.4.意外伤害保险业务投资型无保证收益#1.账载金额]}-{Q[12.4.意外伤害保险业务投资型无保证收益#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#12.4.意外伤害保险业务投资型无保证收益#3.纳税调整金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#12#zzje]}-{Q[tccit_qysds_a105120#12#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112213667992043520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112213667992043520,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#3#territory',' ','A107041高新技术企业优惠情况及明细表#3#领域文本','4','3','1066581598406760448','qysdsnb','tccit_qysds_a107041','territory',' ',' ','{S[select fleveldesc from t_tccit_a301010201_level where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fleveltype=''3'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321373;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321373,{ts'2021-06-24  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#1#blkcjyjf',' ','A105050职工薪酬支出明细#账载金额#5.按税收规定比例扣除的职工教育经费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105050','blkcjyjf','1',' ','{S[select famount from t_tccit_b105014_3_sum where fitemtype=''zzje'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932208,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#4#qtwaqzfszqrsr',' ','A105020未按权责发生确实收入调整明细#4#13.其他未按权责发生制确认收入','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105020','qtwaqzfszqrsr',' ',' ','{S[select ftaxincomecurrent from t_tccit_right_income_sum where FITEMTYPE=''004'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932541;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932541,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#19#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#19#4.资产计税基础','1','19','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype=''70103080103'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112230532885774336;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112230532885774336,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#18#qend',' ','A107041高新技术企业优惠情况及明细表#18#3.前二年度','1','18','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend',' ',' ','{S[select fpretwoyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''4'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932337;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932337,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#14#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#14#3.账载金额累计折旧、摊销额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020610'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932900;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932900,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#chjstzqrjeshcstzcb','{Q[1#4.投资成本]}*{Q[1#12.撤回或减少投资确认金额_减少投资比例]}','A107011居民企业之间权益性投资收益优惠#1#13.撤回或减少投资确认金额_收回初始投资成本','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeshcstzcb','1',' ','{Q[tccit_qysds_a107011#1#tzcb]}*{Q[tccit_qysds_a107011#1#chjstzqrjejstzbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095604790374745088;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095604790374745088,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#13#hj',' ','A107011居民企业之间权益性投资收益优惠#10#17.合计','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj',' ',' ','#if(''{Q[tccit_qysds_a107011#1#tzxz]}''==''永续债 (权益性)'')    {Q[tccit_qysds_a107011#1#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#2#tzxz]}''==''永续债 (权益性)'')    {Q[tccit_qysds_a107011#2#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#3#tzxz]}''==''永续债 (权益性)'')    {Q[tccit_qysds_a107011#3#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#4#tzxz]}''==''永续债 (权益性)'')    {Q[tccit_qysds_a107011#4#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#5#tzxz]}''==''永续债 (权益性)'')    {Q[tccit_qysds_a107011#5#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#6#tzxz]}''==''永续债 (权益性)'')    {Q[tccit_qysds_a107011#6#hj]} #else    0 #end + #if(''{Q[tccit_qysds_a107011#7#tzxz]}''==''永续债 (权益性)'')    {Q[tccit_qysds_a107011#7#hj]} #else    0 #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1114447309690635264;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114447309690635264,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#7#zjhm',' ','A000000主要股东及分红情况#7#3.证件号码','4','7','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjhm',' ',' ','{S[select h.FIDNUMBER from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=7 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112315630247263232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112315630247263232,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#8#snmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#8#5.上年末准予提取贷款损失准备金的贷款资产余额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkzcye',' ',' ','{S[select fsnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''8'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321425;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321425,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#43#nstzje','{Q[1.一、保险公司#3.纳税调整金额]}+{Q[21.二、证券行业（22+23+24+25）#3.纳税调整金额]}+{Q[26.三、期货行业#3.纳税调整金额]}+{Q[31.四、金融企业#3.纳税调整金额]}+{Q[35.五、中小企业融资（信用）担保机构#3.纳税调整金额]}+{Q[39.六、小额贷款公司(40+41)#3.纳税调整金额]}+{Q[42.七、其他#3.纳税调整金额]}','A105120特殊行业准备金及纳税调整明细表#43.合计#3.纳税调整金额','1','43','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#1#nstzje]}+{Q[tccit_qysds_a105120#21#nstzje]}+{Q[tccit_qysds_a105120#26#nstzje]}+{Q[tccit_qysds_a105120#31#nstzje]}+{Q[tccit_qysds_a105120#35#nstzje]}+{Q[tccit_qysds_a105120#39#nstzje]}+{Q[tccit_qysds_a105120#42#nstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113708806942176256;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113708806942176256,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#qsndyjbe',' ','A106000企业所得税弥补亏损明细表#9#5.可弥补年限10年','1','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndyjbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}>0)      {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=10]}   #else  #if({S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}>0 )     0-{S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}  #else   {S[SELECT fqsndyjbe FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321206;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321206,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#thfbfy',' ','A102020金融企业支出明细#金额#23.摊回分保费用','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','thfbfy','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=23 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932270;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932270,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#5#cqzqtz',' ','A105030投资收益纳税调整明细#5#8.长期债券投资','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqzqtz',' ',' ','{S[select fssjsczsr from t_tccit_asset_dispose_sum where fitemtype=''6010808'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932317;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932317,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#8#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#8#1.账载金额资产原值','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020601'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069454484691807232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069454484691807232,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#5#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#5#7.资产损失准备金核销金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype in (''701030301'',''701030302'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932783;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932783,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#4#hj','{Q[结转后年度扣除额#4.职工教育经费支出]}+{Q[结转后年度扣除额#5.按税收规定比例扣除的职工教育经费]}','A105050职工薪酬支出明细#累计结转扣除额#13.合计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105050','hj','1',' ','{Q[tccit_qysds_a105050#7#zgjyjfzc]}+{Q[tccit_qysds_a105050#7#blkcjyjf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932753;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932753,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#10#cqzqtz','{Q[处置收益税收计算处置所得#8.长期债券投资]}-{Q[处置收益会计确认所得或损失#8.长期债券投资]}','A105030投资收益纳税调整明细#处置收益纳税调整金额#8.长期债券投资','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105030','cqzqtz','1',' ','{Q[tccit_qysds_a105030#9#cqzqtz]}-{Q[tccit_qysds_a105030#8#cqzqtz]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932628;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932628,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#yzbf','{Q[金额#28.保险业务收入]}-{Q[金额#30.分出保费]}-{Q[金额#31.提取未到期责任准备金]}','A101020金融企业收入明细#金额#27.已赚保费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','yzbf','1',' ','{Q[tccit_qysds_a101020#1#bxywsr]}-{Q[tccit_qysds_a101020#1#fcbf]}-{Q[tccit_qysds_a101020#1#tqwdqzrzbj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932901;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932901,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#2#chjstzqrjeshcstzcb','{Q[2#4.投资成本]}*{Q[2#12.撤回或减少投资确认金额_减少投资比例]}','A107011居民企业之间权益性投资收益优惠#2#13.撤回或减少投资确认金额_收回初始投资成本','1','2','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeshcstzcb','1',' ','{Q[tccit_qysds_a107011#2#tzcb]}*{Q[tccit_qysds_a107011#2#chjstzqrjejstzbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320883;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320883,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#18#nstzje','{Q[18.2.已发生未报案未决赔款准备金#1.账载金额]}-{Q[18.2.已发生未报案未决赔款准备金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#18.2.已发生未报案未决赔款准备金#3.纳税调整金额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#18#zzje]}-{Q[tccit_qysds_a105120#18#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075553638283;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075553638283,{ts'2021-03-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#qsndynbe','[{"val":"","text":""},{"val":"100","text":"一般企业"},{"val":"200","text":"符合条件的高新技术企业"},{"val":"300","text":"符合条件的科技型中小企业"},{"val":"400","text":"线宽小于 130 纳米(含)的集成电路生产企业"},{"val":"500","text":"受疫情影响困难行业企业"},{"val":"600","text":"电影行业企业"}]','A106000企业所得税弥补亏损明细表#7.前四年度#6.弥补亏损企业类型','3','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1133325612845606912;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133325612845606912,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109000#1#zjgbnybtse',' ','A109000跨地区经营汇总纳税企业年度分摊企业所得税明细表#1#17.总机构本年应补退的所得税额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a109000','zjgbnybtse',' ',' ','{Q[tccit_qysds_a109000#1#zjgftybtse]} + {Q[tccit_qysds_a109000#1#czjzfpybtse]} + {Q[tccit_qysds_a109000#1#zjgztscjybmybtse]} + {Q[tccit_qysds_a109000#1#zjgjwsddmhynse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851114;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851114,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#7#kjzyhndkcdjze',' ','A105070捐赠支出及纳税调整明细#本年#7.可结转以后年度扣除的捐赠额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105070','kjzyhndkcdjze','1',' ','{S[select fmoney from  t_tccit_dg_b105021_sum where FITEMNO=''17c'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113546578720758784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113546578720758784,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#11#nd',' ','A106000企业所得税弥补亏损明细表#11#1.年度','1','11','1066581598406760448','qysdsnb','tccit_qysds_a106000','nd',' ',' ','{C[#year]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321202;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321202,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102020#1#thbxzrzbj',' ','A102020金融企业支出明细#金额#20.摊回保险责任准备金','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102020','thbxzrzbj','1',' ','{S[select famount from t_tccit_dg_a102020_sum where fitemno=20 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321186;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321186,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#gyjzbdjsy','if({Q[账载金额#7.公允价值变动净损益]}<=-{Q[账载金额#7.公允价值变动净损益]},)','A105000纳税调整项目明细#调增金额#7.公允价值变动净损益','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','gyjzbdjsy','1',' ','if({Q[tccit_qysds_a105000#1#gyjzbdjsy]}<=0,0-{Q[tccit_qysds_a105000#1#gyjzbdjsy]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932502;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932502,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#7#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#7#4.资产计税基础','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype in (''701030401'',''701030402'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113758019885565952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113758019885565952,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#11#tsssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#11#5.特殊性税务处理递延纳税税收金额','1','11','1066581598406760448','qysdsnb','tccit_qysds_a105100','tsssje',' ',' ','{S[SELECT sum(FTSSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010305'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113700381491409920;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113700381491409920,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#7#nxbn',' ','A106000企业所得税弥补亏损明细表#7#11.可弥补年限8年','1','7','1066581598406760448','qysdsnb','tccit_qysds_a106000','nxbn',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-4 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-4 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}  #else #if({S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']}>0 )    0-{S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']} #else  {S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''7'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932499;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932499,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#7#zzje',' ','A105090资产损失税前扣除及纳税调整明细#7#1.资产损失的账载金额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype in (''701030401'',''701030402'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321502;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321502,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#2#bnkdmjwsdse','if({Q[2#10.境外所得可抵免税额]}>={Q[2#11.境外所得抵免限额]},,)','A108000境外所得税收抵免明细表#2#12.本年可抵免境外所得税额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a108000','bnkdmjwsdse','1',' ','if({Q[tccit_qysds_a108000#2#jwsdkdmse1]}>={Q[tccit_qysds_a108000#2#jwsddmxe]},{Q[tccit_qysds_a108000#2#jwsddmxe]},{Q[tccit_qysds_a108000#2#jwsdkdmse1]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320890;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320890,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#25#nstzje','{Q[25.（四）其他#1.账载金额]}-{Q[25.（四）其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#25.四其他#3.纳税调整金额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#25#zzje]}-{Q[tccit_qysds_a105120#25#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932853;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932853,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#1#nstzje','{Q[1#3.一般性税务处理纳税调整金额]}+{Q[1#6.特殊性税务处理递延纳税纳税调整金额]}','A105100企业重组及递延纳税事项纳税调整明细表#1#7.纳税调整金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105100','nstzje','1',' ','{Q[tccit_qysds_a105100#1#ybnstzje]}+{Q[tccit_qysds_a105100#1#tsnstzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320824;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320824,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#4#nstzje','{Q[4.逾期一年以上的小额应收款项损失#1.资产损失的账载金额]}-{Q[4.逾期一年以上的小额应收款项损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#4.逾期一年以上的小额应收款项损失#6.纳税调整金额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#4#zzje]}+{Q[tccit_qysds_a105090#4#zchxje]}-{Q[tccit_qysds_a105090#4#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135418882581096448;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135418882581096448,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#5#nd',' ','A107050税额抵免优惠明细表#5#1.年度','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107050','nd',' ',' ','{C[#declareyear-1]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337823;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337823,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#12#xgsf','{Q[10.四、符合条件的技术转让项目#6.相关税费]}+{Q[11.四、符合条件的技术转让项目#6.相关税费]}','A107020所得减免优惠明细表#12.四、符合条件的技术转让项目小计#6.相关税费','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf','1',' ','{Q[tccit_qysds_a107020#10#xgsf]}+{Q[tccit_qysds_a107020#11#xgsf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320731;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320731,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#18#ssjeljzje','{Q[19.（一）专利权#8.税收金额累计折旧、摊销额]}+{Q[20.（二）商标权#8.税收金额累计折旧、摊销额]}+{Q[21.（三）著作权#8.税收金额累计折旧、摊销额]}+{Q[22.（四）土地使用权#8.税收金额累计折旧、摊销额]}+{Q[23.（五）非专利技术#8.税收金额累计折旧、摊销额]}+{Q[24.（六）特许权使用费#8.税收金额累计折旧、摊销额]}+{Q[25.（七）软件#8.税收金额累计折旧、摊销额]}+{Q[27.（八）其他#8.税收金额累计折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#18.三、无形资产19+20+21+22+23+24+25+27#8.税收金额累计折旧、摊销额','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje','1',' ','{Q[tccit_qysds_a105080#19#ssjeljzje]}+{Q[tccit_qysds_a105080#20#ssjeljzje]}+{Q[tccit_qysds_a105080#21#ssjeljzje]}+{Q[tccit_qysds_a105080#22#ssjeljzje]}+{Q[tccit_qysds_a105080#23#ssjeljzje]}+{Q[tccit_qysds_a105080#24#ssjeljzje]}+{Q[tccit_qysds_a105080#25#ssjeljzje]}+{Q[tccit_qysds_a105080#27#ssjeljzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932127;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932127,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#stxsyysrqt',' ','A05010视同销售纳税调整明细#2#10.视同销售收入其他','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','stxsyysrqt',' ',' ','{Q[tccit_qysds_a105010#1#stxsyysrqt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113698478393078784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113698478393078784,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#1#nxbn',' ','A106000企业所得税弥补亏损明细表#1#11.可弥补年限8年','1','1','1066581598406760448','qysdsnb','tccit_qysds_a106000','nxbn',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-10 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-10 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=8]}  #else #if({S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']}>0 )    0-{S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']} #else  {S[SELECT fnxbn FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''1'']} #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1181081089070893056;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181081089070893056,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#djjnkshjwyne','{Q[1#7.抵减境内亏损后的境外应纳税所得额]}','A108000境外所得税收抵免明细表#10#7.抵减境内亏损后的境外应纳税所得额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','djjnkshjwyne',' ',' ','{Q[tccit_qysds_a108000#1#djjnkshjwyne]}+{Q[tccit_qysds_a108000#2#djjnkshjwyne]}+{Q[tccit_qysds_a108000#3#djjnkshjwyne]}+{Q[tccit_qysds_a108000#4#djjnkshjwyne]}+{Q[tccit_qysds_a108000#5#djjnkshjwyne]}+{Q[tccit_qysds_a108000#6#djjnkshjwyne]}+{Q[tccit_qysds_a108000#7#djjnkshjwyne]}+{Q[tccit_qysds_a108000#8#djjnkshjwyne]}+{Q[tccit_qysds_a108000#9#djjnkshjwyne]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932522;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932522,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#13#zzje',' ','A105090资产损失税前扣除及纳税调整明细#13#1.资产损失的账载金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105090','zzje',' ',' ','{S[select sum(fzzje) from t_tccit_assets_loss_sum where fitemtype=''701030601'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932305;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932305,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#2#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#2#5.税收金额-税收折旧、摊销额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020101'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932941;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932941,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A103000#tabname',' ','企业所得税年度纳税申报表填报表#A103000事业单位、民间非营利组织收入、支出明细表#表单名称','1','A103000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A103000'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851219;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851219,{ts'2022-03-30  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#50#yfhdfyje','{P[研发费用加计扣除比例]}','A107012研发费用加计扣除优惠明细#50#研发活动费用金额','1','50','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje','1',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''jjkcbl'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932361;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932361,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#10#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#10#8.税收金额累计折旧、摊销额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje) from t_tccit_zczjtx_summary where FITEMTYPE=''701020604'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113722423523462144;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113722423523462144,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#2#qend',' ','A105040专项用途财政性资金纳税调整明细#2#4.前二年度','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105040','qend',' ',' ','select fqynd from t_tccit_qysds_a105040 where fsbbid = ''#sbbid'' and fewblxh=''2'''); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932605;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932605,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A108000#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A108000境外所得税收抵免明细表#表单名称','3','A108000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1113019935770219520;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113019935770219520,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#2#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#2#2.一般性税务处理税收金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''801030101'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320891;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320891,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#26#nstzje','{Q[26.三、期货行业#1.账载金额]}-{Q[26.三、期货行业#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#26.三、期货行业#3.纳税调整金额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#26#zzje]}-{Q[tccit_qysds_a105120#26#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320703;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320703,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a104000#6#hj','{Q[财务费用境外支付#6.佣金和手续费]}+{Q[财务费用境外支付#21.利息收支]}+{Q[财务费用境外支付#22.汇兑差额]}+{Q[财务费用境外支付#25.其他]}','A104000期间费用明细表#财务费用境外支付#26.合计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a104000','hj','1',' ','{Q[tccit_qysds_a104000#6#yjsxf]}+{Q[tccit_qysds_a104000#6#lxsz]}+{Q[tccit_qysds_a104000#6#hdce]}+{Q[tccit_qysds_a104000#6#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320762;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320762,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#17#nstzje','{Q[17.（二）畜类#2.账载金额本年折旧摊销额]}-{Q[17.（二）畜类#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#17.二畜类#9.纳税调整金额','1','17','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#17#zzjebnzj]}-{Q[tccit_qysds_a105080#17#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113681517517029376;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113681517517029376,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#hbflzrknbks',' ','A106000企业所得税弥补亏损明细表#6#3.分立转出的亏损额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','hbflzrknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'']}>0)      {S[select sum(fflzcje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-5 and forgid=''#orgid'']}   #else  #if({S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}<0 )     0-{S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}  #else   {S[SELECT fhbflzrknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}  #end       #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932311;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932311,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#2#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#2#8.税收金额累计折旧、摊销额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020101'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113546033285078016;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113546033285078016,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#nd',' ','A106000企业所得税弥补亏损明细表#4#1.年度','1','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','nd',' ',' ','{C[#year]}-7'); 
DELETE FROM t_tctb_formula WHERE FID = 1114437773697564672;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114437773697564672,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#4#qyndynbe',' ','A106000企业所得税弥补亏损明细表#4#8.当年待弥补的亏损额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a106000','qyndynbe',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fbnkmbksje) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-7 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}>0) 0-{S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}  #else {S[SELECT fkjz FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''4'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1113756101603854336;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113756101603854336,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#13#tszzje',' ','A105100企业重组及递延纳税事项纳税调整明细表#13#4.特殊性税务处理递延纳税账载金额','1','13','1066581598406760448','qysdsnb','tccit_qysds_a105100','tszzje',' ',' ','{S[SELECT sum(FTSSWCLZZJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010307'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321397;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321397,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#bcylbx',' ','A105050职工薪酬支出明细#税收金额#10.补充养老保险','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','bcylbx','1',' ','#if({Q[tccit_qysds_a105050#1#bcylbx]}>{Q[tccit_qysds_a105050#2#bcylbx]}) #if({Q[tccit_qysds_a105050#2#bcylbx]}>({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#bcylbx]})) ({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#bcylbx]}) #else  {Q[tccit_qysds_a105050#2#bcylbx]}  #end #else   #if({Q[tccit_qysds_a105050#1#bcylbx]}>({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#bcylbx]}))  ({Q[tccit_qysds_a105050#5#gzxjzc]}*{Q[tccit_qysds_a105050#3#bcylbx]})  #else {Q[tccit_qysds_a105050#1#bcylbx]} #end #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1112322927119875072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112322927119875072,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#9#jszbje',' ','A105120贷款损失准备金及纳税调整明细表#9#8.按本年末准予提取贷款资产余额与计提比例计算的准备金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','jszbje',' ',' ','{Q[tccit_qysds_a105120_dk#9#bnmdkzcye]} * {Q[tccit_qysds_a105120_dk#9#jtbl]}/100'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932310;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932310,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#7#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#7#5.税收金额-税收折旧、摊销额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020106'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932559;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932559,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#24#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#24#2.资产处置收入','1','24','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''701030901'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321443;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321443,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#3#btzqsqrjeyqrgxsd','if({Q[3#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]}>{Q[3#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]},{Q[3#9.被投资企业清算确认金额_被清算企业累计未分配利润和累计盈余公积应享有部分]},{Q[3#8.被投资企业清算确认金额_分得的被投资企业清算剩余资产]})','A107011居民企业之间权益性投资收益优惠#3#10.被投资企业清算确认金额_应确认的股息所得','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzqsqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#3#btzqsqrjeqssyzc]}>{Q[tccit_qysds_a107011#3#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#3#btzqsqrjeljwfplryygj]},{Q[tccit_qysds_a107011#3#btzqsqrjeqssyzc]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932607;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932607,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A108020#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A108020境外分支机构弥补亏损明细表#表单名称','3','A108020','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932747;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932747,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#10#kgcsjrzc','{Q[处置收益税收计算处置所得#2.可供出售金融资]}-{Q[处置收益会计确认所得或损失#2.可供出售金融资]}','A105030投资收益纳税调整明细#处置收益纳税调整金额#2.可供出售金融资','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105030','kgcsjrzc','1',' ','{Q[tccit_qysds_a105030#9#kgcsjrzc]}-{Q[tccit_qysds_a105030#8#kgcsjrzc]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112315523175070720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112315523175070720,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#7#snmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#7#5.上年末准予提取贷款损失准备金的贷款资产余额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkzcye',' ',' ','{S[select fsnmdkzcye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''7'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1095563882874847232;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1095563882874847232,{ts'2021-02-20  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#5#tzcb',' ','A107011居民企业之间权益性投资收益优惠#5#4.投资成本','1','5','1066581598406760448','qysdsnb','tccit_qysds_a107011','tzcb',' ',' ','{S[select fincost from t_tccit_dg_b105036_sum where fitemno=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932572;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932572,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#27#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#27#3.赔偿收入','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''7010312'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320983;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320983,{ts'2021-04-01  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#10#hj','{Q[4.本年高新技术产品（服务）收入#4.合计]}/{Q[7.本年企业总收入#4.合计]}','A107041高新技术企业优惠情况及明细表#10.本年高新技术产品服务收入占企业总收入的比例#4.合计','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj','1',' ','{Q[tccit_qysds_a107041#4#hj]}/{Q[tccit_qysds_a107041#7#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114445407985156096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114445407985156096,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#9#hj',' ','A106000企业所得税弥补亏损明细表#9#9.使用境内所得弥补','1','9','1066581598406760448','qysdsnb','tccit_qysds_a106000','hj',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}>0)       {S[select sum(fsyjnsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-2 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]}    #else  #if({S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}>0) {S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}  #else 0-{S[SELECT fhj FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''9'']}  #end      #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932511;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932511,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#10#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#10#2.资产处置收入','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''701030501'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337851;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337851,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#28#xmsr','{Q[3.一、农、林、牧、渔业项目小计#4.项目收入]}+{Q[6.二、国家重点扶持的公共基础设施项目小计#4.项目收入]}+{Q[9.三、符合条件的环境保护、节能节水项目小计#4.项目收入]}+{Q[12.四、符合条件的技术转让项目小计#4.项目收入]}+{Q[15.五、清洁发展机制项目小计#4.项目收入]}+{Q[18.六、符合条件的节能服务公司实施的合同能源管理项目小计#4.项目收入]}+{Q[21.七、线宽小于132纳米的集成电路生产项目小计#4.项目收入]}+{Q[24.八、线宽小于65纳米或投资额超过152亿元的集成电路生产项目小计#4.项目收入]}+{Q[27.九、其他小计#4.项目收入]}','A107020所得减免优惠明细表#28.合计#4.项目收入','1','28','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmsr','1',' ','{Q[tccit_qysds_a107020#3#xmsr]}+{Q[tccit_qysds_a107020#6#xmsr]}+{Q[tccit_qysds_a107020#9#xmsr]}+{Q[tccit_qysds_a107020#12#xmsr]}+{Q[tccit_qysds_a107020#15#xmsr]}+{Q[tccit_qysds_a107020#18#xmsr]}+{Q[tccit_qysds_a107020#21#xmsr]}+{Q[tccit_qysds_a107020#24#xmsr]}+{Q[tccit_qysds_a107020#27#xmsr]}+{Q[tccit_qysds_a107020#31#xmsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075562026572;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075562026572,{ts'2021-07-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a100000#1#zcjzss',' ','A100000年度纳税申报表#金额#7.资产减值损失','1','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','zcjzss','1',' ','if({C[#isbuydgservice]}=true,{S[select famount from t_tccit_dg_a100000_1_sum where fitemtype =''107'' and forgid = ''#orgid'' and fskssqq =''#startDate'' and fskssqz =''#endDate'']},{S[select famount from t_tccit_dg_a100000_1_sum where fitemno=7 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932979;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932979,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#3#xj','{Q[前三年度#7.前三年度一抵免额]}+{Q[前三年度#8.前二年度一抵免额]}+{Q[前三年度#9.前一年度一抵免额]}','A107050税额抵免优惠明细表#前三年度#10.小计','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','xj','1',' ','{Q[tccit_qysds_a107050#3#qsnddme]}+{Q[tccit_qysds_a107050#3#qenddme]}+{Q[tccit_qysds_a107050#3#qynddme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320982;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320982,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#7#hj','{Q[8.收入总额#4.合计]}-{Q[9.不征税收入#4.合计]}','A107041高新技术企业优惠情况及明细表#7.本年企业总收入#4.合计','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107041','hj','1',' ','{Q[tccit_qysds_a107041#8#hj]}-{Q[tccit_qysds_a107041#9#hj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932581;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932581,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A104000#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A104000期间费用明细表#表单名称','3','A104000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320832;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320832,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#12#nstzje','{Q[12.六、在建工程损失#1.资产损失的账载金额]}-{Q[12.六、在建工程损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#12.六、在建工程损失#6.纳税调整金额','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#12#zzje]}+{Q[tccit_qysds_a105090#12#zchxje]}-{Q[tccit_qysds_a105090#12#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932692;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932692,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#cyybqycwbbgs','[{"val":"1","text":"是"},{"val":"0","text":"否"}]','A000000企业所得税年度纳税申报基础信息表#基础信息#108采用一般企业财务报表格式','3','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','cyybqycwbbgs','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337818;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337818,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#9#xgsf','{Q[7.三、符合条件的环境保护、节能节水项目#9.免税项目所得额]}+{Q[8.三、符合条件的环境保护、节能节水项目#9.免税项目所得额]}','A107020所得减免优惠明细表#9.三、符合条件的环境保护、节能节水项目小计#6.相关税费','1','9','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf','1',' ','{Q[tccit_qysds_a107020#7#msxmsde]}+{Q[tccit_qysds_a107020#8#msxmsde]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112231831383572480;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112231831383572480,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#27#qend',' ','A107041高新技术企业优惠情况及明细表#27#3.前二年度','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend',' ',' ','{S[select fpretwoyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''13'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320723;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320723,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#15#ssjezcjs','{Q[16.（一）林木类#4.税收金额资产计税基础]}+{Q[17.（二）畜类#4.税收金额资产计税基础]}','A105080资产折旧摊销及纳税调整明细#15.二、生产性生物资产#4.税收金额资产计税基础','1','15','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs','1',' ','{Q[tccit_qysds_a105080#16#ssjezcjs]}+{Q[tccit_qysds_a105080#17#ssjezcjs]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321292;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321292,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#tshyzbj','if({Q[43.合计#3.纳税调整金额]}<-{Q[43.合计#3.纳税调整金额]})','A105000纳税调整项目明细#调减金额#39.特殊行业准备金','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','tshyzbj','1',' ','if({Q[tccit_qysds_a105120#43#nstzje]}<0,0-{Q[tccit_qysds_a105120#43#nstzje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1181081729809526784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1181081729809526784,{ts'2021-06-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#10#jwsdynse1','{Q[1#9.境外所得应纳税额]}','A108000境外所得税收抵免明细表#10#9.境外所得应纳税额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsdynse1',' ',' ','{Q[tccit_qysds_a108000#1#jwsdynse1]}+{Q[tccit_qysds_a108000#2#jwsdynse1]}+{Q[tccit_qysds_a108000#3#jwsdynse1]}+{Q[tccit_qysds_a108000#4#jwsdynse1]}+{Q[tccit_qysds_a108000#5#jwsdynse1]}+{Q[tccit_qysds_a108000#6#jwsdynse1]}+{Q[tccit_qysds_a108000#7#jwsdynse1]}+{Q[tccit_qysds_a108000#8#jwsdynse1]}+{Q[tccit_qysds_a108000#9#jwsdynse1]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112231209368289280;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112231209368289280,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#22#qend',' ','A107041高新技术企业优惠情况及明细表#22#3.前二年度','1','22','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend',' ',' ','{S[select fpretwoyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''8'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320609;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320609,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#1#jwsddmsehj','{Q[1#12.本年可抵免境外所得税额]}+{Q[1#14.本年可抵免以前年度未抵免境外所得税额]}+{Q[1#18.按简易办法计算_小计]}','A108000境外所得税收抵免明细表#1#19.境外所得抵免所得税额合计','1','1','1066581598406760448','qysdsnb','tccit_qysds_a108000','jwsddmsehj','1',' ','{Q[tccit_qysds_a108000#1#bnkdmjwsdse]}+{Q[tccit_qysds_a108000#1#kdmyqnwdmjwsde]}+{Q[tccit_qysds_a108000#1#jyjsxj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932592;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932592,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105100#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105100企业重组及递延纳税事项纳税调整明细表#表单名称','3','A105100','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1071725118029599744;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071725118029599744,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#13#xmcb',' ','A107020所得减免优惠明细表#13#5.项目成本','1','13','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb',' ',' ','{S[select   fcost  from t_tccit_getredu_sum where FREDUCENAME=1064511471960165376 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932551;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932551,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#22#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#22#2.资产处置收入','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype=''701030802'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069471127161551872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069471127161551872,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#27#zchxje',' ','A105090资产损失税前扣除及纳税调整明细#27#7.资产损失准备金核销金额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105090','zchxje',' ',' ','{S[select sum(freserveverify) from t_tccit_assets_loss_sum where fitemtype=''7010312'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113018953631994880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113018953631994880,{ts'2021-03-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#14#ybssje',' ','A105100企业重组及递延纳税事项纳税调整明细表#14#2.一般性税务处理税收金额','1','14','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybssje',' ',' ','{S[SELECT sum(FYBSWCLSSJE) FROM T_TCCIT_QYCZJDYNS_SUM WHERE FTSCZLXNUMBER=''8010308'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607315462508;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607315462508,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#8#assgdjsdkcxe','{Q[限额扣除的公益性捐赠#3.按税收规定计算的扣除限额]}','A105070捐赠支出及纳税调整明细#合计#3.按税收规定计算的扣除限额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105070','assgdjsdkcxe','1',' ','{Q[tccit_qysds_a105070#3#assgdjsdkcxe]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112315839660473344;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112315839660473344,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#10#snmdkzcye',' ','A105120贷款损失准备金及纳税调整明细表#10#5.上年末准予提取贷款损失准备金的贷款资产余额','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','snmdkzcye',' ',' ','{Q[tccit_qysds_a105120_dk#1#snmdkzcye]} + {Q[tccit_qysds_a105120_dk#8#snmdkzcye]}+ {Q[tccit_qysds_a105120_dk#9#snmdkzcye]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323851113;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323851113,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105070#6#kjzyhndkcdjze',' ','A105070捐赠支出及纳税调整明细#前一年度#7.可结转以后年度扣除的捐赠额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105070','kjzyhndkcdjze','1',' ','{S[select fmoney from  t_tccit_dg_b105021_sum where FITEMNO=''17b'' AND forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114450946857189376;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114450946857189376,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#sjnbe',' ','A106000企业所得税弥补亏损明细表#2#10.使用境外所得弥补','1','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','sjnbe',' ',' ','{S[select sum(fsyjwsdmb) from t_tccit_dg_b105060_sum where FHAPPENYEAR=#declareyear-9 and forgid=''#orgid'' and flosstype in (''jnsd'',''zr'')]} '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320873;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320873,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#8#nstzje','{Q[8.3.健康保险业务短期#1.账载金额]}-{Q[8.3.健康保险业务短期#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#8.3.健康保险业务短期#3.纳税调整金额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#8#zzje]}-{Q[tccit_qysds_a105120#8#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337827;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337827,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#15#xmcb','{Q[13.五、清洁发展机制项目#5.项目成本]}+{Q[14.五、清洁发展机制项目#5.项目成本]}','A107020所得减免优惠明细表#15.五、清洁发展机制项目小计#5.项目成本','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb','1',' ','{Q[tccit_qysds_a107020#13#xmcb]}+{Q[tccit_qysds_a107020#14#xmcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321230;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321230,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#ywsxrzsy','if({Q[账载金额#22.与未实现融资收益相关在当期确认的财务费用]}-{Q[税收金额#22.与未实现融资收益相关在当期确认的财务费用]}>=)','A105000纳税调整项目明细#调增金额#22.与未实现融资收益相关在当期确认的财务费用','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','ywsxrzsy','1',' ','if({Q[tccit_qysds_a105000#1#ywsxrzsy]}-{Q[tccit_qysds_a105000#2#ywsxrzsy]}>=0,{Q[tccit_qysds_a105000#1#ywsxrzsy]}-{Q[tccit_qysds_a105000#2#ywsxrzsy]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932983;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932983,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#3#kjzyhnddmdse','{Q[前三年度#4.本年可抵免税额]}-{Q[前三年度#10.小计]}-{Q[前三年度#11.本年实际抵免的各年度税额]}','A107050税额抵免优惠明细表#前三年度#12.可结转以后年度抵免的税额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','kjzyhnddmdse','1',' ','{Q[tccit_qysds_a107050#3#bnkdmse]}-{Q[tccit_qysds_a107050#3#xj]}-{Q[tccit_qysds_a107050#3#bnsjdmdgndse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932825;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932825,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105100#5#ybnstzje','{Q[5#2.一般性税务处理税收金额]}-{Q[5#1.一般性税务处理账载金额]}','A105100企业重组及递延纳税事项纳税调整明细表#5#3.一般性税务处理纳税调整金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105100','ybnstzje','1',' ','{Q[tccit_qysds_a105100#5#ybssje]}-{Q[tccit_qysds_a105100#5#ybzzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133298981062027264;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133298981062027264,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#1#fzjgmc',' ','A109010分支机构信息#1#2.分支机构名称','4','1','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgmc',' ',' ','{S[SELECT a.ffzjgmc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''1'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071731456025597952;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071731456025597952,{ts'2021-02-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#16#msxmsde',' ','A107020所得减免优惠明细表#16#9.免税项目所得额','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107020','msxmsde',' ',' ','#if(''{Q[tccit_qysds_a107020#16#yhfs]}''==''免税'')   if({S[select  fxmsde from t_tccit_getredu_sum where FREDUCENAME=1064511941495720961 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}>0,{S[select   fxmsde from t_tccit_getredu_sum where FREDUCENAME=1064511941495720961 and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]},0)  #else  0  #end'); 
DELETE FROM t_tctb_formula WHERE FID = 1135515963438099456;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135515963438099456,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107010#1#yjkffy','if','A107010免税减计收入及加计扣除优惠明细表#1#26.开发新技术、新产品、新工艺发生的研究开发费用加计扣除','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107010','yjkffy',' ',' ','if({Q[tccit_qysds_a000000#1#ssqxynd]}=0,{Q[tccit_qysds_a107012_mx#51#yfhdfyje]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1135408558259889152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135408558259889152,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#30#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#30#研发活动费用金额','1','30','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=30]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321083;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321083,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#2#tshyzbj','{Q[43.合计#2.税收金额]}','A105000纳税调整项目明细#税收金额#39.特殊行业准备金','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105000','tshyzbj','1',' ','{Q[tccit_qysds_a105120#43#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320985;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320985,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#15#bnd','{Q[16.内部研究开发投入#1.本年度]}+{Q[25.委托外部研发费用#1.本年度]}','A107041高新技术企业优惠情况及明细表#15.归集的高新研发费用金额#1.本年度','1','15','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd','1',' ','{Q[tccit_qysds_a107041#16#bnd]}+{Q[tccit_qysds_a107041#25#bnd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123710556055014400;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123710556055014400,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#29#nstze',' ','A107020所得减免优惠明细表#29#8.纳税调整额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a107020','nstze',' ',' ','{S[select   fnstz from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240 and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932132;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932132,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105010#2#yygxfpcb',' ','A05010视同销售纳税调整明细#2#16.用于股息分配视同销售成本','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105010','yygxfpcb',' ',' ','{Q[tccit_qysds_a105010#1#yygxfpcb]}*-1'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932466;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932466,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#29#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#29#8.税收金额累计折旧、摊销额','1','29','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020401'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114450390574695424;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114450390574695424,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#5#syje',' ','A000000主要股东及分红情况#5#4.当年（决议日）分配的股息、红利等权益性投资收益金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','syje',' ',' ','{S[select h.fcurryeardividend from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=5 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135344879438980096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135344879438980096,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107012_mx#20#yfhdfyje',' ','A107012研发费用加计扣除优惠明细#20#研发活动费用金额','1','20','1066581598406760448','qysdsnb','tccit_qysds_a107012_mx','yfhdfyje',' ',' ','{S[select famount from t_tccit_dev_jjkc_sum where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemno=20]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321173;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321173,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a102010#1#fmzc',' ','A102010一般企业成本支出明细#金额#23.罚没支出','1','1','1066581598406760448','qysdsnb','tccit_qysds_a102010','fmzc','1',' ','{S[select famount from t_tccit_profit_cost_sum where fitemno=23 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112311120665819136;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112311120665819136,{ts'2021-06-23  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120_dk#4#bnmdkye',' ','A105120贷款损失准备金及纳税调整明细表#4#2.本年末贷款资产余额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105120_dk','bnmdkye',' ',' ','{S[select fbnmdkye from t_tccit_dksszbj_sum where forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fitemtype=''4'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075553638293;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075553638293,{ts'2021-03-12  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#2#qsndynbe','[{"val":"","text":""},{"val":"100","text":"一般企业"},{"val":"200","text":"符合条件的高新技术企业"},{"val":"300","text":"符合条件的科技型中小企业"},{"val":"400","text":"线宽小于 130 纳米(含)的集成电路生产企业"},{"val":"500","text":"受疫情影响困难行业企业"},{"val":"600","text":"电影行业企业"}]','A106000企业所得税弥补亏损明细表#2.前九年度#6.弥补亏损企业类型','3','2','1066581598406760448','qysdsnb','tccit_qysds_a106000','qsndynbe','2',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932953;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932953,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105100#tabname',' ','企业所得税年度纳税申报表填报表#A105100企业重组及递延纳税事项纳税调整明细表#表单名称','1','A105100','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A105100'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320825;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320825,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#5#nstzje','{Q[5.三、存货损失#1.资产损失的账载金额]}-{Q[5.三、存货损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#5.三、存货损失#6.纳税调整金额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#5#zzje]}+{Q[tccit_qysds_a105090#5#zchxje]}-{Q[tccit_qysds_a105090#5#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321125;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321125,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#dldfzq',' ','A101020金融企业收入明细#金额#23.代理兑付证券','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','dldfzq','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=23 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133307279098102784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133307279098102784,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#6#fzjggzze',' ','A109010分支机构信息#6#4.职工薪酬','1','6','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjggzze',' ',' ','{S[SELECT a.fzgxc FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''6'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320641;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320641,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108010#4#jwsqsd','{Q[4#9.境外税后所得_小计]}+{Q[4#10.境外所得可抵免的所得税额_直接缴纳的所得税额]}+{Q[4#11.境外所得可抵免的所得税额_间接负担的所得税额]}','A108010境外所得纳税调整后所得明细表#4#14.境外税前所得','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108010','jwsqsd','1',' ','{Q[tccit_qysds_a108010#4#jwshxj]}+{Q[tccit_qysds_a108010#4#jwsdkdmzjjn]}+{Q[tccit_qysds_a108010#4#jwsdkdmjjfd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932325;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932325,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#9#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#9#2.账载金额本年折旧摊销额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020602'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1077612058456932352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1077612058456932352,{ts'2021-01-26  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#37#ssjezcjs',' ','A105080资产折旧摊销及纳税调整明细#37#4.税收金额资产计税基础','1','37','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjezcjs',' ',' ','{S[select sum(FZCJSJC) from t_tccit_zczjtx_summary where FITEMTYPE=''701020603'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320829;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320829,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#9#nstzje','{Q[9.五、无形资产损失#1.资产损失的账载金额]}-{Q[9.五、无形资产损失#5.资产损失的税收金额]}','A105090资产损失税前扣除及纳税调整明细#9.五、无形资产损失#6.纳税调整金额','1','9','1066581598406760448','qysdsnb','tccit_qysds_a105090','nstzje','1',' ','{Q[tccit_qysds_a105090#9#zzje]}+{Q[tccit_qysds_a105090#9#zchxje]}-{Q[tccit_qysds_a105090#9#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337822;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337822,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#12#xmcb','{Q[10.四、符合条件的技术转让项目#5.项目成本]}+{Q[11.四、符合条件的技术转让项目#5.项目成本]}','A107020所得减免优惠明细表#12.四、符合条件的技术转让项目小计#5.项目成本','1','12','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb','1',' ','{Q[tccit_qysds_a107020#10#xmcb]}+{Q[tccit_qysds_a107020#11#xmcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321304;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321304,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#yxhhqyfrhhfyfddynsdstze','if({Q[账载金额#41.有限合伙企业法人合伙方应分得的应纳税所得额]}-{Q[税收金额#41.有限合伙企业法人合伙方应分得的应纳税所得额]}<=())','A105000纳税调整项目明细#调增金额#41.有限合伙企业法人合伙方应分得的应纳税所得额','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','yxhhqyfrhhfyfddynsdstze','1',' ','if({Q[tccit_qysds_a105000#1#yxhhqyfrhhfyfddynsdstze]}-{Q[tccit_qysds_a105000#2#yxhhqyfrhhfyfddynsdstze]}<=0,0-({Q[tccit_qysds_a105000#1#yxhhqyfrhhfyfddynsdstze]}-{Q[tccit_qysds_a105000#2#yxhhqyfrhhfyfddynsdstze]}),0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932942;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932942,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A104000#tabname',' ','企业所得税年度纳税申报表填报表#A104000期间费用明细表#表单名称','1','A104000','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','1',' ','if({S[select count(fnumber) as fnumber from t_tpo_qysds_types where fnumber =''A104000'' and fid in (select fdeclareid from  t_tccit_sure_declare where fid =''#declareid'')]} >0 ,1,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321453;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321453,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#6#chjstzqrjeyqrgxsd','if({Q[6#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]}>{Q[6#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[6#14.撤回或减少投资确认金额_取得资产中超过收回初始投资成本部分]},{Q[6#15.撤回或减少投资确认金额_撤回或减少投资应享有被投资企业累计未分配利润和累计盈余公积]})','A107011居民企业之间权益性投资收益优惠#6#16.撤回或减少投资确认金额_应确认的股息所得','1','6','1066581598406760448','qysdsnb','tccit_qysds_a107011','chjstzqrjeyqrgxsd','1',' ','if({Q[tccit_qysds_a107011#6#chjstzqrjeljwfplryygj]}>{Q[tccit_qysds_a107011#6#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#6#chjstzqrjeqdcgsh]},{Q[tccit_qysds_a107011#6#chjstzqrjeljwfplryygj]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320664;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320664,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108020#7#jzhndmbfsjkse','{Q[7#2.非实际亏损额的弥补以前年度结转尚未弥补的非实际亏损额]}+{Q[7#3.非实际亏损额的弥补本年发生的非实际亏损额]}-{Q[7#4.非实际亏损额的弥补本年弥补的以前年度非实际亏损额]}','A108020境外分支机构弥补亏损明细表#7#5.非实际亏损额的弥补结转以后年度弥补的非实际亏损额','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108020','jzhndmbfsjkse','1',' ','{Q[tccit_qysds_a108020#7#yqndjzwmbfsjkse]}+{Q[tccit_qysds_a108020#7#bnfsfsjkse]}-{Q[tccit_qysds_a108020#7#bnmbyqfsjkse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321506;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321506,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#6#bnkdmjwsdse','if({Q[6#10.境外所得可抵免税额]}>={Q[6#11.境外所得抵免限额]})','A108000境外所得税收抵免明细表#6#12.本年可抵免境外所得税额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108000','bnkdmjwsdse','1',' ','if({Q[tccit_qysds_a108000#6#jwsdkdmse1]}>={Q[tccit_qysds_a108000#6#jwsddmxe]},{Q[tccit_qysds_a108000#6#jwsddmxe]},{Q[tccit_qysds_a108000#6#jwsdkdmse1]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1113724939803872256;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113724939803872256,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#4#qwnd',' ','A105040专项用途财政性资金纳税调整明细#4#1.前五年度','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105040','qwnd',' ',' ','{S[SELECT sum(e.FINCOMEAMOUNT) FROM t_tccit_zero_rating_sum m left join t_tccit_zero_rating_entry e on m.fid=e.fid and m.ftype=''specialfund''  where m.forgid = ''#orgid'' and e.fyear=#declareyear AND m.fincomedateyear = #declareyear-5 ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932688,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#qt','{Q[本年税收金额#12.其他]}-{Q[本年账载金额#12.其他]}','A105020未按权责发生确实收入调整明细#纳税调整金额#12.其他','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','qt','1',' ','{Q[tccit_qysds_a105020#4#qt]}-{Q[tccit_qysds_a105020#2#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1114442374404113408;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114442374404113408,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#1#zjlx',' ','A000000主要股东及分红情况#1#2.证件种类','1','1','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','zjlx',' ',' ','{S[select h.ffidtype from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=1 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321115;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321115,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#jsyqssxf',' ','A101020金融企业收入明细#金额#11.结算与清算手续费','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','jsyqssxf','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=11 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932802;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932802,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105060#1#bqyjsdggfhywxcfkcxe','{Q[金额#4.本年计算广告费和业务宣传费扣除限额的销售营业收入]}*{Q[金额#5.税收规定扣除率]}/100','A105060广告业务宣传费跨年纳税调整明细#金额#6.本企业计算的广告费和业务宣传费扣除限额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105060','bqyjsdggfhywxcfkcxe','1',' ','{Q[tccit_qysds_a105060#1#bnjsggfhywxcfkcedxssr]}*{Q[tccit_qysds_a105060#1#ssgdkce]}/100'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320797;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320797,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#6#ssje','{Q[6.其中：存货盘亏、报废、损毁、变质或被盗损失#4.资产计税基础]}-{Q[6.其中：存货盘亏、报废、损毁、变质或被盗损失#2.资产处置收入]}-{Q[6.其中：存货盘亏、报废、损毁、变质或被盗损失#3.赔偿收入]}','A105090资产损失税前扣除及纳税调整明细#6.其中：存货盘亏、报废、损毁、变质或被盗损失#5.资产损失的税收金额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105090','ssje','1',' ','{Q[tccit_qysds_a105090#6#zcjsjc]}-{Q[tccit_qysds_a105090#6#zcczsr]}-{Q[tccit_qysds_a105090#6#pcsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320739;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320739,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#36#zzjebnzj','{Q[1.一、固定资产#2.账载金额本年折旧摊销额]}+{Q[15.二、生产性生物资产#2.账载金额本年折旧摊销额]}+{Q[18.三、无形资产（19+20+21+22+23+24+25+27）#2.账载金额本年折旧摊销额]}+{Q[28.四、长期待摊费用#2.账载金额本年折旧摊销额]}+{Q[34.五、油气勘探投资#2.账载金额本年折旧摊销额]}+{Q[35.六、油气开发投资#2.账载金额本年折旧摊销额]}','A105080资产折旧摊销及纳税调整明细#36.合计#2.账载金额本年折旧摊销额','1','36','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj','1',' ','{Q[tccit_qysds_a105080#1#zzjebnzj]}+{Q[tccit_qysds_a105080#15#zzjebnzj]}+{Q[tccit_qysds_a105080#18#zzjebnzj]}+{Q[tccit_qysds_a105080#28#zzjebnzj]}+{Q[tccit_qysds_a105080#34#zzjebnzj]}+{Q[tccit_qysds_a105080#35#zzjebnzj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145338348;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145338348,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#8#jmsde','if({Q[8.三、符合条件的环境保护、节能节水项目#9.免税项目所得额]}+{Q[8.三、符合条件的环境保护、节能节水项目#10.减半项目所得额]}*>=)','A107020所得减免优惠明细表#8.三、符合条件的环境保护、节能节水项目#11.减免所得额','1','8','1066581598406760448','qysdsnb','tccit_qysds_a107020','jmsde','1',' ','if({Q[tccit_qysds_a107020#8#msxmsde]}+{Q[tccit_qysds_a107020#8#jbxmsde]}*0.5>=0,{Q[tccit_qysds_a107020#8#msxmsde]}+{Q[tccit_qysds_a107020#8#jbxmsde]}*0.5,0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320888;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320888,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#23#nstzje','{Q[23.（二）证券结算风险基金#1.账载金额]}-{Q[23.（二）证券结算风险基金#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#23.二证券结算风险基金#3.纳税调整金额','1','23','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#23#zzje]}-{Q[tccit_qysds_a105120#23#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112231652924325888;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112231652924325888,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#26#qend',' ','A107041高新技术企业优惠情况及明细表#26#3.前二年度','1','26','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend',' ',' ','{S[select fpretwoyear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''12'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320852;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320852,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#1#ssje','{Q[2.（一）保险保障基金#1.账载金额]}+{Q[13.（二）未到期责任准备金#1.账载金额]}+{Q[14.（三）寿险责任准备金#1.账载金额]}+{Q[15.（四）长期健康险责任准备金#1.账载金额]}+{Q[16.（五）未决赔款准备金（17+18）#1.账载金额]}+{Q[19.（六）大灾风险准备金#1.账载金额]}+{Q[20.（七）其他#1.账载金额]}','A105120特殊行业准备金及纳税调整明细表#1.一、保险公司#2.税收金额','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105120','ssje','1',' ','{Q[tccit_qysds_a105120#2#zzje]}+{Q[tccit_qysds_a105120#13#zzje]}+{Q[tccit_qysds_a105120#14#zzje]}+{Q[tccit_qysds_a105120#15#zzje]}+{Q[tccit_qysds_a105120#16#zzje]}+{Q[tccit_qysds_a105120#19#zzje]}+{Q[tccit_qysds_a105120#20#zzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321139;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321139,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101020#1#jzld',' ','A101020金融企业收入明细#金额#41.捐赠利得','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101020','jzld','1',' ','{S[select famount from t_tccit_dg_a101020_sum where fitemno=41 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071719071630006272;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071719071630006272,{ts'2021-03-30  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#10#yftqjfy',' ','A107020所得减免优惠明细表#10#7.应分摊期间费用','1','10','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy',' ',' ','{S[select   fqjfyfte from t_tccit_getredu_sum where FREDUCENAME in (1064511039091315712,1119482547752284160)  and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321237;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321237,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#3#dzzgzjf','if({Q[账载金额#29.党组织工作经费]}-{Q[税收金额#29.党组织工作经费]}>=)','A105000纳税调整项目明细#调增金额#29.党组织工作经费','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105000','dzzgzjf','1',' ','if({Q[tccit_qysds_a105000#1#dzzgzjf]}-{Q[tccit_qysds_a105000#2#dzzgzjf]}>0,{Q[tccit_qysds_a105000#1#dzzgzjf]}-{Q[tccit_qysds_a105000#2#dzzgzjf]},0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320605;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320605,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#6#jyjsxj','{Q[6#15.按简易办法计算_按低于12.5%的实际税率计算的抵免额]}+{Q[6#16.按简易办法计算_按12.5%计算的抵免额]}+{Q[6#17.按简易办法计算_按25%计算的抵免额]}','A108000境外所得税收抵免明细表#6#18.按简易办法计算_小计','1','6','1066581598406760448','qysdsnb','tccit_qysds_a108000','jyjsxj','1',' ','{Q[tccit_qysds_a108000#6#jyjsdyldyewdme]}+{Q[tccit_qysds_a108000#6#jyjsldyewdme]}+{Q[tccit_qysds_a108000#6#jyjsldewdme]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1123713943039454208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1123713943039454208,{ts'2021-03-31  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#31#yftqjfy',' ','A107020所得减免优惠明细表#31#7.应分摊期间费用','1','31','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy',' ',' ','{Q[tccit_qysds_a107020#29#yftqjfy]}+{Q[tccit_qysds_a107020#30#yftqjfy]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932917;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932917,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#4#hj','{Q[4#7.被投资企业利润分配确认金额_依决定归属于本公司的股息、红利等权益性投资收益金额]}+{Q[4#10.被投资企业清算确认金额_应确认的股息所得]}+{Q[4#16.撤回或减少投资确认金额_应确认的股息所得]}','A107011居民企业之间权益性投资收益优惠#4#17.合计','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107011','hj','1',' ','{Q[tccit_qysds_a107011#4#btzlrfpqrjesyje]}+{Q[tccit_qysds_a107011#4#btzqsqrjeyqrgxsd]}+{Q[tccit_qysds_a107011#4#chjstzqrjeyqrgxsd]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112223392460702720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112223392460702720,{ts'2021-03-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#26#bnd',' ','A107041高新技术企业优惠情况及明细表#26#1.本年度','1','26','1066581598406760448','qysdsnb','tccit_qysds_a107041','bnd',' ',' ','{S[select fcurryear from t_tccit_a301010201_deve where  forgid=''#orgid'' and fskssqq= ''#startDate'' and fskssqz=''#endDate'' and fdeveloptype=''12'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133313291129694208;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133313291129694208,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#6#fpse',' ','A109010分支机构信息#6#7.分配所得税额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fpse',' ',' ','{Q[tccit_qysds_a109010_zjg#1#fzjgftdsdse]} * {Q[tccit_qysds_a109010_fz#6#fpbl]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932662;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932662,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#1#fqqrsr','{Q[合同金额#6.分期收款方式销售货物收入]}+{Q[合同金额#7.持续时间超过12个月的建造合同收入]}+{Q[合同金额#8.其他分期确认收入]}','A105020未按权责发生确实收入调整明细#合同金额#5.分期确认收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105020','fqqrsr','1',' ','{Q[tccit_qysds_a105020#1#fqskfsxshwsr]}+{Q[tccit_qysds_a105020#1#cxsjcg12gy]}+{Q[tccit_qysds_a105020#1#qtfqqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1071702689542607872;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1071702689542607872,{ts'2021-01-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#4#xmmc',' ','A107020所得减免优惠明细表#4#1.项目名称','4','4','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select   fprojectname from t_tccit_getredu_sum where FREDUCENAME in (1064506748737653761,1064508826394528768,1064508826394528769,1064508826394528770,1064508826394528771,1064508826394528772,1064508826394528773,1064508826394528774,1064508826394528775)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320991;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320991,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#16#qend','{Q[17.人员人工费用#3.前二年度]}+{Q[18.直接投入费用#3.前二年度]}+{Q[19.折旧费用与长期待摊费用#3.前二年度]}+{Q[20.无形资产摊销费用#3.前二年度]}+{Q[21.设计费用#3.前二年度]}+{Q[22.装备调试费与实验费用#3.前二年度]}+{Q[24.可计入研发费用的其他费用#3.前二年度]}','A107041高新技术企业优惠情况及明细表#16.内部研究开发投入#3.前二年度','1','16','1066581598406760448','qysdsnb','tccit_qysds_a107041','qend','1',' ','{Q[tccit_qysds_a107041#17#qend]}+{Q[tccit_qysds_a107041#18#qend]}+{Q[tccit_qysds_a107041#19#qend]}+{Q[tccit_qysds_a107041#20#qend]}+{Q[tccit_qysds_a107041#21#qend]}+{Q[tccit_qysds_a107041#22#qend]}+{Q[tccit_qysds_a107041#24#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932371;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932371,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#22#zzjezczz',' ','A105080资产折旧摊销及纳税调整明细#22#1.账载金额资产原值','1','22','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezczz',' ',' ','{S[select sum(FZCZZYZ) from t_tccit_zczjtx_summary where FITEMTYPE=''701020304'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135418224461244416;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135418224461244416,{ts'2021-04-16  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107050#1#nd',' ','A107050税额抵免优惠明细表#1#1.年度','1','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','nd',' ',' ','{C[#declareyear-5]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932663;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932663,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#2#fqqrsr','{Q[本年账载金额#6.分期收款方式销售货物收入]}+{Q[本年账载金额#7.持续时间超过12个月的建造合同收入]}+{Q[本年账载金额#8.其他分期确认收入]}','A105020未按权责发生确实收入调整明细#本年账载金额#5.分期确认收入','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105020','fqqrsr','1',' ','{Q[tccit_qysds_a105020#2#fqskfsxshwsr]}+{Q[tccit_qysds_a105020#2#cxsjcg12gy]}+{Q[tccit_qysds_a105020#2#qtfqqrsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932535;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932535,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#18#zcczsr',' ','A105090资产损失税前扣除及纳税调整明细#18#2.资产处置收入','1','18','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcczsr',' ',' ','{S[select sum(fdisposalincome) from t_tccit_assets_loss_sum where fitemtype in (''70103080102'',''70103080103'',''70103080104'',''70103080105'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320779;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320779,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#36#nstzje','{Q[36.合计#2.账载金额本年折旧摊销额]}-{Q[36.合计#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#36.合计#9.纳税调整金额','1','36','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#36#zzjebnzj]}-{Q[tccit_qysds_a105080#36#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1112411791041804288;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1112411791041804288,{ts'2021-03-25  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105000#4#xedkzbj',' ','A105000纳税调整项目明细#4#39.7金融企业、小额贷款公司准备金','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','xedkzbj',' ',' ','if({Q[tccit_qysds_a105120_dk#10#nstzje]} < 0,0- {Q[tccit_qysds_a105120_dk#10#nstzje]}, 0)'); 
DELETE FROM t_tctb_formula WHERE FID = 1114437801429959680;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114437801429959680,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000_gd#7#gdmc',' ','A000000主要股东及分红情况#7#1.股东名称','4','7','1066581598406760448','qysdsnb','tccit_qysds_a000000_gd','gdmc',' ',' ','{S[select h.fgdname from t_tccit_policy c inner join t_tccit_policy_sharehold h on c.fid=h.fid where c.forgid=''#orgid'' and c.fstartdate= ''#startDate'' and c.fenddate=''#endDate'' and h.fseq=7 and h.ffidtype <>''count'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932893;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932893,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105110#1#bqsr','{Q[金额#2.搬迁补偿收入]}+{Q[金额#8.搬迁资产处置收入]}','A105110政策性搬迁纳税调整明细表#金额#1.搬迁收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a105110','bqsr','1',' ','{Q[tccit_qysds_a105110#1#bqbcsr]}+{Q[tccit_qysds_a105110#1#bqzcczsr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932685;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932685,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#6#zfbzdysr','{Q[本年税收金额#9.政府补助递延收入]}-{Q[本年账载金额#9.政府补助递延收入]}','A105020未按权责发生确实收入调整明细#纳税调整金额#9.政府补助递延收入','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105020','zfbzdysr','1',' ','{Q[tccit_qysds_a105020#4#zfbzdysr]}-{Q[tccit_qysds_a105020#2#zfbzdysr]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932454;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932454,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#34#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#34#5.税收金额-税收折旧、摊销额','1','34','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020501'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932715;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932715,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#8#hj','{Q[处置收益会计确认所得或损失#1.交易性金融资产]}+{Q[处置收益会计确认所得或损失#2.可供出售金融资]}+{Q[处置收益会计确认所得或损失#3.持有至到期投资]}+{Q[处置收益会计确认所得或损失#4.衍生工具]}+{Q[处置收益会计确认所得或损失#5.交易性金融负债]}+{Q[处置收益会计确认所得或损失#6.长期股权投资]}+{Q[处置收益会计确认所得或损失#7.短期投资]}+{Q[处置收益会计确认所得或损失#8.长期债券投资]}+{Q[处置收益会计确认所得或损失#9.其他]}','A105030投资收益纳税调整明细#处置收益会计确认所得或损失#10.合计','1','8','1066581598406760448','qysdsnb','tccit_qysds_a105030','hj','1',' ','{Q[tccit_qysds_a105030#8#jyxjrzc]}+{Q[tccit_qysds_a105030#8#kgcsjrzc]}+{Q[tccit_qysds_a105030#8#cyzdqtz]}+{Q[tccit_qysds_a105030#8#ysgj]}+{Q[tccit_qysds_a105030#8#jyxjrfz]}+{Q[tccit_qysds_a105030#8#cqgqtz]}+{Q[tccit_qysds_a105030#8#dqtz]}+{Q[tccit_qysds_a105030#8#cqzqtz]}+{Q[tccit_qysds_a105030#8#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932447;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932447,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#26#ssjessgdzje',' ','A105080资产折旧摊销及纳税调整明细#26#5.税收金额-税收折旧、摊销额','1','26','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjessgdzje',' ',' ','{S[select sum(FBNSSZJTXZE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020611'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321505;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321505,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#5#bnkdmjwsdse','if({Q[5#10.境外所得可抵免税额]}>={Q[5#11.境外所得抵免限额]})','A108000境外所得税收抵免明细表#5#12.本年可抵免境外所得税额','1','5','1066581598406760448','qysdsnb','tccit_qysds_a108000','bnkdmjwsdse','1',' ','if({Q[tccit_qysds_a108000#5#jwsdkdmse1]}>={Q[tccit_qysds_a108000#5#jwsddmxe]},{Q[tccit_qysds_a108000#5#jwsddmxe]},{Q[tccit_qysds_a108000#5#jwsdkdmse1]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1114290780505115648;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1114290780505115648,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a000000#1#ssgmjjhy',' ','A000000企业所得税年度纳税申报基础信息表#1#105所属国民经济行业','1','1','1066581598406760448','qysdsnb','tccit_qysds_a000000','ssgmjjhy',' ',' ','{S[select fcodeandname from t_tccit_policy where forgid=''#orgid'' and fstartdate= ''#startDate'' and fenddate=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932182;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932182,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105020#3#lx',' ','A105020未按权责发生确实收入调整明细#3#3.利息','1','3','1066581598406760448','qysdsnb','tccit_qysds_a105020','lx',' ',' ','{S[select fzzjesum from t_tccit_right_income_sum where FITEMTYPE=''002_02'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate''  ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320906;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320906,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105120#41#nstzje','{Q[41.（二）其他#1.账载金额]}-{Q[41.（二）其他#2.税收金额]}','A105120特殊行业准备金及纳税调整明细表#41.二其他#3.纳税调整金额','1','41','1066581598406760448','qysdsnb','tccit_qysds_a105120','nstzje','1',' ','{Q[tccit_qysds_a105120#41#zzje]}-{Q[tccit_qysds_a105120#41#ssje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932416;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932416,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#32#zzjezcjs',' ','A105080资产折旧摊销及纳税调整明细#32#3.账载金额累计折旧、摊销额','1','32','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjezcjs',' ',' ','{S[select sum(FLJZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020404'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337848;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337848,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#27#xgsf','{Q[25.九、其他#6.相关税费]}+{Q[26.九、其他#6.相关税费]}','A107020所得减免优惠明细表#27.九、其他小计#6.相关税费','1','27','1066581598406760448','qysdsnb','tccit_qysds_a107020','xgsf','1',' ','{Q[tccit_qysds_a107020#25#xgsf]}+{Q[tccit_qysds_a107020#26#xgsf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069607797134659584;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069607797134659584,{ts'2021-02-02  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#7#yftqjfy',' ','A107020所得减免优惠明细表#7#7.应分摊期间费用','1','7','1066581598406760448','qysdsnb','tccit_qysds_a107020','yftqjfy',' ',' ','{S[select  fqjfyfte  from t_tccit_getredu_sum where FREDUCENAME in (1064510411371678720,1064510411371678721,1064510411371678722,1064510411371678723,1064510411371678724,1064510411371678725) AND  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932393;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932393,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#27#zzjebnzj',' ','A105080资产折旧摊销及纳税调整明细#27#2.账载金额本年折旧摊销额','1','27','1066581598406760448','qysdsnb','tccit_qysds_a105080','zzjebnzj',' ',' ','{S[select sum(FBNZJTXZZJE) from t_tccit_zczjtx_summary where FITEMTYPE=''701020308'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320754;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320754,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#2#nstzje','{Q[2.（一）房屋、建筑物#2.账载金额本年折旧摊销额]}-{Q[2.（一）房屋、建筑物#5.税收金额-税收折旧、摊销额]}','A105080资产折旧摊销及纳税调整明细#2.一房屋、建筑物#9.纳税调整金额','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105080','nstzje','1',' ','{Q[tccit_qysds_a105080#2#zzjebnzj]}-{Q[tccit_qysds_a105080#2#ssjessgdzje]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932512;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932512,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#10#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#10#3.赔偿收入','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''701030501'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1132634301309929472;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1132634301309929472,{ts'2021-04-12  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#29#xmmc',' ','A107020所得减免优惠明细表#29#1.项目名称','4','29','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmmc',' ',' ','{S[select   fprojectname from t_tccit_getredu_sum where FREDUCENAME=1119522899774986240  and  forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932313;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932313,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#4#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#4#8.税收金额累计折旧、摊销额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020103'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932521;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932521,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#12#zcjsjc',' ','A105090资产损失税前扣除及纳税调整明细#12#4.资产计税基础','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105090','zcjsjc',' ',' ','{S[select sum(fassetsbase) from t_tccit_assets_loss_sum where fitemtype in(''701030601'',''701030602'') and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1133296605500516352;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1133296605500516352,{ts'2021-04-13  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a109010_fz#10#fzjgnsrsbh',' ','A109010分支机构信息#10#1.分支机构纳税人识别号','4','10','1066581598406760448','qysdsnb','tccit_qysds_a109010_fz','fzjgnsrsbh',' ',' ','{S[SELECT a.ftyshxydm FROM t_tccit_seft_fzjg_entry a LEFT JOIN t_tccit_seft_fzjg_sum b ON b.fid=a.fid WHERE a.fitemno=''10'' AND b.forgid=''#orgid'' AND fskssqq=''#startDate'' AND fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320674;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320674,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108030#7#qwnxj','{Q[7#2.前五年境外所得已缴所得税未抵免余额_前五年]}+{Q[7#3.前五年境外所得已缴所得税未抵免余额_前四年]}+{Q[7#4.前五年境外所得已缴所得税未抵免余额_前三年]}+{Q[7#5.前五年境外所得已缴所得税未抵免余额_前二年]}+{Q[7#6.前五年境外所得已缴所得税未抵免余额_前一年]}','A108030跨年度结转抵免境外所得税明细表#7#7.前五年境外所得已缴所得税未抵免余额_小计','1','7','1066581598406760448','qysdsnb','tccit_qysds_a108030','qwnxj','1',' ','{Q[tccit_qysds_a108030#7#qwnqwn]}+{Q[tccit_qysds_a108030#7#qwnqsin]}+{Q[tccit_qysds_a108030#7#qwnqsann]}+{Q[tccit_qysds_a108030#7#qwnqln]}+{Q[tccit_qysds_a108030#7#qwnqyn]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321338;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321338,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a103000#1#sjbzsr',' ','A103000事业单位支出明细#金额#4.上级补助收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a103000','sjbzsr','1',' ','{S[select famount from t_tccit_dg_a103000_sum where fitemno=4 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932586;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932586,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_tab#A105040#tabname','[{"val":"1","text":""}]','企业所得税年度纳税申报表填报表#A105040专项用途财政性资金纳税调整明细表#表单名称','3','A105040','1066581598406760448','qysdsnb','tccit_qysds_tab','tabname','4',' ',' '); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932749;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932749,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#10#ysgj','{Q[处置收益税收计算处置所得#4.衍生工具]}-{Q[处置收益会计确认所得或损失#4.衍生工具]}','A105030投资收益纳税调整明细#处置收益纳税调整金额#4.衍生工具','1','10','1066581598406760448','qysdsnb','tccit_qysds_a105030','ysgj','1',' ','{Q[tccit_qysds_a105030#9#ysgj]}-{Q[tccit_qysds_a105030#8#ysgj]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932464;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932464,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#25#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#25#8.税收金额累计折旧、摊销额','1','25','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020307'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932709;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932709,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105030#2#hj','{Q[持有收益税收金额#1.交易性金融资产]}+{Q[持有收益税收金额#2.可供出售金融资]}+{Q[持有收益税收金额#3.持有至到期投资]}+{Q[持有收益税收金额#4.衍生工具]}+{Q[持有收益税收金额#5.交易性金融负债]}+{Q[持有收益税收金额#6.长期股权投资]}+{Q[持有收益税收金额#7.短期投资]}+{Q[持有收益税收金额#8.长期债券投资]}+{Q[持有收益税收金额#9.其他]}','A105030投资收益纳税调整明细#持有收益税收金额#10.合计','1','2','1066581598406760448','qysdsnb','tccit_qysds_a105030','hj','1',' ','{Q[tccit_qysds_a105030#2#jyxjrzc]}+{Q[tccit_qysds_a105030#2#kgcsjrzc]}+{Q[tccit_qysds_a105030#2#cyzdqtz]}+{Q[tccit_qysds_a105030#2#ysgj]}+{Q[tccit_qysds_a105030#2#jyxjrfz]}+{Q[tccit_qysds_a105030#2#cqgqtz]}+{Q[tccit_qysds_a105030#2#dqtz]}+{Q[tccit_qysds_a105030#2#cqzqtz]}+{Q[tccit_qysds_a105030#2#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932315;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932315,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#6#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#6#8.税收金额累计折旧、摊销额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(FLJSSZJTXJE)  from t_tccit_zczjtx_summary where FITEMTYPE=''701020105'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1078902115956471808;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1078902115956471808,{ts'2021-01-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105080#37#ssjeljzje',' ','A105080资产折旧摊销及纳税调整明细#37#8.税收金额累计折旧、摊销额','1','37','1066581598406760448','qysdsnb','tccit_qysds_a105080','ssjeljzje',' ',' ','{S[select sum(fljjszjtxje) from t_tccit_zczjtx_summary where FITEMTYPE=''701020603'' and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1069595176750747648;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1069595176750747648,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#4#xmcb',' ','A107020所得减免优惠明细表#4#5.项目成本','1','4','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb',' ',' ','{S[select fcost from t_tccit_getredu_sum where  FREDUCENAME in (1064506748737653761,1064508826394528768,1064508826394528769,1064508826394528770,1064508826394528771,1064508826394528772,1064508826394528773,1064508826394528774,1064508826394528775)  and forgid = ''#orgid'' AND fskssqq = ''#startDate'' AND fskssqz = ''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1113736237690178560;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113736237690178560,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105040#12#qend',' ','A105040专项用途财政性资金纳税调整明细#12#4.前二年度','1','12','1066581598406760448','qysdsnb','tccit_qysds_a105040','qend',' ',' ','{Q[tccit_qysds_a105040#3#qend]}-{Q[tccit_qysds_a105040#8#qend]}-{Q[tccit_qysds_a105040#9#qend]}-{Q[tccit_qysds_a105040#10#qend]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1107878644279193600;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1107878644279193600,{ts'2021-03-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107011#1#btzlrfpqrjejdsj',' ','A107011居民企业之间权益性投资收益优惠#1#6.被投资企业利润分配确认金额_被投资企业做出利润分配或转股决定时间','4','1','1066581598406760448','qysdsnb','tccit_qysds_a107011','btzlrfpqrjejdsj',' ',' ','{S[select left(fbizdate,10)  from t_tccit_dg_b105037_sum where flabel=1 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932544;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932544,{ts'2021-01-15  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105090#20#pcsr',' ','A105090资产损失税前扣除及纳税调整明细#20#3.赔偿收入','1','20','1066581598406760448','qysdsnb','tccit_qysds_a105090','pcsr',' ',' ','{S[select sum(fdamagesincome) from t_tccit_assets_loss_sum where fitemtype=''70103080104'' and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1139860709186760704;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1139860709186760704,{ts'2021-04-22  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107040#44#hj',' ','A107040减免所得税优惠明细表#44#1.金额','1','44','1066581598406760448','qysdsnb','tccit_qysds_a107040','hj',' ',' ','{S[select famountorratio from t_tccit_setz_jmyhhz where forgid=''#orgid'' and FSKSSQQ = ''#startDate'' and FSKSSQZ=''#endDate'' and fitemtype = ''6.2'']}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321085;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321085,{ts'2021-04-09  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a101010#1#xsspsr',' ','A101010一般企业收入明细表#金额#3.销售商品收入','1','1','1066581598406760448','qysdsnb','tccit_qysds_a101010','xsspsr','1',' ','{S[select famount from t_tccit_profit_income_sum where fitemno=3 and forgid=''#orgid'' and fskssqq=''#startDate'' and fskssqz=''#endDate'' ]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263320994;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263320994,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107041#25#qynd','({Q[26.境内的外部研发费#2.前一年度]}+{Q[28.可计入研发费用的境外的外部研发费#2.前一年度]})*0.8','A107041高新技术企业优惠情况及明细表#25.委托外部研发费用#2.前一年度','1','25','1066581598406760448','qysdsnb','tccit_qysds_a107041','qynd','1',' ','({Q[tccit_qysds_a107041#26#qynd]}+{Q[tccit_qysds_a107041#28#qynd]})*0.8'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690254932784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690254932784,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a105050#5#hj','{Q[税收金额#1.工资薪金支出]}+{Q[税收金额#3.职工福利费支出]}+{Q[税收金额#4.职工教育经费支出]}+{Q[税收金额#7.工会经费支出]}+{Q[税收金额#8.各类基本社会保障性缴款]}+{Q[税收金额#9.住房公积金]}+{Q[税收金额#10.补充养老保险]}+{Q[税收金额#11.补充医疗保险]}+{Q[税收金额#12.其他]}','A105050职工薪酬支出明细#税收金额#13.合计','1','5','1066581598406760448','qysdsnb','tccit_qysds_a105050','hj','1',' ','{Q[tccit_qysds_a105050#5#gzxjzc]}+{Q[tccit_qysds_a105050#5#zgflfzc]}+{Q[tccit_qysds_a105050#5#zgjyjfzc]}+{Q[tccit_qysds_a105050#5#ghjfzc]}+{Q[tccit_qysds_a105050#5#bzxjk]}+{Q[tccit_qysds_a105050#5#zfgjj]}+{Q[tccit_qysds_a105050#5#bcylbx]}+{Q[tccit_qysds_a105050#5#bcyiliaobx]}+{Q[tccit_qysds_a105050#5#qt]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321436;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321436,{ts'2021-03-18  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#kjz','{Q[6.前五年度#8.当年待弥补的亏损额]}-{Q[6.前五年度#9.使用境内所得弥补]}-{Q[6.前五年度#10.使用境外所得弥补]}','A106000企业所得税弥补亏损明细表#6.前五年度#11.当年可结转以后年度弥补的亏损额','1','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','kjz','1',' ','if({Q[tccit_qysds_a106000#6#qyndynbe]}>{Q[tccit_qysds_a106000#6#hj]}+{Q[tccit_qysds_a106000#6#sjnbe]},{Q[tccit_qysds_a106000#6#qyndynbe]}-{Q[tccit_qysds_a106000#6#hj]}-{Q[tccit_qysds_a106000#6#sjnbe]},{Q[tccit_qysds_a106000#6#hj]}+{Q[tccit_qysds_a106000#6#sjnbe]}-{Q[tccit_qysds_a106000#6#qyndynbe]})'); 
DELETE FROM t_tctb_formula WHERE FID = 7371798877145337807;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (7371798877145337807,{ts'2020-02-28  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a107020#3#xmcb','{Q[1.一、农、林、牧、渔业项目#5.项目成本]}+{Q[2.一、农、林、牧、渔业项目#5.项目成本]}','A107020所得减免优惠明细表#3.一、农、林、牧、渔业项目小计#5.项目成本','1','3','1066581598406760448','qysdsnb','tccit_qysds_a107020','xmcb','1',' ','{Q[tccit_qysds_a107020#1#xmcb]}+{Q[tccit_qysds_a107020#2#xmcb]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321504;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321504,{ts'2021-01-11  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a108000#4#bnkdmjwsdse','if({Q[4#10.境外所得可抵免税额]}-{Q[4#11.境外所得抵免限额]}>=>={Q[4#10.境外所得可抵免税额]}>={Q[4#11.境外所得抵免限额]})','A108000境外所得税收抵免明细表#4#12.本年可抵免境外所得税额','1','4','1066581598406760448','qysdsnb','tccit_qysds_a108000','bnkdmjwsdse','1',' ','if({Q[tccit_qysds_a108000#4#jwsdkdmse1]}>={Q[tccit_qysds_a108000#4#jwsddmxe]},{Q[tccit_qysds_a108000#4#jwsddmxe]},{Q[tccit_qysds_a108000#4#jwsdkdmse1]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1113695216180868096;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1113695216180868096,{ts'2021-03-17  00:00:00'},' ',' ','CTCIT2020','tccit_qysds_a106000#6#dnknbks',' ','A106000企业所得税弥补亏损明细表#6#4.可弥补年限5年','1','6','1066581598406760448','qysdsnb','tccit_qysds_a106000','dnknbks',' ',' ','#if({S[select count(fid) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-5 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}>0)     {S[select sum(flossmoney) from t_tccit_dg_b105060_sum where FHAPPENYEAR=''#declareyear''-5 and forgid=''#orgid'' and flosstype=''zr'' and fyjjznx=5]}  #else #if({S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']}>0 )    0-{S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']} #else  {S[SELECT fdnknbks FROM t_tccit_qysds_a106000 a where a.fsbbid =''#preyearsbbid'' and a.FEWBLXH=''6'']} #end      #end'); 
--check
DELETE FROM t_tctb_formula WHERE FID = 1135484352789238784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135484352789238784,{ts'2021-08-05  00:00:00'},'《A107050税额抵免优惠明细表》本行第11列的值应大于等于0且小于等于A100000表第25行减26行的值，并且，本行第11列的值应小于等于第6行第2列的值','《A107050税额抵免优惠明细表》第7行第11列异常','CTCIT2020','tccit_qysds_a107050#7#bnsjdmdgndse','{Q[本年度#2.本年抵免前应纳税额]}','A107050税额抵免优惠明细表#本年实际抵免税额合计#11.本年实际抵免的各年度税额','2','7','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse','1',' ','{Q[tccit_qysds_a107050#7#bnsjdmdgndse]}>=0&&{Q[tccit_qysds_a107050#7#bnsjdmdgndse]}<=({Q[tccit_qysds_a100000#1#ynsdse]}-{Q[tccit_qysds_a100000#1#jmsdse]})&&{Q[tccit_qysds_a107050#7#bnsjdmdgndse]}<={Q[tccit_qysds_a107050#6#bndmqynse]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1184607472128653312;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1184607472128653312,{ts'2021-06-23  00:00:00'},'《A105000纳税调整项目明细》第15行3列不等于《A104000期间费用明细表》第4行“销售费用“和“管理费用“之和','《A105000纳税调整项目明细》第15行1列异常','CTCIT2020','tccit_qysds_a105000#1#ywzdfzc','{Q[账载金额#15.业务招待费支出]}','A105000纳税调整项目明细#账载金额#15.业务招待费支出','2','1','1066581598406760448','qysdsnb','tccit_qysds_a105000','ywzdfzc','1',' ','{Q[tccit_qysds_a105000#1#ywzdfzc]}={Q[tccit_qysds_a104000#1#ywzdf]}+{Q[tccit_qysds_a104000#3#ywzdf]}'); 
DELETE FROM t_tctb_formula WHERE FID = 1135477341901056000;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135477341901056000,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》本行第5+6+7+8+9+11列的合计值或第10+11列的合计值要小于等于本行第4列的值','《A107050税额抵免优惠明细表》第1行第11列异常','CTCIT2020','tccit_qysds_a107050#1#bnsjdmdgndse',' ','A107050税额抵免优惠明细表#1#11.本年实际抵免的各年度税额','2','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse',' ',' ','{Q[tccit_qysds_a107050#1#bnsjdmdgndse]}>=0&&({Q[tccit_qysds_a107050#1#bnsjdmdgndse]}<={Q[tccit_qysds_a107050#1#bnkdmse]}-{Q[tccit_qysds_a107050#1#xj]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1135478421540071424;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135478421540071424,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》本行第5+6+7+8+9+11列的合计值或第10+11列的合计值要小于等于本行第4列的值','《A107050税额抵免优惠明细表》第2行第11列异常','CTCIT2020','tccit_qysds_a107050#2#bnsjdmdgndse','{Q[前四年度#11.本年实际抵免的各年度税额]}','A107050税额抵免优惠明细表#2#11.本年实际抵免的各年度税额','2','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse',' ',' ','{Q[tccit_qysds_a107050#2#bnsjdmdgndse]}>=0&&({Q[tccit_qysds_a107050#2#bnsjdmdgndse]}<={Q[tccit_qysds_a107050#2#bnkdmse]}-{Q[tccit_qysds_a107050#2#xj]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1135479229170083840;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135479229170083840,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》本行第5+6+7+8+9+11列的合计值或第10+11列的合计值要小于等于本行第4列的值','《A107050税额抵免优惠明细表》第3行第11列异常','CTCIT2020','tccit_qysds_a107050#3#bnsjdmdgndse','{Q[前三年度#11.本年实际抵免的各年度税额]}','A107050税额抵免优惠明细表#3#11.本年实际抵免的各年度税额','2','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse',' ',' ','{Q[tccit_qysds_a107050#3#bnsjdmdgndse]}>=0&&({Q[tccit_qysds_a107050#3#bnsjdmdgndse]}<={Q[tccit_qysds_a107050#3#bnkdmse]}-{Q[tccit_qysds_a107050#3#xj]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1135480497200452608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135480497200452608,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》本行第5+6+7+8+9+11列的合计值或第10+11列的合计值要小于等于本行第4列的值','《A107050税额抵免优惠明细表》第4行第11列异常','CTCIT2020','tccit_qysds_a107050#4#bnsjdmdgndse','{Q[前二年度#11.本年实际抵免的各年度税额]}','A107050税额抵免优惠明细表#4#11.本年实际抵免的各年度税额','2','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse',' ',' ','{Q[tccit_qysds_a107050#4#bnsjdmdgndse]}>=0&&({Q[tccit_qysds_a107050#4#bnsjdmdgndse]}<={Q[tccit_qysds_a107050#4#bnkdmse]}-{Q[tccit_qysds_a107050#4#xj]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1135481945258742784;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1135481945258742784,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》本行第5+6+7+8+9+11列的合计值或第10+11列的合计值要小于等于本行第4列的值','《A107050税额抵免优惠明细表》第5行第11列异常','CTCIT2020','tccit_qysds_a107050#5#bnsjdmdgndse','{Q[前一年度#11.本年实际抵免的各年度税额]}','A107050税额抵免优惠明细表#5#11.本年实际抵免的各年度税额','2','5','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse',' ',' ','{Q[tccit_qysds_a107050#5#bnsjdmdgndse]}>=0&&({Q[tccit_qysds_a107050#5#bnsjdmdgndse]}<={Q[tccit_qysds_a107050#5#bnkdmse]}-{Q[tccit_qysds_a107050#5#xj]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188318767269395456;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188318767269395456,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》本行第5+6+7+8+9+11列的合计值或第10+11列的合计值要小于等于本行第4列的值','《A107050税额抵免优惠明细表》第6行第11列异常','CTCIT2020','tccit_qysds_a107050#6#bnsjdmdgndse','{Q[本年度#11.本年实际抵免的各年度税额]}','A107050税额抵免优惠明细表#6#11.本年实际抵免的各年度税额','2','6','1066581598406760448','qysdsnb','tccit_qysds_a107050','bnsjdmdgndse',' ',' ','{Q[tccit_qysds_a107050#6#bnsjdmdgndse]}>=0&&({Q[tccit_qysds_a107050#6#bnsjdmdgndse]}<={Q[tccit_qysds_a107050#6#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188334540436126720;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188334540436126720,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第1行第10列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第1行第10列异常','CTCIT2020','tccit_qysds_a107050#1#xj','{Q[前五年度#10.小计]}','A107050税额抵免优惠明细表#前五年度#10.小计','2','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','xj','1',' ','{Q[tccit_qysds_a107050#1#xj]}>=0&&({Q[tccit_qysds_a107050#1#xj]}<={Q[tccit_qysds_a107050#1#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188335152670292992;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188335152670292992,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第2行第10列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第2行第10列异常','CTCIT2020','tccit_qysds_a107050#2#xj','{Q[前四年度#10.小计]}','A107050税额抵免优惠明细表#前四年度#10.小计','2','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','xj','1',' ','{Q[tccit_qysds_a107050#2#xj]}>=0&&({Q[tccit_qysds_a107050#2#xj]}<={Q[tccit_qysds_a107050#2#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188335842255813632;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188335842255813632,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第3行第10列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第3行第10列异常','CTCIT2020','tccit_qysds_a107050#3#xj','{Q[前三年度#10.小计]}','A107050税额抵免优惠明细表#前三年度#10.小计','2','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','xj','1',' ','{Q[tccit_qysds_a107050#3#xj]}>=0&&({Q[tccit_qysds_a107050#3#xj]}<={Q[tccit_qysds_a107050#3#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188336372256455680;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188336372256455680,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第4行第10列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第4行第10列异常','CTCIT2020','tccit_qysds_a107050#4#xj','{Q[前二年度#10.小计]}','A107050税额抵免优惠明细表#前二年度#10.小计','2','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','xj','1',' ','{Q[tccit_qysds_a107050#4#xj]}>=0&&({Q[tccit_qysds_a107050#4#xj]}<={Q[tccit_qysds_a107050#4#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188336892425649152;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188336892425649152,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第5行第10列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第5行第10列异常','CTCIT2020','tccit_qysds_a107050#5#xj','{Q[前一年度#10.小计]}','A107050税额抵免优惠明细表#前一年度#10.小计','2','5','1066581598406760448','qysdsnb','tccit_qysds_a107050','xj','1',' ','{Q[tccit_qysds_a107050#5#xj]}>=0&&({Q[tccit_qysds_a107050#5#xj]}<={Q[tccit_qysds_a107050#5#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188337641746447360;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188337641746447360,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第1行第9列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第1行第9列异常','CTCIT2020','tccit_qysds_a107050#1#qynddme','{Q[前五年度#9.前一年度一抵免额]}','A107050税额抵免优惠明细表#1#9.前一年度一抵免额','2','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','qynddme',' ',' ','{Q[tccit_qysds_a107050#1#qynddme]}>=0&&({Q[tccit_qysds_a107050#1#qynddme]}<={Q[tccit_qysds_a107050#1#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188338150909787136;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188338150909787136,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第2行第9列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第2行第9列异常','CTCIT2020','tccit_qysds_a107050#2#qynddme','{Q[前四年度#9.前一年度一抵免额]}','A107050税额抵免优惠明细表#2#9.前一年度一抵免额','2','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','qynddme',' ',' ','{Q[tccit_qysds_a107050#2#qynddme]}>=0&&({Q[tccit_qysds_a107050#2#qynddme]}<={Q[tccit_qysds_a107050#2#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188338632726264832;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188338632726264832,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第3行第9列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第3行第9列异常','CTCIT2020','tccit_qysds_a107050#3#qynddme','{Q[前三年度#9.前一年度一抵免额]}','A107050税额抵免优惠明细表#3#9.前一年度一抵免额','2','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','qynddme',' ',' ','{Q[tccit_qysds_a107050#3#qynddme]}>=0&&({Q[tccit_qysds_a107050#3#qynddme]}<={Q[tccit_qysds_a107050#3#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188339033173244928;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188339033173244928,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第4行第9列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第4行第9列异常','CTCIT2020','tccit_qysds_a107050#4#qynddme','{Q[前二年度#9.前一年度一抵免额]}','A107050税额抵免优惠明细表#4#9.前一年度一抵免额','2','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','qynddme',' ',' ','{Q[tccit_qysds_a107050#4#qynddme]}>=0&&({Q[tccit_qysds_a107050#4#qynddme]}<={Q[tccit_qysds_a107050#4#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188339775640550400;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188339775640550400,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第5行第9列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第5行第9列异常','CTCIT2020','tccit_qysds_a107050#5#qynddme','{Q[前一年度#9.前一年度一抵免额]}','A107050税额抵免优惠明细表#5#9.前一年度一抵免额','2','5','1066581598406760448','qysdsnb','tccit_qysds_a107050','qynddme',' ',' ','{Q[tccit_qysds_a107050#5#qynddme]}>=0&&({Q[tccit_qysds_a107050#5#qynddme]}<={Q[tccit_qysds_a107050#5#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188340223558663168;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188340223558663168,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第1行第8列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第1行第8列异常','CTCIT2020','tccit_qysds_a107050#1#qenddme','{Q[前五年度#8.前二年度一抵免额]}','A107050税额抵免优惠明细表#1#8.前二年度一抵免额','2','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','qenddme',' ',' ','{Q[tccit_qysds_a107050#1#qenddme]}>=0&&({Q[tccit_qysds_a107050#1#qenddme]}<={Q[tccit_qysds_a107050#1#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188340790771170304;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188340790771170304,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第2行第8列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第2行第8列异常','CTCIT2020','tccit_qysds_a107050#2#qenddme','{Q[前四年度#8.前二年度一抵免额]}','A107050税额抵免优惠明细表#2#8.前二年度一抵免额','2','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','qenddme',' ',' ','{Q[tccit_qysds_a107050#2#qenddme]}>=0&&({Q[tccit_qysds_a107050#2#qenddme]}<={Q[tccit_qysds_a107050#2#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188341289062874112;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188341289062874112,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第3行第8列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第3行第8列异常','CTCIT2020','tccit_qysds_a107050#3#qenddme','{Q[前三年度#8.前二年度一抵免额]}','A107050税额抵免优惠明细表#3#8.前二年度一抵免额','2','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','qenddme',' ',' ','{Q[tccit_qysds_a107050#3#qenddme]}>=0&&({Q[tccit_qysds_a107050#3#qenddme]}<={Q[tccit_qysds_a107050#3#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188342336564880384;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188342336564880384,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第4行第8列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第4行第8列异常','CTCIT2020','tccit_qysds_a107050#4#qenddme','{Q[前二年度#8.前二年度一抵免额]}','A107050税额抵免优惠明细表#4#8.前二年度一抵免额','2','4','1066581598406760448','qysdsnb','tccit_qysds_a107050','qenddme',' ',' ','{Q[tccit_qysds_a107050#4#qenddme]}>=0&&({Q[tccit_qysds_a107050#4#qenddme]}<={Q[tccit_qysds_a107050#4#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188342764635546624;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188342764635546624,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第1行第7列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第1行第7列异常','CTCIT2020','tccit_qysds_a107050#1#qsnddme','{Q[前五年度#7.前三年度一抵免额]}','A107050税额抵免优惠明细表#1#7.前三年度一抵免额','2','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','qsnddme',' ',' ','{Q[tccit_qysds_a107050#1#qsnddme]}>=0&&({Q[tccit_qysds_a107050#1#qsnddme]}<={Q[tccit_qysds_a107050#1#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188343271508796416;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188343271508796416,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第2行第7列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第2行第7列异常','CTCIT2020','tccit_qysds_a107050#2#qsnddme','{Q[前四年度#7.前三年度一抵免额]}','A107050税额抵免优惠明细表#2#7.前三年度一抵免额','2','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','qsnddme',' ',' ','{Q[tccit_qysds_a107050#2#qsnddme]}>=0&&({Q[tccit_qysds_a107050#2#qsnddme]}<={Q[tccit_qysds_a107050#2#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188343754189300736;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188343754189300736,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第3行第7列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第3行第9列异常','CTCIT2020','tccit_qysds_a107050#3#qsnddme','{Q[前三年度#7.前三年度一抵免额]}','A107050税额抵免优惠明细表#3#7.前三年度一抵免额','2','3','1066581598406760448','qysdsnb','tccit_qysds_a107050','qsnddme',' ',' ','{Q[tccit_qysds_a107050#3#qsnddme]}>=0&&({Q[tccit_qysds_a107050#3#qsnddme]}<={Q[tccit_qysds_a107050#3#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188344152379745280;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188344152379745280,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第1行第6列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第1行第6列异常','CTCIT2020','tccit_qysds_a107050#1#qsinddme','{Q[前五年度#6.前四年度一抵免额]}','A107050税额抵免优惠明细表#1#6.前四年度一抵免额','2','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','qsinddme',' ',' ','{Q[tccit_qysds_a107050#1#qsinddme]}>=0&&({Q[tccit_qysds_a107050#1#qsinddme]}<={Q[tccit_qysds_a107050#1#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188344635571954688;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188344635571954688,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第2行第6列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第2行第6列异常','CTCIT2020','tccit_qysds_a107050#2#qsinddme','{Q[前四年度#6.前四年度一抵免额]}','A107050税额抵免优惠明细表#2#6.前四年度一抵免额','2','2','1066581598406760448','qysdsnb','tccit_qysds_a107050','qsinddme',' ',' ','{Q[tccit_qysds_a107050#2#qsinddme]}>=0&&({Q[tccit_qysds_a107050#2#qsinddme]}<={Q[tccit_qysds_a107050#2#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1188345175135609856;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1188345175135609856,{ts'2021-06-28  00:00:00'},'《A107050税额抵免优惠明细表》第1行第5列的值应该小于等于第4列的值','《A107050税额抵免优惠明细表》第1行第5列异常','CTCIT2020','tccit_qysds_a107050#1#qwnddme',' ','A107050税额抵免优惠明细表#1#5.前五年度一抵免额','2','1','1066581598406760448','qysdsnb','tccit_qysds_a107050','qwnddme',' ',' ','{Q[tccit_qysds_a107050#1#qwnddme]}>=0&&({Q[tccit_qysds_a107050#1#qwnddme]}<={Q[tccit_qysds_a107050#1#bnkdmse]})'); 
DELETE FROM t_tctb_formula WHERE FID = 1066615690263321181;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066615690263321181,{ts'2021-01-11  00:00:00'},'录入的调减金额为【{F[{Q[tccit_qysds_a105000#4#aqyhscqtz]}]}】小于0,请重新录入',' ','CTCIT2020','tccit_qysds_a105000#4#aqyhscqtz','{Q[调减金额#5.按权益法核算长期股权投资对初始投资成本调整确认收益]}>=0','A105000纳税调整项目明细#调减金额#5.按权益法核算长期股权投资对初始投资成本调整确认收益','2','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','aqyhscqtz','1',' ','{Q[tccit_qysds_a105000#4#aqyhscqtz]}>=0'); 
DELETE FROM t_tctb_formula WHERE FID = 1206322983660945408;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1206322983660945408,{ts'2021-07-27  00:00:00'},'非金融企业：A100000表第1行应等于A101010表第1行，金融企业：A100000表第1行应等于A101020表第1行，若税务组织为事业单位，A100000表第1行应等于A103000表2+3+4+5+6行；若为民间非盈利组织，A100000表第1行应等于A103000表11+12+13+14+15行','《A100000年度纳税申报表（A类）》第1行营业收入异常','CTCIT2020','tccit_qysds_a100000#1#yysr','营业收入异常校验','A100000年度纳税申报表#金额#1.营业收入','2','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','yysr','1',' ','if({C[#reg_type_group]}=sydw,{Q[tccit_qysds_a100000#1#yysr]}={Q[tccit_qysds_a103000#1#czbzsr]}+{Q[tccit_qysds_a103000#1#sysr]}+{Q[tccit_qysds_a103000#1#sjbzsr]}+{Q[tccit_qysds_a103000#1#fsdwsjsr]}+{Q[tccit_qysds_a103000#1#jysr]},if({C[#reg_type_group]}=mbfqydw,{Q[tccit_qysds_a100000#1#yysr]}={Q[tccit_qysds_a103000#1#jsjzsr]}+{Q[tccit_qysds_a103000#1#hfsr]}+{Q[tccit_qysds_a103000#1#tglwsr]}+{Q[tccit_qysds_a103000#1#spxssr]}+{Q[tccit_qysds_a103000#1#zfbzsr]},if({C[#reg_type_group]}=bsfqydw&&{Q[tccit_qysds_a000000#1#xxwlqy]}=0,if({C[#isjrcompany]}=true,{Q[tccit_qysds_a100000#1#yysr]}={Q[tccit_qysds_a101020#1#yysr]},if({C[#isjrcompany]}=false,{Q[tccit_qysds_a100000#1#yysr]}={Q[tccit_qysds_a101010#1#yysr]},1)),1)))'); 
DELETE FROM t_tctb_formula WHERE FID = 1206325857883258880;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1206325857883258880,{ts'2021-07-23  00:00:00'},'若税务组织为事业单位，A100000表第9行应等于A103000表第8行；若为民间非盈利组织，A100000表营业收入应等于A103000表第16行。','《A100000年度纳税申报表（A类）》第9行投资收益异常','CTCIT2020','tccit_qysds_a100000#1#tzsy','加：投资收益校验','A100000年度纳税申报表#金额#9.投资收益','2','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','tzsy','1',' ','if({C[#reg_type_group]}=sydw,{Q[tccit_qysds_a100000#1#tzsy]}={Q[tccit_qysds_a103000#1#tzsy]},if({C[#reg_type_group]}=mbfqydw,{Q[tccit_qysds_a100000#1#tzsy]}={Q[tccit_qysds_a103000#1#mjtzsy]},1))'); 
DELETE FROM t_tctb_formula WHERE FID = 1206328655668576256;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1206328655668576256,{ts'2021-07-23  00:00:00'},'非金融企业：A100000表第11行应等于A101010表第16行，金融企业：A100000表第11行应等于A101020表第35行，若税务组织为事业单位，A100000表第11行应等于A103000表第9行；若为民间非盈利组织，A100000表第12行应等于A103000表第17行。','《A100000年度纳税申报表（A类）》第11行营业外收入异常','CTCIT2020','tccit_qysds_a100000#1#yywsr','营业外收入校验','A100000年度纳税申报表#金额#11.营业外收入','2','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','yywsr','1',' ','if({C[#reg_type_group]}=sydw,{Q[tccit_qysds_a100000#1#yywsr]}={Q[tccit_qysds_a103000#1#qtsrqt]},if({C[#reg_type_group]}=mbfqydw,{Q[tccit_qysds_a100000#1#yywsr]}={Q[tccit_qysds_a103000#1#mjfylzzsrqtsr]},if({C[#reg_type_group]}=bsfqydw&&{Q[tccit_qysds_a000000#1#xxwlqy]}=0,if({C[#isjrcompany]}=true,{Q[tccit_qysds_a100000#1#yywsr]}={Q[tccit_qysds_a101020#1#yywsr]},if({C[#isjrcompany]}=false,{Q[tccit_qysds_a100000#1#yywsr]}={Q[tccit_qysds_a101010#1#yywsr]},1)),1)))'); 
DELETE FROM t_tctb_formula WHERE FID = 1206330595475456000;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1206330595475456000,{ts'2021-07-23  00:00:00'},'非金融企业：A100000表第2行应等于A102010表第1行，金融企业：A100000表第2行应等于A102020表第1行，若税务组织为事业单位，A100000表第11行应等于A103000表19+20+21+22行；若为民间非盈利组织，A100000表营业收入应等于A103000表25+26+27行','《A100000年度纳税申报表（A类）》第2行营业成本异常','CTCIT2020','tccit_qysds_a100000#1#yycb','营业成本校验','A100000年度纳税申报表#金额#2.营业成本','2','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','yycb','1',' ','if({C[#reg_type_group]}=sydw,{Q[tccit_qysds_a100000#1#yycb]}={Q[tccit_qysds_a103000#1#syzc]}+{Q[tccit_qysds_a103000#1#sjsjzc]}+{Q[tccit_qysds_a103000#1#dfsdwbz]}+{Q[tccit_qysds_a103000#1#jyzc]},if({C[#reg_type_group]}=mbfqydw,{Q[tccit_qysds_a100000#1#yycb]}={Q[tccit_qysds_a103000#1#ywhdcb]}+{Q[tccit_qysds_a103000#1#glfy]}+{Q[tccit_qysds_a103000#1#zzfy]},if({C[#reg_type_group]}=bsfqydw&&{Q[tccit_qysds_a000000#1#xxwlqy]}=0,if({C[#isjrcompany]}=true,{Q[tccit_qysds_a100000#1#yycb]}={Q[tccit_qysds_a102020#1#yyzc]},if({C[#isjrcompany]}=false,{Q[tccit_qysds_a100000#1#yycb]}={Q[tccit_qysds_a102010#1#yycb]},1)),1)))'); 
DELETE FROM t_tctb_formula WHERE FID = 1206331824414916608;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1206331824414916608,{ts'2021-07-23  00:00:00'},'非金融企业：A100000表第12行应等于A102010表第16行，金融企业：A100000表第12行应等于A102020表第33行，若税务组织为事业单位，A100000表第12行应等于A103000表第23行；若为民间非盈利组织，A100000表第12行应等于A103000表第28行。','《A100000年度纳税申报表（A类）》第12行营业外支出异常','CTCIT2020','tccit_qysds_a100000#1#yywzc','营业外支出异常校验','A100000年度纳税申报表#金额#12.营业外支出','2','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','yywzc','1',' ','if({C[#reg_type_group]}=sydw,{Q[tccit_qysds_a100000#1#yywzc]}={Q[tccit_qysds_a103000#1#qtzc]},if({C[#reg_type_group]}=mbfqydw,{Q[tccit_qysds_a100000#1#yywzc]}={Q[tccit_qysds_a103000#1#qtfy]},if({C[#reg_type_group]}=bsfqydw&&{Q[tccit_qysds_a000000#1#xxwlqy]}=0,if({C[#isjrcompany]}=true,{Q[tccit_qysds_a100000#1#yywzc]}={Q[tccit_qysds_a102020#1#yywzc]},if({C[#isjrcompany]}=false,{Q[tccit_qysds_a100000#1#yywzc]}={Q[tccit_qysds_a102010#1#yywzc]},1)),1)))'); 
DELETE FROM t_tctb_formula WHERE FID = 1206524549806627840;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1206524549806627840,{ts'2021-07-23  00:00:00'},'A100000表第4行应等于A104000表第26行第1列','《A100000年度纳税申报表（A类）》第4行销售费用异常','CTCIT2020','tccit_qysds_a100000#1#xsfy','销售费用异常校验','A100000年度纳税申报表#金额#4.销售费用','2','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','xsfy','1',' ','if({C[#reg_type_group]}=bsfqydw&&{Q[tccit_qysds_a000000#1#xxwlqy]}=0,if({C[#isjrcompany]}=true,{Q[tccit_qysds_a100000#1#xsfy]}={Q[tccit_qysds_a104000#1#hj]},if({C[#isjrcompany]}=false,{Q[tccit_qysds_a100000#1#xsfy]}={Q[tccit_qysds_a104000#1#hj]},1)),1)'); 
DELETE FROM t_tctb_formula WHERE FID = 1206527157438979072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1206527157438979072,{ts'2021-07-23  00:00:00'},'A100000表第5行应等于A104000表第26行第3列','《A100000年度纳税申报表（A类）》第5行管理费用异常','CTCIT2020','tccit_qysds_a100000#1#glfy','{Q[金额#5.管理费用]}','A100000年度纳税申报表#金额#5.管理费用','2','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','glfy','1',' ','if({C[#reg_type_group]}=bsfqydw&&{Q[tccit_qysds_a000000#1#xxwlqy]}=0,if({C[#isjrcompany]}=true,{Q[tccit_qysds_a100000#1#glfy]}={Q[tccit_qysds_a104000#3#hj]},if({C[#isjrcompany]}=false,{Q[tccit_qysds_a100000#1#glfy]}={Q[tccit_qysds_a104000#3#hj]},1)),1)'); 
DELETE FROM t_tctb_formula WHERE FID = 1206529175947779072;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1206529175947779072,{ts'2021-07-23  00:00:00'},'A100000表第6行应等于A104000表第26行第5列','《A100000年度纳税申报表（A类）》第6行财务费用异常','CTCIT2020','tccit_qysds_a100000#1#cwfy','{Q[财务费用#26.合计]}','A100000年度纳税申报表#金额#6.财务费用','2','1','1066581598406760448','qysdsnb','tccit_qysds_a100000','cwfy','1',' ','if({C[#reg_type_group]}=bsfqydw&&{Q[tccit_qysds_a000000#1#xxwlqy]}=0,if({C[#isjrcompany]}=true,{Q[tccit_qysds_a100000#1#cwfy]}={Q[tccit_qysds_a104000#5#hj]},if({C[#isjrcompany]}=false,{Q[tccit_qysds_a100000#1#cwfy]}={Q[tccit_qysds_a104000#5#hj]},1)),1)'); 
DELETE FROM t_tctb_formula WHERE FID = 1066581607323850873;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066581607323850873,{ts'2021-01-11  00:00:00'},'录入的调减金额为【{F[{Q[tccit_qysds_a105000#4#aqyhscqtz]}]}】小于0,请重新录入',' ','CTCIT2020','tccit_qysds_a105000#4#aqyhscqtz','{Q[调减金额#5.按权益法核算长期股权投资对初始投资成本调整确认收益]}>=0','A105000纳税调整项目明细#调减金额#5.按权益法核算长期股权投资对初始投资成本调整确认收益','2','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','aqyhscqtz','1',' ','{Q[tccit_qysds_a105000#4#aqyhscqtz]}>=0'); 
DELETE FROM t_tctb_formula WHERE FID = 1066605075562026589;
INSERT INTO t_tctb_formula(FID,FUPDATETIME,FCONTENT,FTITLE,FTEMPLATENUM,FFORMULAKEY,FFORMULANAME,FNAME,FFORMULATYPE,FROW,FTEMPLATEID,FTAXTYPE,FTABLE,FCOLUMN,FCELLTYPE,FDESCRIBE,FFORMULA) VALUES (1066605075562026589,{ts'2021-01-11  00:00:00'},'录入的调减金额为【{F[{Q[tccit_qysds_a105000#4#aqyhscqtz]}]}】小于0,请重新录入',' ','CTCIT2020','tccit_qysds_a105000#4#aqyhscqtz','{Q[调减金额#5.按权益法核算长期股权投资对初始投资成本调整确认收益]}>=0','A105000纳税调整项目明细#调减金额#5.按权益法核算长期股权投资对初始投资成本调整确认收益','2','4','1066581598406760448','qysdsnb','tccit_qysds_a105000','aqyhscqtz','1',' ','{Q[tccit_qysds_a105000#4#aqyhscqtz]}>=0'); 
