瀏覽代碼

收文

master
edy 3 年之前
父節點
當前提交
f60fd2335f
共有 1 個文件被更改,包括 4 次插入6 次删除
  1. +4
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs

+ 4
- 6
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('&');


Loading…
取消
儲存