bugfix:修复新增初步诊断显示null的问题

dev_2.0.0
liu 2 years ago
parent c295051802
commit 72e0670e28

@ -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);

Loading…
Cancel
Save