修改代码
This commit is contained in:
parent
5fc82d4bc3
commit
a99053e108
|
|
@ -247,15 +247,11 @@ public class ThingsBoardDomainImpl implements IThingsBoardDomain {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
// 调用 findInfoByFrom 查询从网关出发的关系信息
|
|
||||||
// 对应前端 API: GET /api/relations/info?fromId=xxx&fromType=DEVICE&relationTypeGroup=COMMON
|
|
||||||
log.info("--------------------------" + gatewayDeviceId);
|
|
||||||
EntityId gatewayId = new EntityId() {
|
EntityId gatewayId = new EntityId() {
|
||||||
@Override
|
@Override
|
||||||
public UUID getId() {
|
public UUID getId() {
|
||||||
return UUID.fromString(gatewayDeviceId);
|
return UUID.fromString(gatewayDeviceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EntityType getEntityType() {
|
public EntityType getEntityType() {
|
||||||
return EntityType.DEVICE;
|
return EntityType.DEVICE;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue