Commit c3259963 authored by linruibiao's avatar linruibiao

接口编写

parent 52639b26
Pipeline #9227 passed with stages
in 1 minute 7 seconds
...@@ -95,7 +95,7 @@ public class InstrumentPanelServiceImpl extends ServiceImpl<InstrumentPanelMappe ...@@ -95,7 +95,7 @@ public class InstrumentPanelServiceImpl extends ServiceImpl<InstrumentPanelMappe
if(CollectionUtils.isNotEmpty(response.getRecords())){ if(CollectionUtils.isNotEmpty(response.getRecords())){
Set<String> ids = response.getRecords() Set<String> ids = response.getRecords()
.stream() .stream()
.filter(x -> "发布".equals(x.getPublished())) .filter(x -> "发布".equals(x.getPublished()))
.map(BaseEntity::getId) .map(BaseEntity::getId)
.collect(Collectors.toSet()); .collect(Collectors.toSet());
if(CollectionUtils.isNotEmpty(ids)){ if(CollectionUtils.isNotEmpty(ids)){
......
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