fix(sj_1.1.0-beta2): 工作流详情添加批次状态
This commit is contained in:
		
							parent
							
								
									90c60430b2
								
							
						
					
					
						commit
						b1daac79d0
					
				| @ -55,6 +55,11 @@ public class WorkflowDetailResponseVO { | ||||
|      */ | ||||
|     private Integer workflowStatus; | ||||
| 
 | ||||
|     /** | ||||
|      * see: {@link com.aizuda.snailjob.common.core.enums.JobTaskBatchStatusEnum} | ||||
|      */ | ||||
|     private Integer workflowBatchStatus; | ||||
| 
 | ||||
|     /** | ||||
|      * 工作流上下文 | ||||
|      */ | ||||
|  | ||||
| @ -111,6 +111,7 @@ public class WorkflowBatchServiceImpl implements WorkflowBatchService { | ||||
|         Workflow workflow = workflowMapper.selectById(workflowTaskBatch.getWorkflowId()); | ||||
| 
 | ||||
|         WorkflowDetailResponseVO responseVO = WorkflowConverter.INSTANCE.convert(workflow); | ||||
|         responseVO.setWorkflowBatchStatus(workflowTaskBatch.getTaskBatchStatus()); | ||||
|         List<WorkflowNode> workflowNodes = workflowNodeMapper.selectList(new LambdaQueryWrapper<WorkflowNode>() | ||||
|             .eq(WorkflowNode::getDeleted, StatusEnum.NO.getStatus()) | ||||
|             .eq(WorkflowNode::getWorkflowId, workflow.getId())); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 opensnail
						opensnail