/// <summary> /// 获取指定供货商的上架发布目录ID /// </summary> /// <param name="Supplier"></param> /// <param name="Type"></param> /// <returns></returns> public static int GetPublishIDBySupplier(int Supplier, int Type) { ORD_PublishDAL dal = (ORD_PublishDAL)DataAccess.CreateObject(DALClassName); return(dal.GetPublishIDByClient(0, Supplier, Type)); }
/// <summary> /// 获取面向指定订货商的上架发布目录ID /// </summary> /// <param name="Client"></param> /// <param name="Type"></param> /// <returns></returns> public static int GetPublishIDByClient(int Client, int Type) { ORD_PublishDAL dal = (ORD_PublishDAL)DataAccess.CreateObject(DALClassName); return(dal.GetPublishIDByClient(Client, 0, Type)); }