浏览代码

通知公告不显示修改

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


正在加载...
取消
保存