Преглед на файлове

台账日志 增加参数,温度范围查询

yanliming преди 5 години
родител
ревизия
0c8bd63a2b
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      web/src/main/java/com/jpsoft/smart/modules/base/controller/PersonDeviceLogController.java

+ 3 - 0
web/src/main/java/com/jpsoft/smart/modules/base/controller/PersonDeviceLogController.java

@@ -108,6 +108,9 @@ public class PersonDeviceLogController {
             String minTemperature = "";
             String maxTemperature = "";
 
+            if(temperatureRangeArray.length == 1){
+                minTemperature = temperatureRangeArray[0];
+            }
             if(temperatureRangeArray.length == 2){
                 minTemperature = temperatureRangeArray[0];
                 maxTemperature = temperatureRangeArray[1];