--同步财行税申报日期到t_tctb_declare_main
update t_tctb_declare_main t 
set fsbrq =  (select max(fdeclaredate) from t_tcret_ccxws_info where fsbbid =concat(t.fid,''))
where t.fnsrtype ='ccxws' and t.fsbrq is null ;
