mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-01 02:38:43 +08:00 
			
		
		
		
	【代码修复】 修复条件节点的预测问题
This commit is contained in:
		| @@ -641,7 +641,7 @@ public class SimpleModelUtils { | ||||
|         if (nodeType == BpmSimpleModelNodeType.CONDITION_BRANCH_NODE) { | ||||
|             // 查找满足条件的 BpmSimpleModelNodeVO 节点 | ||||
|             BpmSimpleModelNodeVO matchConditionNode = CollUtil.findOne(currentNode.getConditionNodes(), | ||||
|                     conditionNode -> BooleanUtil.isFalse(currentNode.getDefaultFlow()) | ||||
|                     conditionNode -> !BooleanUtil.isTrue(conditionNode.getDefaultFlow()) | ||||
|                         && evalConditionExpress(variables, conditionNode)); | ||||
|             if (matchConditionNode == null) { | ||||
|                 matchConditionNode = CollUtil.findOne(currentNode.getConditionNodes(), | ||||
| @@ -656,7 +656,7 @@ public class SimpleModelUtils { | ||||
|         if (nodeType == BpmSimpleModelNodeType.INCLUSIVE_BRANCH_NODE) { | ||||
|             // 查找满足条件的 BpmSimpleModelNodeVO 节点 | ||||
|             Collection<BpmSimpleModelNodeVO> matchConditionNodes = CollUtil.filterNew(currentNode.getConditionNodes(), | ||||
|                     conditionNode -> BooleanUtil.isFalse(currentNode.getDefaultFlow()) | ||||
|                     conditionNode -> !BooleanUtil.isTrue(conditionNode.getDefaultFlow()) | ||||
|                             && evalConditionExpress(variables, conditionNode)); | ||||
|             if (CollUtil.isEmpty(matchConditionNodes)) { | ||||
|                 matchConditionNodes = CollUtil.filterNew(currentNode.getConditionNodes(), | ||||
|   | ||||
| @@ -141,7 +141,7 @@ public class BpmTaskServiceImpl implements BpmTaskService { | ||||
|         // 2.1 查询我的首个任务 | ||||
|         Task todoTask = CollUtil.findOne(tasks, task -> { | ||||
|             return isAssignUserTask(userId, task) // 当前用户为审批人 | ||||
|                     || isAddSignUserTask(userId, task); // 当前用户为价钱人(为了减签) | ||||
|                     || isAddSignUserTask(userId, task); // 当前用户为加签人(为了减签) | ||||
|         }); | ||||
|         if (todoTask == null) { | ||||
|             return null; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jason
					jason