切换导航条
此项目
正在载入...
登录
欧阳子桐
/
RuoYi
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
雪丛
2021-10-26 01:42:12 +0000
提交者
Gitee
2021-10-26 01:42:12 +0000
提交
790aa0d24bee0036d9a697a18c130d531649213b
1 个父辈
8a7dcf8a
update ruoyi-common/src/main/java/com/ruoyi/common/core/redis/RedisCache.java.
增加删除Hash中的数据
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
12 行增加
和
0 行删除
ruoyi-common/src/main/java/com/ruoyi/common/core/redis/RedisCache.java
ruoyi-common/src/main/java/com/ruoyi/common/core/redis/RedisCache.java
查看文件 @
790aa0d
...
...
@@ -210,6 +210,18 @@ public class RedisCache
}
/**
* 删除Hash中的数据
*
* @param key
* @param mapkey
*/
public
void
delCacheMapValue
(
final
String
key
,
final
String
hkey
)
{
HashOperations
hashOperations
=
redisTemplate
.
opsForHash
();
hashOperations
.
delete
(
key
,
hkey
);
}
/**
* 获取多个Hash中的数据
*
* @param key Redis键
...
...
请
注册
或
登录
后发表评论