From 43f1fb44aa2ddfa1fd5ca6f06eec95d2c3c33846 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 11 六月 2019 10:45:23 +0800 Subject: [PATCH] 设备信息添加最新内容更新时间 --- fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/HomeNavbarServiceImpl.java | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/HomeNavbarServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/HomeNavbarServiceImpl.java index c0eb969..92f8ac6 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/HomeNavbarServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/HomeNavbarServiceImpl.java @@ -305,6 +305,20 @@ public List<HomeNavbar> listQueryEffectiveNavbar() { return homeNavbarMapper.listQueryEffective(); } + + + @Override + @Cacheable(value = "configCache", key = "'listQueryDefaultNavbar'") + public List<HomeNavbar> listQueryDefaultNavbar() { + return homeNavbarMapper.listQueryDefaultNavbar(); + } + + + @Override + @Cacheable(value = "configCache", key = "'listQueryFixedNavbar'") + public List<HomeNavbar> listQueryFixedNavbar() { + return homeNavbarMapper.listQueryFixedNavbar(); + } @Override public HomeNavbar getEffectiveByClassId(Long classId) { -- Gitblit v1.8.0