mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	【功能优化】工作流:审批详情,接入 BpmnModelUtils 进行预测
This commit is contained in:
		@@ -788,4 +788,14 @@ public class BpmnModelUtils {
 | 
				
			|||||||
        return Boolean.TRUE.equals(result);
 | 
					        return Boolean.TRUE.equals(result);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @SuppressWarnings("PatternVariableCanBeUsed")
 | 
				
			||||||
 | 
					    public static boolean isSequentialUserTask(FlowElement flowElement) {
 | 
				
			||||||
 | 
					        if (!(flowElement instanceof UserTask)) {
 | 
				
			||||||
 | 
					            return false;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        UserTask userTask = (UserTask) flowElement;
 | 
				
			||||||
 | 
					        MultiInstanceLoopCharacteristics loopCharacteristics = userTask.getLoopCharacteristics();
 | 
				
			||||||
 | 
					        return loopCharacteristics != null && loopCharacteristics.isSequential();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user