Commit 8cdc65f1 authored by 鲁鸿波's avatar 鲁鸿波

天气bug处理

parent f9d07f18
......@@ -134,7 +134,10 @@ public class WeatherServiceImpl extends SuperServiceImpl<WeatherDao, WeatherDoma
queryWrapper.eq("area_code", areaCode);
queryWrapper.eq("status", "0");
SysArea one = sysAreaService.getOne(queryWrapper);
return one.getTreeNames().replace("/", "");
if (one != null) {
return one.getTreeNames().replace("/", "");
}
return null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment