/// <summary> /// 获取用户的所有桌面设置 /// </summary> /// <param name="person">用户ID</param> /// <returns></returns> public Dictionary <string, string> FindSys_PersonDeskTopConfigByPerson(int person) { Dictionary <string, string> dicts = new Dictionary <string, string>(); QueryParameter parameter = new QueryParameter(); parameter.AddWhereExpr(SimpleExpression.Equal("PersonId", person)); IList <Sys_PersonDeskTopConfig> result = this._sys_PersonDeskTopConfigDAO.GetSys_PersonDeskTopConfigs(parameter); if (result != null && result.Count > 0) { foreach (Sys_PersonDeskTopConfig item in result) { dicts.Add(item.ConfigName, item.ConfigValue); } } return(dicts); }