瀏覽代碼

党办收文打印去掉发起人 和最后一个人审批流程

同煤学院(新)
ndbs 2 週之前
父節點
當前提交
ce85886d88
共有 1 個檔案被更改,包括 6 行新增2 行删除
  1. +6
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs

+ 6
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs 查看文件

@@ -294,6 +294,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
{
dispatchEntity.Render = firstList[i].F_Des;
ViewBag.pSList += firstList[i].F_CreateUserName + firstList[i].F_CreateDate + "阅" + "&";
break;
}
}
var PrintList = nWFTaskIBLL.GetLogList(dispatchEntity.processId).GroupBy(o => o.F_CreateUserName).Select(o => new
@@ -304,9 +305,12 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
var newList = PrintList.Where(s => PrintList.Select(mo => mo.F_CreateDate).Contains(s.F_CreateDate)).OrderBy(s => s.F_CreateDate).ToList();
for (int i = 1; i < newList.Count; i++)
{
if (!ViewBag.pSList.Contains(newList[i].F_CreateUserName))
if (i != 1 && i != newList.Count)
{
ViewBag.pSList += newList[i].F_CreateUserName + newList[i].F_CreateDate + "阅" + "&";
if (!ViewBag.pSList.Contains(newList[i].F_CreateUserName))
{
ViewBag.pSList += newList[i].F_CreateUserName + newList[i].F_CreateDate + "阅" + "&";
}
}
}
ViewBag.pSList = ViewBag.pSList.TrimEnd('&');


Loading…
取消
儲存