public List <Ld_Institution_Store> GetStorePagingPro(int systemId, string companyId, int pageId, int pageSize, out int rowCount) { try { if (systemId == 0) { throw new Exception("系统编号不能为0!"); } if (string.IsNullOrWhiteSpace(companyId)) { throw new Exception("公司编号不能为空!"); } int errCode = -1; string errMsg = "fail"; var result = LdCmsDbEntitiesContext.SP_Get_Institution_StorePaging(systemId, companyId, pageId, pageSize, out errCode, out errMsg, out rowCount); if (errCode != 0) { throw new Exception(errMsg); } return(result == null ? null : result.ToObject <List <Ld_Institution_Store> >()); } catch (Exception ex) { throw new Exception(ex.Message); } }