diff --git a/ruoyi-modules/hw-data-process/src/main/java/com/ruoyi/dataprocess/service/impl/DataProcessServiceImpl.java b/ruoyi-modules/hw-data-process/src/main/java/com/ruoyi/dataprocess/service/impl/DataProcessServiceImpl.java index afdbb22..50d0ef6 100644 --- a/ruoyi-modules/hw-data-process/src/main/java/com/ruoyi/dataprocess/service/impl/DataProcessServiceImpl.java +++ b/ruoyi-modules/hw-data-process/src/main/java/com/ruoyi/dataprocess/service/impl/DataProcessServiceImpl.java @@ -416,9 +416,10 @@ public class DataProcessServiceImpl extends CommanHandleService implements IData */ if(alarmRule.getTriggerTimeFrame() != null && alarmRule.getTriggerTimeFrame() > 0){ double difValue = FilterDeviceValue(deviceId, fieldName, alarmRule.getTriggerTimeFrame()); - if(difValue > 0){ - filedValue = difValue; - } +// if(difValue > 0){ +// filedValue = difValue; +// } + filedValue = difValue; } /** End **/