Commit 1847457a authored by 梁光意's avatar 梁光意

修改代码

parent c8eecb7d
Pipeline #9655 failed with stages
in 1 minute 39 seconds
......@@ -396,7 +396,7 @@ public class InstrumentPanelTreeServiceImpl extends ServiceImpl<InstrumentPanelT
List<InstrumentPanelTree> filteredTrees=allGroups;
Map<String, InstrumentPanelTree> allMaps=allGroups.stream().collect(Collectors.toMap(InstrumentPanelTree::getFullId, x->x));
Map<String, InstrumentPanelTree> filteredMaps=allMaps;
where.like(InstrumentPanelTree::getName, name);
where.like(InstrumentPanelTree::getFullName, name);
if(StringUtils.isNotBlank(name)){
filteredTrees=baseMapper.selectList(where);
filteredMaps=filteredTrees.stream().collect(Collectors.toMap(InstrumentPanelTree::getFullId, x->x));
......
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