瀏覽代碼

修复线上泵站问题

lihui007 3 年之前
父節點
當前提交
432332d575
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sms_water/src/main/resources/mapper/ReportWaterPumpStateMapper.xml

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