소스 검색

报警修改

wangli 4 년 전
부모
커밋
9a3d8f97bd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>
         where  a.ALARM_VALUE is not null and a.ALARM_CONDITION is not null
         <if test="deviceCode != null">
-            d.DEVICE_CODE=#{deviceCode}
+            and d.DEVICE_CODE=#{deviceCode}
         </if>
     </select>