Commit c9164ce1 by 陈文顺

[bug] exists key

parent d6fb8450
...@@ -37,7 +37,7 @@ public abstract class RedisHashCache<T> { ...@@ -37,7 +37,7 @@ public abstract class RedisHashCache<T> {
return result; return result;
} }
boolean hasKey = redisTemplate.hasKey(key); boolean hasKey = redisTemplate.hasKey(getRedisKey(key));
if (hasKey){ if (hasKey){
return null; return null;
} }
......
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