Commit 5504a6a0 authored by linruibiao's avatar linruibiao

接口编写

parent eff42b35
...@@ -57,6 +57,7 @@ public class InstrumentPanelGroupServiceImpl extends ServiceImpl<InstrumentPanel ...@@ -57,6 +57,7 @@ public class InstrumentPanelGroupServiceImpl extends ServiceImpl<InstrumentPanel
LambdaQueryWrapper<InstrumentPanelGroup> where = new LambdaQueryWrapper<>(); LambdaQueryWrapper<InstrumentPanelGroup> where = new LambdaQueryWrapper<>();
where.eq(BaseEntity::getAppId, appId); where.eq(BaseEntity::getAppId, appId);
where.eq(BaseEntity::getRecordStatus, SlmConstants.DATA_VALID); where.eq(BaseEntity::getRecordStatus, SlmConstants.DATA_VALID);
where.orderByAsc(BaseEntity::getCreateTime);
List<InstrumentPanelGroupVo> allGroups=baseMapper.selectGroupList(where); List<InstrumentPanelGroupVo> allGroups=baseMapper.selectGroupList(where);
List<InstrumentPanelGroupVo> filteredGroups=allGroups; List<InstrumentPanelGroupVo> filteredGroups=allGroups;
Map<String, InstrumentPanelGroupVo> allMap=allGroups.stream().collect(Collectors.toMap(InstrumentPanelGroupVo::getId, x->x)); Map<String, InstrumentPanelGroupVo> allMap=allGroups.stream().collect(Collectors.toMap(InstrumentPanelGroupVo::getId, 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