-- 调整利润表，印花税应税凭证 预置数据中金额字段需要调整的取数逻辑
--印花税应税凭证
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 942515893462680590;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE,FACCESSLOGIC) VALUES (942515893462684672,'0','含税金额','0','0',942515893462680590,'1','tdm_stamptax_voucher','0','0','1',0,'0',' ','includetaxcount','0',',bqhj,'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 942515893462680591;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE,FACCESSLOGIC) VALUES (942515893462684672,'0','不含税金额','0','0',942515893462680591,'1','tdm_stamptax_voucher','0','0','1',0,'0',' ','excludetaxcount','0',',bqhj,'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 942515893462680592;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FINSPECTIONSHOWFIELD,FDESCRICE,FFIELDNAME,FDATASTATE,FACCESSLOGIC) VALUES (942515893462684672,'0','应纳税凭证金额','0','0',942515893462680592,'1','tdm_stamptax_voucher','0','0','1',0,'0',' ','vouchermoney','0',',bqhj,'); 

--利润表
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1265769269262621702;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE,FACCESSLOGIC) VALUES (886814324742447104,'0','本月金额','0','0',1265769269262621702,'1','tdm_finance_lrb','0','0','1',19,'bnljje','0','本月金额','0',',jzqms,'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 886814324742469642;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE,FACCESSLOGIC) VALUES (886814324742447104,'0','本年累计金额','0','0',886814324742469642,'1','tdm_finance_lrb','0','0','1',1,'bqje','0',' ','0',',jzqms,'); 