From 43b31edb757fdbc002a2ab32e976ac9d179cf20d Mon Sep 17 00:00:00 2001 From: konbai <1527468660@qq.com> Date: 星期二, 20 十二月 2022 00:03:01 +0800 Subject: [PATCH] add 增加 RedisUtils 检查缓存对象是否存在方法 --- ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOss.java | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOss.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOss.java index 711dd83..968304b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOss.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOss.java @@ -1,6 +1,5 @@ package com.ruoyi.system.domain; -import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.ruoyi.common.core.domain.BaseEntity; @@ -20,7 +19,7 @@ /** * 瀵硅薄瀛樺偍涓婚敭 */ - @TableId(value = "oss_id", type = IdType.AUTO) + @TableId(value = "oss_id") private Long ossId; /** -- Gitblit v1.9.3