Browse Source

Merge branch '20230731_ls2_operation+early_warning+safety_risk+portrait' of http://git.ningdatech.com/liushuai/project-management into dev

tags/24080901
PoffyZhang 1 year ago
parent
commit
74814e200d
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