edy vor 3 Jahren
Ursprung
Commit
11645ef6e2
1 geänderte Dateien mit 1 neuen und 6 gelöschten Zeilen
  1. +1
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs

+ 1
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs Datei anzeigen

@@ -230,7 +230,6 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
var listTaskLog = nWFTaskIBLL.GetLogList(dispatchEntity.processId); var listTaskLog = nWFTaskIBLL.GetLogList(dispatchEntity.processId);
var nwfTaskLogEntity = listTaskLog.FirstOrDefault(a => a.F_TaskUserName == "超级管理员"); 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).OrderByDescending(o => o.F_Id).ToList();
string strnull = " ";
if (listTaskLog.Count() > 0) if (listTaskLog.Count() > 0)
{ {
for (int i = 1; i < PrintList.Count; i++) for (int i = 1; i < PrintList.Count; i++)
@@ -242,15 +241,11 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
ViewBag.SignImg = nwfTaskLogEntity.F_SignImg; ViewBag.SignImg = nwfTaskLogEntity.F_SignImg;
} }


dispatchEntity.Listarray += PrintList[i].F_CreateUserName + strnull + PrintList[i].F_CreateDate + strnull + "阅" + "&";
//ViewBag.Time += PrintList[i].F_CreateDate + " ";
//ViewBag.Remark += "阅" + "&";
dispatchEntity.Listarray += PrintList[i].F_CreateUserName + PrintList[i].F_CreateDate + "阅" + "&";
} }
dispatchEntity.Listarray = dispatchEntity.Listarray.TrimEnd('&'); dispatchEntity.Listarray = dispatchEntity.Listarray.TrimEnd('&');
List<string> aaList = new List<string>(dispatchEntity.Listarray.Split('&')); List<string> aaList = new List<string>(dispatchEntity.Listarray.Split('&'));
ViewBag.aaList = aaList; ViewBag.aaList = aaList;
//ViewBag.Time = ViewBag.Time.ToString().TrimEnd('&');
//ViewBag.Remark = ViewBag.Remark.TrimEnd('&');
} }
return View(dispatchEntity); return View(dispatchEntity);
} }


Laden…
Abbrechen
Speichern