From 07eb2424508911be986d0585ebfb37d2c48db0d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E5=8D=97=E4=B8=80=E7=82=B9=E9=9B=A8?= Date: Mon, 23 Dec 2019 14:42:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/javaboy/vhr/model/Menu.java | 1 + .../main/java/org/javaboy/vhr/model/Meta.java | 2 ++ .../main/java/org/javaboy/vhr/model/Role.java | 1 + .../org/javaboy/vhr/service/MenuService.java | 1 + vhr/vhrserver/vhr-service/vhr-service.iml | 28 +++++++++++++++---- .../java/org/javaboy/vhr/VhrApplication.java | 1 + vhr/vhrserver/vhr-web/vhr-web.iml | 18 +++++++++++- 7 files changed, 45 insertions(+), 7 deletions(-) diff --git a/vhr/vhrserver/vhr-model/src/main/java/org/javaboy/vhr/model/Menu.java b/vhr/vhrserver/vhr-model/src/main/java/org/javaboy/vhr/model/Menu.java index 5a64900..bf04517 100644 --- a/vhr/vhrserver/vhr-model/src/main/java/org/javaboy/vhr/model/Menu.java +++ b/vhr/vhrserver/vhr-model/src/main/java/org/javaboy/vhr/model/Menu.java @@ -1,5 +1,6 @@ package org.javaboy.vhr.model; +import java.io.Serializable; import java.util.List; public class Menu implements Serializable { diff --git a/vhr/vhrserver/vhr-model/src/main/java/org/javaboy/vhr/model/Meta.java b/vhr/vhrserver/vhr-model/src/main/java/org/javaboy/vhr/model/Meta.java index 941b129..8a5e29f 100644 --- a/vhr/vhrserver/vhr-model/src/main/java/org/javaboy/vhr/model/Meta.java +++ b/vhr/vhrserver/vhr-model/src/main/java/org/javaboy/vhr/model/Meta.java @@ -1,5 +1,7 @@ package org.javaboy.vhr.model; +import java.io.Serializable; + /** * @作者 江南一点雨 * @公众号 江南一点雨 diff --git a/vhr/vhrserver/vhr-model/src/main/java/org/javaboy/vhr/model/Role.java b/vhr/vhrserver/vhr-model/src/main/java/org/javaboy/vhr/model/Role.java index af6125a..d60a5f2 100644 --- a/vhr/vhrserver/vhr-model/src/main/java/org/javaboy/vhr/model/Role.java +++ b/vhr/vhrserver/vhr-model/src/main/java/org/javaboy/vhr/model/Role.java @@ -1,5 +1,6 @@ package org.javaboy.vhr.model; +import java.io.Serializable; import java.util.List; public class Role implements Serializable { diff --git a/vhr/vhrserver/vhr-service/src/main/java/org/javaboy/vhr/service/MenuService.java b/vhr/vhrserver/vhr-service/src/main/java/org/javaboy/vhr/service/MenuService.java index a2c6695..c6a8bd8 100644 --- a/vhr/vhrserver/vhr-service/src/main/java/org/javaboy/vhr/service/MenuService.java +++ b/vhr/vhrserver/vhr-service/src/main/java/org/javaboy/vhr/service/MenuService.java @@ -6,6 +6,7 @@ import org.javaboy.vhr.model.Hr; import org.javaboy.vhr.model.Menu; import org.javaboy.vhr.model.MenuRole; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.cache.annotation.CacheConfig; import org.springframework.cache.annotation.Cacheable; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Service; diff --git a/vhr/vhrserver/vhr-service/vhr-service.iml b/vhr/vhrserver/vhr-service/vhr-service.iml index 594b726..f528cc5 100644 --- a/vhr/vhrserver/vhr-service/vhr-service.iml +++ b/vhr/vhrserver/vhr-service/vhr-service.iml @@ -46,7 +46,6 @@ - @@ -61,7 +60,7 @@ - + @@ -74,15 +73,32 @@ - + + + + + + + + + + + + + + + + + + + + + - - - diff --git a/vhr/vhrserver/vhr-web/src/main/java/org/javaboy/vhr/VhrApplication.java b/vhr/vhrserver/vhr-web/src/main/java/org/javaboy/vhr/VhrApplication.java index 8d17fbe..6d3d729 100644 --- a/vhr/vhrserver/vhr-web/src/main/java/org/javaboy/vhr/VhrApplication.java +++ b/vhr/vhrserver/vhr-web/src/main/java/org/javaboy/vhr/VhrApplication.java @@ -3,6 +3,7 @@ package org.javaboy.vhr; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cache.annotation.EnableCaching; @SpringBootApplication @EnableCaching diff --git a/vhr/vhrserver/vhr-web/vhr-web.iml b/vhr/vhrserver/vhr-web/vhr-web.iml index 6bbc5ff..0508ca3 100644 --- a/vhr/vhrserver/vhr-web/vhr-web.iml +++ b/vhr/vhrserver/vhr-web/vhr-web.iml @@ -39,12 +39,28 @@ + + + + + + + + + + + + + + + + + - -- GitLab