-- 升级物料生产信息
UPDATE T_BD_MATERIALMFTINFO SET FMBDMASTERID=FID WHERE FMBDMASTERID=0;

UPDATE T_BD_DEFAULTCTRLSTRATEGY SET FMASTERIDFIELDNAME='fmbdmasterid',FMASTERIDPROPNAME='mbdmasterid' WHERE FBASEDATAID = 'bd_materialmftinfo';
