fix[project]: 同步待办如果有多阶段时,需要区分机台工位

This commit is contained in:
2026-03-22 10:33:44 +08:00
parent 4ff4a2da31
commit f85c462eef

View File

@@ -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()) {