diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs index 18d29bb01..08656e5e6 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs @@ -228,19 +228,17 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers //获取校长的签名盖章 批示+时间+阅 var listTaskLog = nWFTaskIBLL.GetLogList(dispatchEntity.processId); - var nwfTaskLogEntity = listTaskLog.FirstOrDefault(a => a.F_TaskUserName == "超级管理员"); - var PrintList = nWFTaskIBLL.GetLogList(dispatchEntity.processId).OrderByDescending(o => o.F_Id).ToList(); + var PrintList = nWFTaskIBLL.GetLogList(dispatchEntity.processId).OrderBy(o => o.F_CreateDate).ToList(); if (listTaskLog.Count() > 0) { - for (int i = 1; i < PrintList.Count; i++) + for (int i = 0; i < PrintList.Count; i++) { if (i == 1) { dispatchEntity.Render = PrintList[i].F_Des; - ViewBag.StampImg = nwfTaskLogEntity.F_StampImg; - ViewBag.SignImg = nwfTaskLogEntity.F_SignImg; + ViewBag.StampImg = PrintList[i].F_StampImg; + ViewBag.SignImg = PrintList[i].F_SignImg; } - dispatchEntity.Listarray += PrintList[i].F_CreateUserName + PrintList[i].F_CreateDate + "阅" + "&"; } dispatchEntity.Listarray = dispatchEntity.Listarray.TrimEnd('&');