/// <summary> /// 获取菜单列表 /// </summary> /// <param name="User_ID">用户ID</param> /// <returns></returns> public List <SPT_Menus_User_Result> Get_Menus(string User_ID) { try { using (JSZX_ResourceEntities db = new JSZX_ResourceEntities()) { var linq = from t in db.SPT_Menus_User(User_ID, "02") select t; return(linq.ToList()); } } catch (Exception ex) { clsLog.ErrorLog("MenuOperate", "Get_Menus", ex.Message); return(null); } }