Browse Source

/epmetuser/more/badge/certification/detail返回gridName

feature/evaluate
yinzuomei 3 years ago
parent
commit
4eb317f1c3
  1. 7
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/UserBadgeServiceImpl.java

7
epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/UserBadgeServiceImpl.java

@ -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());

Loading…
Cancel
Save