|
@ -6,6 +6,8 @@ import com.epmet.commons.tools.constant.NumConstant; |
|
|
import com.epmet.commons.tools.exception.EpmetErrorCode; |
|
|
import com.epmet.commons.tools.exception.EpmetErrorCode; |
|
|
import com.epmet.commons.tools.exception.EpmetException; |
|
|
import com.epmet.commons.tools.exception.EpmetException; |
|
|
import com.epmet.commons.tools.exception.RenException; |
|
|
import com.epmet.commons.tools.exception.RenException; |
|
|
|
|
|
import com.epmet.commons.tools.redis.common.CustomerOrgRedis; |
|
|
|
|
|
import com.epmet.commons.tools.redis.common.bean.GridInfoCache; |
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
@ -413,6 +415,10 @@ public class UserBadgeServiceImpl implements UserBadgeService { |
|
|
resiResult.setIdcard(userInfo.getIdNum()); |
|
|
resiResult.setIdcard(userInfo.getIdNum()); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
GridInfoCache gridInfoCache= CustomerOrgRedis.getGridInfo(resiResult.getGridId()); |
|
|
|
|
|
if(null!=gridInfoCache){ |
|
|
|
|
|
resiResult.setGridName(gridInfoCache.getGridNamePath()); |
|
|
|
|
|
} |
|
|
return resiResult; |
|
|
return resiResult; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|