Переглянути джерело

通知公告不显示修改

塔里木分支
dao 4 місяці тому
джерело
коміт
a267f3dcc1
1 змінених файлів з 6 додано та 6 видалено
  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 Переглянути файл

@@ -155,7 +155,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))
@@ -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<NewsEntity>();
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<NewsEntity>();
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<NewsEntity>();
foreach (var newsitemEntity in newsList)
@@ -1155,7 +1155,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))
@@ -1476,7 +1476,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))


Завантаження…
Відмінити
Зберегти