-- 历史数据处理 赋值差异分摊编号
update t_im_mdc_difsharedetail set fdiffshareno=(select fbillno from t_im_mdc_backdifshare where fid =fdiffshareid) where fdiffshareno =' ';

-- 历史数据处理 赋值分摊日期
update t_im_mdc_backdifshare set fsharedate=fcreatetime where fsharedate is null;