!358 update ruoyi-common/src/main/java/com/ruoyi/common/core/redis/RedisCache.java.

Merge pull request !358 from 雪丛/N/A
This commit is contained in:
若依 2021-10-27 07:34:47 +00:00 committed by Gitee
commit b87e0fa124
1 changed files with 12 additions and 0 deletions

View File

@ -209,6 +209,18 @@ public class RedisCache
return opsForHash.get(key, hKey);
}
/**
* 删除Hash中的数据
*
* @param key
* @param mapkey
*/
public void delCacheMapValue(final String key, final String hkey)
{
HashOperations hashOperations = redisTemplate.opsForHash();
hashOperations.delete(key, hkey);
}
/**
* 获取多个Hash中的数据
*