瀏覽代碼

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

西昌缴费二期
liangkun 2 年之前
父節點
當前提交
bf525c9e51
共有 1 個檔案被更改,包括 7 行新增2 行删除
  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 查看文件

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


Loading…
取消
儲存