From 9a9b747962cc00801d8cce4137d1e123d556a79b Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 02 十一月 2024 16:59:59 +0800
Subject: [PATCH] 修复iotdb大批插入数据问题

---
 collect/src/main/java/com/qianwen/mdc/collect/utils/redis/RedisUtil.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/collect/src/main/java/com/qianwen/mdc/collect/utils/redis/RedisUtil.java b/collect/src/main/java/com/qianwen/mdc/collect/utils/redis/RedisUtil.java
index b8a9082..beb3c98 100644
--- a/collect/src/main/java/com/qianwen/mdc/collect/utils/redis/RedisUtil.java
+++ b/collect/src/main/java/com/qianwen/mdc/collect/utils/redis/RedisUtil.java
@@ -170,7 +170,7 @@
      * @param key 閿�
      * @return 瀵瑰簲鐨勫涓敭鍊�
      */
-    public Map<Object, Object> hmget(String key) {
+    public Map<?, ?> hmget(String key) {
         return redisTemplate.opsForHash().entries(key);
     }
 
@@ -180,7 +180,7 @@
      * @param map 瀵瑰簲澶氫釜閿��
      * @return true 鎴愬姛 false 澶辫触
      */
-    public boolean hmset(String key, Map<String,Object> map) {
+    public boolean hmset(String key, Map<?,?> map) {
         try {
             redisTemplate.opsForHash().putAll(key, map);
             return true;
@@ -230,7 +230,7 @@
      * @param value 鍊�
      * @return true 鎴愬姛 false澶辫触
      */
-    public boolean hset(String key, Object item, Object value) {
+    public <HK, HV> boolean hset(String key, HK item, HV value) {
         try {
             redisTemplate.opsForHash().put(key, item, value);
             return true;

--
Gitblit v1.9.3