We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2617f3a commit 44ca43dCopy full SHA for 44ca43d
src/env/infrastructure/digitaltwins/DigitalTwinManager.java
@@ -98,9 +98,8 @@ public final Optional<ActuatorID> findActuatorInRoom(final ActuatorType actuator
98
"T",
99
ActuatorAdtPresentation.HAS_ACTUATOR_RELATIONSHIP
100
).where("T.$dtId = '" + roomID.getId() + "'")
101
- .and("CT.type = '"
+ .and("CT.type = "
102
+ ActuatorAdtPresentation.toActuatorDigitalTwinType(actuatorType)
103
- + "'"
104
).toQuery(),
105
String.class).stream()
106
.findFirst()
0 commit comments