Browse Source

#区域天气为空

zhongwei
yang_shj 1 year ago
parent
commit
576536100a
  1. 2
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/HydropowerServiceImpl.java

2
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 * @return
*/ */
private String intervalTemp(Map<String, HeWeatherWeatherDailyResponse> week, String code,boolean flag) { private String intervalTemp(Map<String, HeWeatherWeatherDailyResponse> 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"; return "21";
} }
if(flag){ if(flag){

Loading…
Cancel
Save