|
@@ -47,7 +47,7 @@
|
|
|
<if test="waterPump.tenantId != null and waterPump.tenantId != ''">
|
|
|
and a.tenant_id = #{waterPump.tenantId}
|
|
|
</if>
|
|
|
- and b.SCENE_ID = #{waterPump.sceneId}
|
|
|
+ and b.PARENT_SCENE_ID = #{waterPump.sceneId}
|
|
|
<if test="waterPump.deviceIds !=null and waterPump.deviceIds.size > 0">
|
|
|
and a.DEVICE_ID in
|
|
|
<foreach collection="waterPump.deviceIds" item="dramaId" open="(" close=")" separator=",">
|