Browse Source

修复线上泵站问题

lihui007 3 years ago
parent
commit
432332d575

+ 1 - 1
sms_water/src/main/resources/mapper/ReportWaterPumpStateMapper.xml

@@ -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=",">