fix[project]: 同步待办如果有多阶段时,需要区分机台工位
This commit is contained in:
@@ -572,7 +572,7 @@ public class LyricInternalServiceImpl implements ILyricInternalService {
|
||||
if (StringUtils.isNotBlank(req.getPhaseId())) {
|
||||
// 填充需求的工位ID
|
||||
Optional<SimulationNode> workspaceNodeOptional = allNodeList.stream()
|
||||
.filter(node -> NodeTypeEnum.WORKSPACE.getValue().equals(node.getNodeType())
|
||||
.filter(node -> req.getPhaseId().equals(node.getTag2()) && NodeTypeEnum.WORKSPACE.getValue().equals(node.getNodeType())
|
||||
&& node.getNodeCode().equals(todo.getStationNum()))
|
||||
.findFirst();
|
||||
if (workspaceNodeOptional.isPresent()) {
|
||||
|
||||
Reference in New Issue
Block a user