public ActionResult <UserSearchResModel> Manage_Role_By_User_Search_First(RoleByNodeSearchViewModel roleByNodeSearchViewModel) { UserSearchResModel userSearchResModel = new UserSearchResModel(); NextNodeByCurrentNodeSearchViewModel nextNodeByCurrentNodeSearchViewModel = new NextNodeByCurrentNodeSearchViewModel(); nextNodeByCurrentNodeSearchViewModel.Flow_NodeDefineId = roleByNodeSearchViewModel.Flow_NextNodeDefineId; nextNodeByCurrentNodeSearchViewModel.pageViewModel.PageSize = 99; nextNodeByCurrentNodeSearchViewModel.pageViewModel.CurrentPageNum = 0; var temp = _IFlowNodeDefineService.NextNodeDefine_Search(nextNodeByCurrentNodeSearchViewModel); nextNodeByCurrentNodeSearchViewModel.Flow_NodeDefineId = temp[0].Flow_NodeDefineId; var temp2 = _IFlowNodeDefineService.NextNodeDefine_Search(nextNodeByCurrentNodeSearchViewModel); roleByNodeSearchViewModel.Flow_NextNodeDefineId = temp2[0].Flow_NodeDefineId; userSearchResModel.user_Infos = _IWorkFlowService.User_By_Node_Search(roleByNodeSearchViewModel); userSearchResModel.isSuccess = true; userSearchResModel.TotalNum = userSearchResModel.user_Infos.Count; userSearchResModel.baseViewModel.Message = "根据用户查询角色成功"; userSearchResModel.baseViewModel.ResponseCode = 200; _ILogger.Information("根据节点查用户列表成功"); return(Ok(userSearchResModel)); }
public ActionResult <FlowNodeDefineSearchResModel> Manage_CurrentNodeToNextNode_Search(NextNodeByCurrentNodeSearchViewModel nextNodeByCurrentNodeSearchViewModel) { FlowNodeDefineSearchResModel flowNodeDefineSearchResModel = new FlowNodeDefineSearchResModel(); flowNodeDefineSearchResModel.flowNodeDefine_Info = _IFlowNodeDefineService.NextNodeDefine_Search(nextNodeByCurrentNodeSearchViewModel); flowNodeDefineSearchResModel.isSuccess = true; flowNodeDefineSearchResModel.TotalNum = _IFlowNodeDefineService.NodeDefine_Get_ALLNum(nextNodeByCurrentNodeSearchViewModel); flowNodeDefineSearchResModel.baseViewModel.Message = "根据当前节点查下一节点信息成功"; flowNodeDefineSearchResModel.baseViewModel.ResponseCode = 200; _ILogger.Information("根据当前节点查下一节点信息成功"); return(Ok(flowNodeDefineSearchResModel)); }