Bläddra i källkod

报警列表查询条件

sunhh 1 år sedan
förälder
incheckning
4a7a50f938
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      business-service/src/main/resources/mapper/MsgAlarmMapper.xml

+ 6 - 0
business-service/src/main/resources/mapper/MsgAlarmMapper.xml

@@ -220,6 +220,12 @@
             <if test="alarmMile != null and alarmMile != 0">
                 and alarm_mile = #{alarmMile}
             </if>
+            <if test="beginMile != null and beginMile != 0">
+                and alarm_mile &gt;= #{beginMile}
+            </if>
+            <if test="endMile != null and endMile != 0">
+                and alarm_mile &lt;= #{endMile}
+            </if>
             <if test="isRelease != null and isRelease != 0">
                 and is_release = #{isRelease}
             </if>