Commit b87e0fa1 authored by 若依's avatar 若依 Committed by Gitee

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

Merge pull request !358 from 雪丛/N/A
parents b6596d02 790aa0d2
...@@ -209,6 +209,18 @@ public class RedisCache ...@@ -209,6 +209,18 @@ public class RedisCache
return opsForHash.get(key, hKey); 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中的数据 * 获取多个Hash中的数据
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment