|
|
|
@ -137,7 +137,11 @@ public class AskPrimaryServiceImpl implements AskPrimaryService {
|
|
|
|
|
List<ChooseNode> physicalList = physicalHistoryList.stream().map(e -> {
|
|
|
|
|
ChooseNode chooseNode = new ChooseNode();
|
|
|
|
|
chooseNode.setNodeId(e.getId());
|
|
|
|
|
if (StrUtil.isEmpty(e.getLocationName())) {
|
|
|
|
|
chooseNode.setName(e.getToolName());
|
|
|
|
|
} else {
|
|
|
|
|
chooseNode.setName(StrUtil.join(" | ", e.getToolName(), e.getLocationName()));
|
|
|
|
|
}
|
|
|
|
|
return chooseNode;
|
|
|
|
|
}).collect(Collectors.toList());
|
|
|
|
|
resVO.setPhysicalList(physicalList);
|
|
|
|
|