Browse Source

办事大厅通知公告不显示问题修复

新疆警官学校中职
坤 梁 1 year ago
parent
commit
6e2c93a206
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs

+ 6
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs View File

@@ -174,7 +174,7 @@ namespace Learun.Application.Web.Controllers
List<NewsEntity> outnewslist = new List<NewsEntity>();

paginationobj.rows = 100;
var newsList = newsIBLL.GetList("", userinfo.userId);
var newsList = newsIBLL.GetList("", "");
foreach (var newsitemEntity in newsList)
{
if (!string.IsNullOrEmpty(newsitemEntity.F_SendPostId))
@@ -318,7 +318,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<NewsEntity>();
foreach (var newsitemEntity in newsList)
@@ -406,7 +406,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<NewsEntity>();
foreach (var newsitemEntity in newsList)
@@ -548,7 +548,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<NewsEntity>();
foreach (var newsitemEntity in newsList)
@@ -973,7 +973,7 @@ namespace Learun.Application.Web.Controllers
ViewBag.ReceiveFileListStr = JsonConvert.SerializeObject(ViewBag.ReceiveFileList);
//公告
List<NewsEntity> outnewslist = new List<NewsEntity>();
var newsList = newsIBLL.GetList("", userInfo.userId);
var newsList = newsIBLL.GetList("", "");
foreach (var newsitemEntity in newsList)
{
if (!string.IsNullOrEmpty(newsitemEntity.F_SendPostId))
@@ -1311,7 +1311,7 @@ namespace Learun.Application.Web.Controllers
ViewBag.ReceiveFileListStr = JsonConvert.SerializeObject(ViewBag.ReceiveFileList);
//公告
List<NewsEntity> outnewslist = new List<NewsEntity>();
var newsList = newsIBLL.GetList("", userInfo.userId);
var newsList = newsIBLL.GetList("","");
foreach (var newsitemEntity in newsList)
{
if (!string.IsNullOrEmpty(newsitemEntity.F_SendPostId))


Loading…
Cancel
Save