Commit dd196498 authored by zhuxiang's avatar zhuxiang
Browse files

增加空判断

parent 5039e026
...@@ -61,12 +61,15 @@ public class NodeServiceImpl extends ServiceImpl<NodeMapper, NodeEntity> impleme ...@@ -61,12 +61,15 @@ public class NodeServiceImpl extends ServiceImpl<NodeMapper, NodeEntity> impleme
List<NodeVO> result = Lists.newArrayList(); List<NodeVO> result = Lists.newArrayList();
excelDataEntityListNew.forEach(excelDataVO -> { excelDataEntityListNew.forEach(excelDataVO -> {
if (excelDataVO != null) {
NodeVO person = new NodeVO(); NodeVO person = new NodeVO();
person.setNode(excelDataVO.getPayUserName()); person.setNode(excelDataVO.getPayUserName());
person.setNodeNum(excelDataVO.getNodeNum()); person.setNodeNum(excelDataVO.getNodeNum());
person.setLabel(excelDataVO.getLabel()); person.setLabel(excelDataVO.getLabel());
person.setNodeType("个人"); person.setNodeType("个人");
result.add(person); result.add(person);
}
}); });
return result; return result;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment