public string GetTeamStaticList(GetTeamStaticListM entity)
        {
            string        retstr = "ok";
            IPM_EM_TEAMBO ibo    = ObjectContainer.BuildUp <IPM_EM_TEAMBO>();

            IList <PM_EM_TEAM> list = new List <PM_EM_TEAM>();

            if (entity != null)
            {
                try
                {
                    PM_EM_TEAM_QueryParam ent = new PM_EM_TEAM_QueryParam();
                    ent.LineID           = entity.Static;
                    ent.TeamLeaderCardID = entity.User;
                    list = ibo.GetEntities(ent);

                    if (list == null || list.Count == 0)
                    {
                        retstr = "没有查看的权限!";
                    }
                }
                catch (Exception e)
                {
                    throw e;
                }
            }
            else
            {
                return(null);
            }

            return(retstr);
        }