stream流浅拷贝
浅拷贝在stream中未使用map等方式,此时是浅拷贝List<EmapMachineDTO> distinctList machineVOList.stream().collect(Collectors.toMap(dto -> buildDedupKey(dto.getDepartment(),dto.getPhase(),dto.getMachineId(),dto.getModuleSec()),Function.ident…
2026/7/31 14:37:06