Browse Source

徽章

master
zxc 5 years ago
parent
commit
c9c139dcd5
  1. 5
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/UserBadgeServiceImpl.java

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

@ -152,7 +152,7 @@ public class UserBadgeServiceImpl implements UserBadgeService {
userBadgeDao.insertUserBadgeCertificateRecord(form); userBadgeDao.insertUserBadgeCertificateRecord(form);
//TODO 站内信发送 您好,您的xxx徽章因认证失败未成功点亮,请查看 //TODO 站内信发送 您好,您的xxx徽章因认证失败未成功点亮,请查看
this.sendMessageByUser(form);
return new Result(); return new Result();
} }
@ -227,8 +227,7 @@ public class UserBadgeServiceImpl implements UserBadgeService {
public List<AuthFieldResultDTO> authField(AuthFieldFormDTO authFieldFormDTO) { public List<AuthFieldResultDTO> authField(AuthFieldFormDTO authFieldFormDTO) {
List<AuthFieldResultDTO> authFieldResultDTOS = userBadgeDao.selectAuthField(authFieldFormDTO); List<AuthFieldResultDTO> authFieldResultDTOS = userBadgeDao.selectAuthField(authFieldFormDTO);
if (CollectionUtils.isEmpty(authFieldResultDTOS)){ if (CollectionUtils.isEmpty(authFieldResultDTOS)){
authFieldFormDTO.setCustomerId(BadgeConstant.DEFAULT); return new ArrayList<>();
return userBadgeDao.selectAuthField(authFieldFormDTO);
} }
return authFieldResultDTOS; return authFieldResultDTOS;
} }

Loading…
Cancel
Save