Browse Source

历史版本 优化

master
PoffyZhang 1 year ago
parent
commit
5fca9e17b4
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/service/impl/TodoServiceImpl.java

+ 3
- 0
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/service/impl/TodoServiceImpl.java View File

@@ -154,7 +154,10 @@ public class TodoServiceImpl implements ITodoService {
if(CollUtil.isEmpty(pis)){
return Boolean.FALSE;
}
//判断 项目关联的最新的2个实例 如果类型不匹配 也不属于是变更了
//还要看 项目当前的流程实例code 是不是 关联的最新实例
if( pis.size() < 2 ||
!pis.get(0).getInstCode().equals(project.getInstCode()) ||
!pis.get(0).getInstType().equals(pis.get(1).getInstType())) {
return Boolean.FALSE;
}


Loading…
Cancel
Save