فهرست منبع

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

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];