Bläddra i källkod

当前节点办理人 +部门名称

西昌缴费二期
liangkun 2 år sedan
förälder
incheckning
bf525c9e51
1 ändrade filer med 7 tillägg och 2 borttagningar
  1. +7
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Controllers/NWFProcessController.cs

+ 7
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Controllers/NWFProcessController.cs Visa fil

@@ -24,6 +24,7 @@ namespace Learun.Application.Web.Areas.LR_NewWorkFlow.Controllers

private UserIBLL userIbll = new UserBLL();
private UserRelationIBLL userRelationIBLL = new UserRelationBLL();
private DepartmentIBLL departmentIbll = new DepartmentBLL();

#region 视图功能
/// <summary>
@@ -868,7 +869,9 @@ namespace Learun.Application.Web.Areas.LR_NewWorkFlow.Controllers
List<string> nextlist = nWFTaskIBLL.GetTaskUserList(F_TaskId).Select(m => m.F_UserId).ToList();
foreach (var uid in nextlist)
{
usernamelist.Add(userIbll.GetEntityByUserId(uid)?.F_RealName);
var userentity = userIbll.GetEntityByUserId(uid);
string deptname = departmentIbll.GetEntity(userentity?.F_DepartmentId)?.F_FullName;
usernamelist.Add("["+ deptname + "]"+userentity?.F_RealName);
}
return SuccessString(string.Join(",", usernamelist));
}
@@ -883,7 +886,9 @@ namespace Learun.Application.Web.Areas.LR_NewWorkFlow.Controllers
List<string> nextlist = nWFTaskIBLL.GetTaskUserList(tasklist.F_Id).Select(m => m.F_UserId).ToList();
foreach (var uid in nextlist)
{
usernamelist.Add(userIbll.GetEntityByUserId(uid)?.F_RealName);
var userentity = userIbll.GetEntityByUserId(uid);
string deptname = departmentIbll.GetEntity(userentity?.F_DepartmentId)?.F_FullName;
usernamelist.Add("[" + deptname + "]" + userentity?.F_RealName);
}
return SuccessString(string.Join(",", usernamelist));
}


Laddar…
Avbryt
Spara