Browse Source

可撤回操作 判断 优化

tags/24080901
PoffyZhang 1 year ago
parent
commit
54ef7980f6
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/handle/WithDrawHandle.java

+ 3
- 1
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/handle/WithDrawHandle.java View File

@@ -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));
}


Loading…
Cancel
Save