diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs index 414447cd0..f4d49d1f0 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs @@ -155,7 +155,7 @@ namespace Learun.Application.Web.Controllers ViewBag.ReceiveFileListStr = JsonConvert.SerializeObject(ViewBag.ReceiveFileList); //公告 List outnewslist = new List(); - var newsList = newsIBLL.GetList("", userInfo.userId); + var newsList = newsIBLL.GetList(""); foreach (var newsitemEntity in newsList) { if (!string.IsNullOrEmpty(newsitemEntity.F_SendPostId)) @@ -504,7 +504,7 @@ namespace Learun.Application.Web.Controllers //公告 Pagination paginationobj = new Pagination() { rows = 10, page = page, sidx = "F_CreateDate", sord = "desc" }; paginationobj.rows = 100; - var newsList = newsIBLL.GetList("", userinfo.userId); + var newsList = newsIBLL.GetList(""); //用户可以看到的通知公告 var newsListSelf = new List(); foreach (var newsitemEntity in newsList) @@ -592,7 +592,7 @@ namespace Learun.Application.Web.Controllers } //公告 Pagination paginationobj = new Pagination() { rows = 10, page = page, sidx = "F_CreateDate", sord = "desc" }; - var newsList = newsIBLL.GetList("", userinfo.userId); + var newsList = newsIBLL.GetList(""); //用户可以看到的通知公告 var newsListSelf = new List(); foreach (var newsitemEntity in newsList) @@ -734,7 +734,7 @@ namespace Learun.Application.Web.Controllers } //公告 Pagination paginationobj = new Pagination() { rows = 10, page = page, sidx = "F_CreateDate", sord = "desc" }; - var newsList = newsIBLL.GetList("", userinfo.userId); + var newsList = newsIBLL.GetList(""); //用户可以看到的通知公告 var newsListSelf = new List(); foreach (var newsitemEntity in newsList) @@ -1155,7 +1155,7 @@ namespace Learun.Application.Web.Controllers ViewBag.ReceiveFileListStr = JsonConvert.SerializeObject(ViewBag.ReceiveFileList); //公告 List outnewslist = new List(); - var newsList = newsIBLL.GetList("", userInfo.userId); + var newsList = newsIBLL.GetList(""); foreach (var newsitemEntity in newsList) { if (!string.IsNullOrEmpty(newsitemEntity.F_SendPostId)) @@ -1476,7 +1476,7 @@ namespace Learun.Application.Web.Controllers ViewBag.ReceiveFileListStr = JsonConvert.SerializeObject(ViewBag.ReceiveFileList); //公告 List outnewslist = new List(); - var newsList = newsIBLL.GetList("", userInfo.userId); + var newsList = newsIBLL.GetList(""); foreach (var newsitemEntity in newsList) { if (!string.IsNullOrEmpty(newsitemEntity.F_SendPostId))