Browse Source

数据权限

master
PoffyZhang 1 year ago
parent
commit
7a1eb44657
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 3
- 1
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java View File

@@ -540,9 +540,10 @@ public class TodoCenterManage {
} }
//进入上一个节点的标识 //进入上一个节点的标识
Boolean enterBefore = Boolean.FALSE; Boolean enterBefore = Boolean.FALSE;
String thisAndOrNodeId = curr.getNodeId();
for(int i = progressNodes.size() - 2;i >= 0;i--){ for(int i = progressNodes.size() - 2;i >= 0;i--){
//说明有会签 或签 //说明有会签 或签
if(progressNodes.get(i).getNodeId().equals(curr.getNodeId())){
if(progressNodes.get(i).getNodeId().equals(thisAndOrNodeId)){
//还在当前节点 //还在当前节点
if(!enterBefore){ if(!enterBefore){
if(thisAndOr.isEmpty()){ if(thisAndOr.isEmpty()){
@@ -558,6 +559,7 @@ public class TodoCenterManage {
beforeAndOr.add(progressNodes.get(i)); beforeAndOr.add(progressNodes.get(i));
} }
}else{ }else{
thisAndOrNodeId = progressNodes.get(i).getNodeId();
if(!enterBefore){ if(!enterBefore){
beforeNode = progressNodes.get(i); beforeNode = progressNodes.get(i);
enterBefore = Boolean.TRUE; enterBefore = Boolean.TRUE;


Loading…
Cancel
Save