public ResponseResult<List<Role>> QueryProcessRoleUserList(RoleQuery query) { var result = ResponseResult<List<Role>>.Default(); try { var wfService = new WorkflowService(); var roleList = wfService.GetRoleUserListByProcess(query.ProcessGUID, query.Version).ToList(); result = ResponseResult<List<Role>>.Success(roleList, "成功获取流程定义的角色用户数据!"); } catch (System.Exception ex) { result = ResponseResult<List<Role>>.Error(string.Format( "获取流程定义的角色用户数据失败, 异常信息:{0}", ex.Message)); } return result; }