|
|
@ -70,14 +70,15 @@ public class ResiGroupMemberRedis { |
|
|
|
* @Date 2020.04.13 23:36 |
|
|
|
**/ |
|
|
|
public ResiGroupMemberInfoRedisDTO get(String groupId ,String userId){ |
|
|
|
|
|
|
|
Map<String, Object> map = redisUtils.hGetAll(RedisKeys.getResiGroupMemberInfoKey(groupId,userId)); |
|
|
|
/* |
|
|
|
Map<String, Object> map = redisUtils.hGetAll(); |
|
|
|
if (MapUtil.isEmpty(map)) { |
|
|
|
return null; |
|
|
|
} |
|
|
|
//map to bean
|
|
|
|
ResiGroupMemberInfoRedisDTO member = BeanUtil.mapToBean(map, ResiGroupMemberInfoRedisDTO.class, true); |
|
|
|
return member; |
|
|
|
ResiGroupMemberInfoRedisDTO member = BeanUtil.mapToBean(map, ResiGroupMemberInfoRedisDTO.class, true);*/ |
|
|
|
return (ResiGroupMemberInfoRedisDTO) redisUtils.get(RedisKeys.getResiGroupMemberInfoKey(groupId,userId)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|