UPDATE t_tccit_nontax_summary_m SET fitem = 1251283701556352013  where frulename = '其他';
UPDATE t_tccit_nontax_summary_m SET fitem = 1315279067611882497  where frulename = '企业开发新技术、新产品、新工艺发生的研究开发费用加计扣除（制造业按 100%加计 扣除）';
UPDATE t_tccit_nontax_summary_m SET fitem = 1315279067611882498  where frulename = '企业开发新技术、新产品、新工艺发生的研究开发费用加计扣除（非制造业按 75%加 计扣除）';
UPDATE t_tccit_nontax_summary_m SET fitem = 1315279067611882499  where frulename = '企业为获得创新性、创意性、突破性的产品进行创意设计活动发生的相关费用加计扣 除（制造业按 100%加计扣除）';
UPDATE t_tccit_nontax_summary_m SET fitem = 1315279067611882500  where frulename = '企业为获得创新性、创意性、突破性的产品进行创意设计活动发生的相关费用加计扣 除（非制造业按 75%加计扣除）';
UPDATE t_tccit_nontax_summary_m SET fitem = 1251314201905871872  where frulename = '符合条件的一般技术转让项目所得减免累计数';
UPDATE t_tccit_nontax_summary_m SET fitem = 1251314201905871873  where frulename = '符合条件的中关村国家自主创新示范区特定区域技术转让项目所得减免累计数';

update t_tccit_nontax_summary_m set fitem = (select l.fentryid from t_tpo_discount_detail_l as l ,t_tpo_discount_detail as d where l.fentryid = d.fentryid and fid =1251280687999259648 and flocaleid ='zh_CN' and FRULENAME = FPROJNAME and FPROJNAME != '其他') 
where fitem = 0 and (select count(l.fentryid) from t_tpo_discount_detail_l as l ,t_tpo_discount_detail as d where l.fentryid = d.fentryid and fid =1251280687999259648 and flocaleid ='zh_CN' and FRULENAME = FPROJNAME and FPROJNAME != '其他') > 0;
