|
|
@@ -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)); |
|
|
|
} |
|
|
|