Преглед на файлове

通知公告不显示修改

塔里木分支
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))


Зареждане…
Отказ
Запис