Browse Source

badge

feature/teamB_zz_wgh
zxc 3 years ago
parent
commit
46d85234e4
  1. 3
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/UserBadgeServiceImpl.java

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

@ -119,6 +119,9 @@ public class UserBadgeServiceImpl implements UserBadgeService {
public List<UserOperListResultDTO> selectOperList(UserOperListFormDTO userOperListFormDTO) {
List<UserOperListResultDTO> userAuthBadgeList = userBadgeDao.selectAuthRecord(userOperListFormDTO.getUserId());
Object userBadge = userBadgeRedis.getCustomerBadge(userOperListFormDTO.getCustomerId());
if (null == userBadge){
return new ArrayList<>();
}
List<UserOperListResultDTO> userOperListResultDTOS = JSON.parseArray(userBadge.toString(), UserOperListResultDTO.class);
// 没有任何记录
if (CollectionUtils.isEmpty(userAuthBadgeList)){

Loading…
Cancel
Save