|
|
@ -198,7 +198,7 @@ public class EntityActionService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
TbMsg tbMsg = TbMsg.newMsg(msgType, entityId, customerId, metaData, TbMsgDataType.JSON, json.writeValueAsString(entityNode)); |
|
|
TbMsg tbMsg = TbMsg.newMsg(msgType, entityId, customerId, metaData, TbMsgDataType.JSON, json.writeValueAsString(entityNode)); |
|
|
if (tenantId.isNullUid()) { |
|
|
if (tenantId == null || tenantId.isNullUid()) { |
|
|
if (entity instanceof HasTenantId) { |
|
|
if (entity instanceof HasTenantId) { |
|
|
tenantId = ((HasTenantId) entity).getTenantId(); |
|
|
tenantId = ((HasTenantId) entity).getTenantId(); |
|
|
} |
|
|
} |
|
|
|