|
@@ -29,7 +29,6 @@ public class SysAreaServiceImpl implements SysAreaService { |
|
@@ -29,7 +29,6 @@ public class SysAreaServiceImpl implements SysAreaService { |
29
|
|
29
|
|
30
|
@Override
|
30
|
@Override
|
31
|
public List<SysAreaDTO> list(SysAreaDTO sysAreaDTO) {
|
31
|
public List<SysAreaDTO> list(SysAreaDTO sysAreaDTO) {
|
32
|
- cacheManager.getCache(FastIotConstants.CacheKey.area).get(sysAreaDTO.getParentId());
|
|
|
33
|
List<SysAreaDTO> result = cacheManager.getCache(FastIotConstants.CacheKey.area).get(sysAreaDTO.getParentId(),List.class);
|
32
|
List<SysAreaDTO> result = cacheManager.getCache(FastIotConstants.CacheKey.area).get(sysAreaDTO.getParentId(),List.class);
|
34
|
if(result == null || result.isEmpty()){
|
33
|
if(result == null || result.isEmpty()){
|
35
|
result = ReflectUtils.sourceToTarget(
|
34
|
result = ReflectUtils.sourceToTarget(
|