Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
疯狂的狮子li 2021-07-02 09:39:14 +08:00
commit d6ca9e548d
1 changed files with 3 additions and 3 deletions

View File

@ -205,9 +205,9 @@ public class RedisCache {
* @param hKeys Hash键集合 * @param hKeys Hash键集合
* @return Hash对象集合 * @return Hash对象集合
*/ */
public <T> List<T> getMultiCacheMapValue(final String key, final Collection<Object> hKeys) { public <K,V> Map<K,V> getMultiCacheMapValue(final String key, final Set<K> hKeys) {
RListMultimap rListMultimap = redissonClient.getListMultimap(key); RMap<K,V> rMap = redissonClient.getMap(key);
return rListMultimap.getAll(hKeys); return rMap.getAll(hKeys);
} }
/** /**