|
@@ -1390,7 +1390,7 @@ public class PlanServiceImpl extends ServiceImpl<PlanMapper, Plan> implements Pl
|
|
|
}
|
|
|
});
|
|
|
ps.setProdProcedureTeamList(procedureTeamList);
|
|
|
- if(procedureTeamList.stream().anyMatch(pl->pl.getStatus()==0&&pl.getUserId().equals(userId))){
|
|
|
+ if(procedureTeamList.stream().anyMatch(pl->pl.getUserId()!=null&&pl.getStatus()==0&&pl.getUserId().equals(userId))){
|
|
|
ps.setCanReceive(true);
|
|
|
}
|
|
|
if(!StringUtils.isEmpty(ps.getTeamIds())){
|
|
@@ -1407,7 +1407,7 @@ public class PlanServiceImpl extends ServiceImpl<PlanMapper, Plan> implements Pl
|
|
|
if(procedureTeamList.stream().anyMatch(pl->pl.getProgress()>0&&pl.getStatus()==4)){
|
|
|
ps.setNeedAddCircle(true);
|
|
|
}
|
|
|
- if(procedureTeamList.stream().anyMatch(pl->pl.getUserId().equals(userId)&&pl.getStatus()==1)){
|
|
|
+ if(procedureTeamList.stream().anyMatch(pl->pl.getUserId()!=null&&pl.getUserId().equals(userId)&&pl.getStatus()==1)){
|
|
|
ps.setCancellationReceive(true);
|
|
|
}
|
|
|
}
|