From 576536100a9ed2b3983a35222d3c98b0031ca247 Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Wed, 23 Aug 2023 16:32:51 +0800 Subject: [PATCH] =?UTF-8?q?#=E5=8C=BA=E5=9F=9F=E5=A4=A9=E6=B0=94=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hnac/hzims/operational/main/service/impl/HydropowerServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/HydropowerServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/HydropowerServiceImpl.java index 64689f0..e24f360 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/HydropowerServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/HydropowerServiceImpl.java @@ -1593,7 +1593,7 @@ public class HydropowerServiceImpl implements HydropowerService { * @return */ private String intervalTemp(Map week, String code,boolean flag) { - if(MapUtils.isEmpty(week) || !week.containsKey(code)){ + if(MapUtils.isEmpty(week) || !week.containsKey(code) || ObjectUtil.isEmpty(week.get(code))){ return "21"; } if(flag){