public bool GetStaticGroupInfo(Guid transactionid, AdminInfo admin, GroupInfo group, out string strJsonResult) { bool result = true; strJsonResult = string.Empty; string message = string.Empty; ErrorCodeInfo error = new ErrorCodeInfo(); string paramstr = string.Empty; paramstr += "useraccount:" + admin.UserAccount; paramstr += "||UserID:" + admin.UserID; paramstr += "||GroupID:" + group.GroupID; string funname = "GetStaticGroupInfo"; try { do { GroupProvider provider = new GroupProvider(); if (!provider.GetGroupInfo(transactionid, admin, ref group, out error)) { strJsonResult = JsonHelper.ReturnJson(false, Convert.ToInt32(error.Code), error.Info); LoggerHelper.Info(admin.UserAccount, funname, paramstr, Convert.ToString(error.Code), false, transactionid); result = false; break; } error.Code = ErrorCode.None; string json = JsonConvert.SerializeObject(group); LoggerHelper.Info(admin.UserAccount, funname, paramstr, Convert.ToString(error.Code), true, transactionid); strJsonResult = JsonHelper.ReturnJson(true, Convert.ToInt32(error.Code), error.Info, json); result = true; } while (false); } catch (Exception ex) { error.Code = ErrorCode.Exception; LoggerHelper.Info(admin.UserAccount, funname, paramstr, Convert.ToString(error.Code), false, transactionid); LoggerHelper.Error("StaticGroupManager调用GetStaticGroupInfo异常", paramstr, ex.ToString(), transactionid); strJsonResult = JsonHelper.ReturnJson(false, Convert.ToInt32(error.Code), error.Info); result = false; } return(result); }