From f3e5d908d61f8f6946d099c474d3bb21b413e4c9 Mon Sep 17 00:00:00 2001 From: xivLi <13191800224@163.com> Date: 星期六, 22 五月 2021 16:05:12 +0800 Subject: [PATCH] quartz模块下 domain包中的 SysJob类不需要实现Serializable接口 --- ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java index d4661dd..ec04208 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java @@ -17,6 +17,11 @@ */ private String icon; + /** + * 设置为true,则不会被 <keep-alive>缓存 + */ + private boolean noCache; + public MetaVo() { } @@ -27,6 +32,23 @@ this.icon = icon; } + public MetaVo(String title, String icon, boolean noCache) + { + this.title = title; + this.icon = icon; + this.noCache = noCache; + } + + public boolean isNoCache() + { + return noCache; + } + + public void setNoCache(boolean noCache) + { + this.noCache = noCache; + } + public String getTitle() { return title; -- Gitblit v1.9.2