|
|
@ -43,7 +43,6 @@ public class ResiMineGridServiceImpl implements ResiMineGridService { |
|
|
|
**/ |
|
|
|
@Override |
|
|
|
public LatestGridInfoResultDTO getLatestGridInfo(TokenDto tokenDto) { |
|
|
|
LatestGridInfoResultDTO latestGridInfoResultDTO=new LatestGridInfoResultDTO(); |
|
|
|
if (null == tokenDto || StringUtils.isBlank(tokenDto.getUserId())) { |
|
|
|
logger.warn(String.format("居民端获取用户最近访问的网格失败:tokenDto is null or userId is null")); |
|
|
|
throw new RenException(ModuleConstant.USER_NOT_NULL); |
|
|
@ -58,7 +57,7 @@ public class ResiMineGridServiceImpl implements ResiMineGridService { |
|
|
|
return userResult.getData(); |
|
|
|
} |
|
|
|
logger.warn(String.format("居民端获取用户最近访问网格失败,调用epmet-user-server服务返回%s",JSON.toJSONString(userResult))); |
|
|
|
return latestGridInfoResultDTO; |
|
|
|
return null ; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|