RuoYi
2026-03-22 0017cc88620501d55cd8bf11c802ad435525e138
ruoyi-common/ruoyi-common-redis/src/main/java/com/ruoyi/common/redis/service/RedisService.java
@@ -124,9 +124,9 @@
     * @param collection 多个对象
     * @return
     */
    public long deleteObject(final Collection collection)
    public boolean deleteObject(final Collection collection)
    {
        return redisTemplate.delete(collection);
        return redisTemplate.delete(collection) > 0;
    }
    /**
@@ -247,7 +247,7 @@
     * 删除Hash中的某条数据
     *
     * @param key Redis键
     * @param hKey  Hash键
     * @param hKey Hash键
     * @return 是否成功
     */
    public boolean deleteCacheMapValue(final String key, final String hKey)
@@ -257,7 +257,7 @@
    /**
     * 获得缓存的基本对象列表
     *
     *
     * @param pattern 字符串前缀
     * @return 对象列表
     */