diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/DTListController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/DTListController.cs index 7e1aac7f2..6343a2f70 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/DTListController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/DTListController.cs @@ -189,6 +189,17 @@ namespace Learun.Application.Web.Areas.LR_Desktop.Controllers dtListEntity.F_Sql = dtListEntity.F_Sql.Replace("MMM", strSql.ToString()); } + if (dtListEntity.F_Name.Contains("公文接收")) + { + dtListEntity.F_Sql = + "SELECT RFileId as F_Id,Title as f_title,SendTime as f_time FROM dbo.Sys_ReceiveFile WHERE DelFlag=0 AND ReadFlag<>1 and STypeId=4 AND ReceiverId='" + + loginUserInfo.userId + "'"; + } + //金隅学校增加通知新闻已读标志 + if (dtListEntity.F_Url.Contains("/Notice/ViewIndex")) + { + dtListEntity.F_Sql = dtListEntity.F_Sql.Replace("@userId", "'" + loginUserInfo.userId + "'"); + } var reqDataTable = databaseLinkIbll.FindTable(dtListEntity.F_DataSourceId.Trim(), dtListEntity.F_Sql); if (dtListEntity.F_Id == "88f94781-acb8-47ca-864b-f96e3d9b5587") @@ -261,5 +272,7 @@ namespace Learun.Application.Web.Areas.LR_Desktop.Controllers } + + } }