|
|
|
@ -210,6 +210,7 @@ public class IotThingRelationRootServiceImpl extends BaseServiceImpl<IotThingRel |
|
|
|
public List<String> findAllGroup() { |
|
|
|
Optional<List<IotThingRelationRootEntity>> optional = Optional.ofNullable(mapper.selectListByQuery(QueryWrapper.create() |
|
|
|
.select(IOT_THING_RELATION_ROOT_ENTITY.GROUP_NAME) |
|
|
|
.eq(IotThingRelationRootEntity::getTenantCode,UserContext.getRealTenantCode()) |
|
|
|
.orderBy(IOT_THING_RELATION_ROOT_ENTITY.CREATE_DATE.desc()))); |
|
|
|
|
|
|
|
return optional.map(iotThingRelationRootEntities -> iotThingRelationRootEntities.stream() |
|
|
|
|