edy před 3 roky
rodič
revize
f60fd2335f
1 změnil soubory, kde provedl 4 přidání a 6 odebrání
  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 Zobrazit soubor

@@ -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('&');


Načítá se…
Zrušit
Uložit