Commit 938ce2df authored by fangxinjiang's avatar fangxinjiang

区域信息调整-fxj

parent 9d2dce40
...@@ -71,6 +71,9 @@ public class DictItemRedisInit { ...@@ -71,6 +71,9 @@ public class DictItemRedisInit {
} }
SysArea temp; SysArea temp;
for (SysArea area:allAreas){ for (SysArea area:allAreas){
if (Common.isNotNull(area.getStatus()) && CommonConstants.ONE_INT==area.getStatus().intValue()){
continue;
}
if (Common.isNotNull(area.getParentId()) && area.getParentId().intValue() > 0){ if (Common.isNotNull(area.getParentId()) && area.getParentId().intValue() > 0){
temp = areaMap.get(area.getParentId().toString()); temp = areaMap.get(area.getParentId().toString());
redisUtil.set(CacheConstants.AREA_VALUE redisUtil.set(CacheConstants.AREA_VALUE
......
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