wangli vor 4 Jahren
Ursprung
Commit
9a3d8f97bd
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      sms_water/src/main/resources/mapper/AlarmDetailMapper.xml

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

@@ -593,7 +593,7 @@
         </if>
         </if>
         where  a.ALARM_VALUE is not null and a.ALARM_CONDITION is not null
         where  a.ALARM_VALUE is not null and a.ALARM_CONDITION is not null
         <if test="deviceCode != null">
         <if test="deviceCode != null">
-            d.DEVICE_CODE=#{deviceCode}
+            and d.DEVICE_CODE=#{deviceCode}
         </if>
         </if>
     </select>
     </select>