|
@ -2,6 +2,7 @@ package com.epmet.dataaggre.redis; |
|
|
|
|
|
|
|
|
import com.epmet.commons.tools.redis.RedisUtils; |
|
|
import com.epmet.commons.tools.redis.RedisUtils; |
|
|
import com.epmet.dataaggre.constant.GroupConstant; |
|
|
import com.epmet.dataaggre.constant.GroupConstant; |
|
|
|
|
|
import com.epmet.dto.form.UserBadgeUnitFormDTO; |
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Component; |
|
|
import org.springframework.stereotype.Component; |
|
@ -36,8 +37,8 @@ public class ResiGroupRedis { |
|
|
if (!CollectionUtils.isEmpty(result)){ |
|
|
if (!CollectionUtils.isEmpty(result)){ |
|
|
List<String> icons = new ArrayList<>(); |
|
|
List<String> icons = new ArrayList<>(); |
|
|
for (Object o : result) { |
|
|
for (Object o : result) { |
|
|
Map<String,String> map = (Map<String, String>) o; |
|
|
UserBadgeUnitFormDTO map = (UserBadgeUnitFormDTO) o; |
|
|
icons.add(map.get(GroupConstant.BADGE_ICON)); |
|
|
icons.add(map.getBadgeIcon()); |
|
|
} |
|
|
} |
|
|
return icons; |
|
|
return icons; |
|
|
} |
|
|
} |
|
|