瀏覽代碼

测试 并行撤回

tags/24082201
PoffyZhang 1 年之前
父節點
當前提交
94868b345d
共有 1 個檔案被更改,包括 9 行新增3 行删除
  1. +9
    -3
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/handle/WithDrawHandle.java

+ 9
- 3
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/handle/WithDrawHandle.java 查看文件

@@ -81,16 +81,22 @@ public class WithDrawHandle {
.filter(c -> !NodeTypeEnum.CC.name().equals(c.getNodeType().name()))
.collect(Collectors.toList());

if (CollUtil.isEmpty(currentProgressInfo)){
return Boolean.FALSE;
}

//1.判断出 当前审批人和上一个审批人 如果传了taskid
ProgressNode progressNode = StringUtils.isBlank(param.getTaskId()) ?
currentProgressInfo.get(currentProgressInfo.size() - 1)
: findSubNodeByTaskId(param.getTaskId(),currentProgressInfo);
ProgressNode beforeProgressNode = null;
ProgressNode currentProgressNode = null;

if (CollUtil.isEmpty(currentProgressInfo)){
if (Objects.isNull(progressNode)){
return Boolean.FALSE;
}

ProgressNode beforeProgressNode = null;
ProgressNode currentProgressNode = null;

// 说明当前节点是子流程节点
// 如果是会签 或签 当前和上个
List<ProgressNode> thisAndOr = Lists.newArrayList();


Loading…
取消
儲存