|
|
@ -404,7 +404,12 @@ public class UserBadgeServiceImpl implements UserBadgeService { |
|
|
|
public CertificationDetailResultDTO certificationDetail(TokenDto tokenDto, CertificationDetailFormDTO certificationDetailFormDTO) { |
|
|
|
//工作端
|
|
|
|
if (StringUtils.isNotBlank(certificationDetailFormDTO.getRecordId())){ |
|
|
|
return userBadgeDao.selectBadgeAuthRecord(null, certificationDetailFormDTO.getBadgeId(),certificationDetailFormDTO.getRecordId()); |
|
|
|
CertificationDetailResultDTO res= userBadgeDao.selectBadgeAuthRecord(null, certificationDetailFormDTO.getBadgeId(),certificationDetailFormDTO.getRecordId()); |
|
|
|
GridInfoCache gridInfoCache= CustomerOrgRedis.getGridInfo(res.getGridId()); |
|
|
|
if(null!=gridInfoCache){ |
|
|
|
res.setGridName(gridInfoCache.getGridNamePath()); |
|
|
|
} |
|
|
|
return res; |
|
|
|
} |
|
|
|
//居民端
|
|
|
|
CertificationDetailResultDTO resiResult = userBadgeDao.selectBadgeAuthRecord(tokenDto.getUserId(), certificationDetailFormDTO.getBadgeId(),certificationDetailFormDTO.getRecordId()); |
|
|
|