-- 升级物料核算信息
UPDATE T_BD_MATERIALCALINFO SET FMBDMASTERID=FID WHERE FMBDMASTERID=0;


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