YYC
2023-11-06 9e253a7fd8f57e1f7c3e7288a36167ff878ab28d
igds-core/src/main/java/com/ld/igds/io/impl/NotifyGrainInvokerImpl.java
@@ -154,6 +154,9 @@
    // 从缓存中获取当前的外温度外部湿度
    private Grain addWeatherInfo(Grain grain) {
        if(grain.getHumidityOut() != null && grain.getTempOut() != null){
            return grain;
        }
        WeatherInfo weatherInfo = weatherService.getCacheWeather(grain.getCompanyId());
        Double tOut = -100.0, hOut = -100.0;
        if (null != weatherInfo) {