From c73456ff49f325fb79d5b6e2740e166f3bcdc3f1 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Mon, 29 Jul 2019 22:50:12 +0800 Subject: [PATCH] =?UTF-8?q?Table=E6=B3=A8=E8=A7=A3=E3=80=81Column=E6=B3=A8?= =?UTF-8?q?=E8=A7=A3=E6=96=B0=E5=A2=9E=E9=AB=98=E9=80=9F=E7=BC=93=E5=AD=98?= =?UTF-8?q?=EF=BC=8C=E8=B6=85=E5=BC=BA=E4=BC=98=E5=8C=96=EF=BC=8C=E6=80=A7?= =?UTF-8?q?=E8=83=BD=E6=8F=90=E5=8D=87=E3=80=82=E8=8B=A5=E4=BD=A0=E5=9C=A8?= =?UTF-8?q?Debug=E6=A8=A1=E5=BC=8F=E4=BF=AE=E6=94=B9=E4=BA=86=E8=AF=A5?= =?UTF-8?q?=E6=B3=A8=E8=A7=A3=EF=BC=8C=E9=9C=80=E8=A6=81=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E4=B8=8B/sys/cache/clearAll=E6=89=8D=E5=8F=AF=E7=94=9F?= =?UTF-8?q?=E6=95=88=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jeesite/modules/sys/web/CacheController.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/core/src/main/java/com/jeesite/modules/sys/web/CacheController.java b/modules/core/src/main/java/com/jeesite/modules/sys/web/CacheController.java index 3878e61f..c891869d 100644 --- a/modules/core/src/main/java/com/jeesite/modules/sys/web/CacheController.java +++ b/modules/core/src/main/java/com/jeesite/modules/sys/web/CacheController.java @@ -10,6 +10,7 @@ import org.springframework.web.bind.annotation.ResponseBody; import com.jeesite.common.cache.CacheUtils; import com.jeesite.common.config.Global; import com.jeesite.common.lang.StringUtils; +import com.jeesite.common.mybatis.mapper.MapperHelper; import com.jeesite.common.web.BaseController; import com.jeesite.modules.sys.utils.UserUtils; @@ -30,9 +31,10 @@ public class CacheController extends BaseController { @RequestMapping(value = "clearAll") @ResponseBody public String clearAll() { - CacheUtils.clearCache(); - UserUtils.clearCache(); Global.clearCache(); + CacheUtils.clearCache(); + MapperHelper.clearCache(); + UserUtils.clearCache(); return renderResult(Global.TRUE, "清理缓存成功!"); }