From 6c235963d6fc46b38ea59d9b19c6519b892e080b Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 16 May 2022 09:42:06 +0800 Subject: [PATCH] 20220516 逻辑删除,更新字段IS_Delete字段为已删除,默认为空,删除后其余信息从查询中过滤了 --- zq-erp/src/main/java/com/matrix/system/common/actions/DeveloperAction.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/common/actions/DeveloperAction.java b/zq-erp/src/main/java/com/matrix/system/common/actions/DeveloperAction.java index 90acb1a..29981ca 100644 --- a/zq-erp/src/main/java/com/matrix/system/common/actions/DeveloperAction.java +++ b/zq-erp/src/main/java/com/matrix/system/common/actions/DeveloperAction.java @@ -3,6 +3,7 @@ import com.matrix.core.constance.MatrixConstance; import com.matrix.core.pojo.AjaxResult; import com.matrix.core.web.BaseAction; +import com.matrix.system.common.init.LocalCache; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; @@ -73,4 +74,10 @@ return new AjaxResult(AjaxResult.STATUS_SUCCESS, "debug模式开启"); } + @RequestMapping("/getLocalCache") + public @ResponseBody AjaxResult getLocalCache(String key) { + return AjaxResult.buildSuccessInstance(LocalCache.getValues(key)); + } + + } \ No newline at end of file -- Gitblit v1.9.1