-- 调整销售单据类型的编码
IF EXISTS (SELECT 1 FROM t_bas_billtype WHERE fid = 635910735930629120 AND FNUMBER = 'sm_delivernotice_Standard_BT_S'	)  UPDATE t_bas_billtype SET FNUMBER = 'sm_delivernotice_STD_BT_S'	WHERE fid = 635910735930629120;
IF EXISTS (SELECT 1 FROM t_bas_billtype WHERE fid = 587483350172726272 AND FNUMBER = 'sm_SalesOrder_Standard_BT_S'	)    UPDATE t_bas_billtype SET FNUMBER = 'sm_SalesOrder_STD_BT_S'	WHERE fid = 587483350172726272   ;