Kaynağa Gözat

通知公告不显示修改

塔里木分支
dao 4 ay önce
ebeveyn
işleme
a267f3dcc1
1 değiştirilmiş dosya ile 6 ekleme ve 6 silme
  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 Dosyayı Görüntüle

@@ -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))


Yükleniyor…
İptal
Kaydet