update t_bdm_inv_merge_rule set FUSEORG = forgid where FUSEORG = 0 or fuseorg is null;
update t_bdm_inv_merge_rule set fcreateorgid = forgid where fcreateorgid = 0;
update t_bdm_inv_merge_rule set fstatus = 'C' where fstatus = '' or fstatus = ' ';
update t_bdm_inv_merge_rule set fenable = '1' where fenable = '' or fenable = ' ';
update t_bdm_inv_merge_rule set fmasterid = fid where fmasterid = 0;