From 8606c87e2807ba8074e949635c7eed08de776f36 Mon Sep 17 00:00:00 2001 From: zhichao lei <442149704@qq.com> Date: Wed, 11 Nov 2020 14:11:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E9=9A=85=E9=80=9A=E7=9F=A5=E5=85=AC?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Areas/LR_OAModule/Controllers/NoticeController.cs | 2 +- .../Areas/LR_OAModule/Views/Notice/ViewIndex.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NoticeController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NoticeController.cs index 58e0cc085..cbfd94505 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NoticeController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NoticeController.cs @@ -188,7 +188,7 @@ namespace Learun.Application.Web.Areas.LR_OAModule.Controllers var userinfo = LoginUserInfo.Get(); Pagination paginationobj = new Pagination(); var newsList = noticeIBLL.GetList(keyword, userinfo.userId, categoryId). - Select(a => a.F_Status == "2"); + Where(a => a.F_Status == "2"); var newsListOfSelf = new List(); foreach (var newsitemEntity in newsList) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/ViewIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/ViewIndex.js index 54430947a..849a56450 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/ViewIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/ViewIndex.js @@ -42,7 +42,7 @@ var bootstrap = function ($, learun) { }, initGrid: function () { $('#gridtable').jfGrid({ - url: top.$.rootUrl + '/LR_OAModule/Notice/GetListOfSelf', + url: top.$.rootUrl + '/LR_OAModule/Notice/GetListOfSelfJY', headData: [ { label: '公告标题', name: 'F_FullHead', index: 'F_FullHead', width: 600, align: 'left' }, { label: '公告类别', name: 'F_Category', index: 'F_Category', width: 100, align: 'center' },