diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/handle/WithDrawHandle.java b/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/handle/WithDrawHandle.java index 8decebe..e4966b2 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/handle/WithDrawHandle.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/handle/WithDrawHandle.java @@ -52,7 +52,7 @@ public class WithDrawHandle { .processInstanceId(instanceId).singleResult(); UserInfoDetails userInfoDetails = LoginUserUtil.loginUserDetail(); String employeeCode = userInfoDetails.getEmployeeCode(); - //如果不是当前登录人 + //如果不是审核中 if(!ProcessStatusEnum.UNDER_REVIEW.getDesc() .equals(progressInstanceDetail.getStatus())){ return Boolean.FALSE; @@ -187,6 +187,8 @@ public class WithDrawHandle { if(beforeAndOr.isEmpty()){ //放入假设的那个点 beforeAndOr.add(beforeAndOrNode); + //如果 上个节点也是 会签|或签 那么就置为null + beforeNode = null; } beforeAndOr.add(progressNodes.get(i)); }