Exemplo n.º 1
0
 public Guid GetOrgIdByIwCode(string iwCode)
 {
     try
     {
         Jinher.AMP.EBC.ISV.Facade.OrganizationQueryFacade orgDetail = new Jinher.AMP.EBC.ISV.Facade.OrganizationQueryFacade();
         orgDetail.ContextDTO = AuthorizeHelper.CoinInitAuthorizeInfo();
         return(orgDetail.GetOrgIdByIWCode(iwCode));
     }
     catch (Exception ex)
     {
         LogHelper.Error(string.Format("EBCSV.GetOrgIdByIWCode服务异常:获取应用信息异常。 IWCode:{0}", iwCode), ex);
     }
     return(Guid.Empty);
 }
Exemplo n.º 2
0
 public OrgInfoDTO GetOrgInfoById(Guid iwId)
 {
     try
     {
         Jinher.AMP.EBC.ISV.Facade.OrganizationQueryFacade orgDetail = new Jinher.AMP.EBC.ISV.Facade.OrganizationQueryFacade();
         orgDetail.ContextDTO = AuthorizeHelper.CoinInitAuthorizeInfo();
         return(orgDetail.GetOrgInfoById(iwId));
     }
     catch (Exception ex)
     {
         LogHelper.Error(string.Format("EBCSV.GetOrgIdByIWCode服务异常:获取应用信息异常。 IWId:{0}", iwId), ex);
     }
     return(null);
 }
Exemplo n.º 3
0
        public List <Guid> GetOrgIdsByUserIdAndCode(Guid UserId, string Code)
        {
            List <Guid> getOrgIdsByUserIdAndCode = new List <Guid>();

            try
            {
                Jinher.AMP.EBC.ISV.Facade.OrganizationQueryFacade orgDetail = new Jinher.AMP.EBC.ISV.Facade.OrganizationQueryFacade();
                orgDetail.ContextDTO = AuthorizeHelper.CoinInitAuthorizeInfo();
                List <Guid> orgIdList = orgDetail.GetOrgIdsByUserIdAndCode(UserId, Code);
            }
            catch (Exception ex)
            {
                LogHelper.Error(string.Format("EBCSV.GetOrgIdsByUserIdAndCode服务异常:获取应用信息异常。 UserId:{0},Code{1}", UserId, Code), ex);
            }
            return(getOrgIdsByUserIdAndCode);
        }