示例#1
0
 public static DataTable GetProviderInfo(ProviderInfoModel ProviderInfoM, int pageIndex, int pageCount, string OrderBy, out int totalCount)
 {
     try
     {
         return(ProviderInfoDBHelper.GetProviderInfo(ProviderInfoM, pageIndex, pageCount, OrderBy, out totalCount));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#2
0
        /// <summary>
        /// 获取当前企业的供应商信息 Add by jiangym
        /// </summary>
        /// <param name="CompanyCD">企业编码</param>
        /// <returns>DataTable</returns>
        public static DataTable GetProviderInfo()
        {
            string CompanyCD = ((UserInfoUtil)SessionUtil.Session["UserInfo"]).CompanyCD;

            if (string.IsNullOrEmpty(CompanyCD))
            {
                return(null);
            }
            try
            {
                return(ProviderInfoDBHelper.GetProviderInfo(CompanyCD));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }