From 2c89970c44a6d38a9058ed1b1bee61c8da8e0d86 Mon Sep 17 00:00:00 2001 From: FLYPHT <1035748121@qq.com> Date: Sun, 9 Oct 2022 15:04:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/engine/model/flow/listcard/lcltms/FlowLcLtMs.java | 13 ------------- .../model/flow/listcard/lcltms/FlowLcLtMsService.java | 13 +++++++++++++ .../resources/static/event/bpm/sys/base/dict/dictList.js | 8 -------- .../core/mvc/controller/scan/ApplicationScanner.java | 13 +------------ 4 files changed, 14 insertions(+), 33 deletions(-) delete mode 100644 smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMs.java create mode 100644 smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMsService.java diff --git a/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMs.java b/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMs.java deleted file mode 100644 index 5814ab6..0000000 --- a/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMs.java +++ /dev/null @@ -1,13 +0,0 @@ -package cc.smtweb.system.bpm.web.engine.model.flow.listcard.lcltms; - -import cc.smtweb.framework.core.annotation.SwService; -import cc.smtweb.system.bpm.web.engine.model.flow.listcard.lcms.FlowLcMsService; - -/** - * @Author:lip - * @Date : 2022/9/17 21:20 - * 模型:FLOW_LT_MS 服务类 - */ -@SwService -public class FlowLcLtMs extends FlowLcMsService { -} diff --git a/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMsService.java b/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMsService.java new file mode 100644 index 0000000..9831605 --- /dev/null +++ b/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMsService.java @@ -0,0 +1,13 @@ +package cc.smtweb.system.bpm.web.engine.model.flow.listcard.lcltms; + +import cc.smtweb.framework.core.annotation.SwService; +import cc.smtweb.system.bpm.web.engine.model.flow.listcard.lcms.FlowLcMsService; + +/** + * @Author:lip + * @Date : 2022/9/17 21:20 + * 模型:FLOW_LT_MS 服务类 + */ +@SwService +public class FlowLcLtMsService extends FlowLcMsService { +} diff --git a/smtweb-framework/bpm/src/main/resources/static/event/bpm/sys/base/dict/dictList.js b/smtweb-framework/bpm/src/main/resources/static/event/bpm/sys/base/dict/dictList.js index 2327a8a..a0e46f8 100644 --- a/smtweb-framework/bpm/src/main/resources/static/event/bpm/sys/base/dict/dictList.js +++ b/smtweb-framework/bpm/src/main/resources/static/event/bpm/sys/base/dict/dictList.js @@ -14,17 +14,9 @@ window.$swEvent.setup("bpm.sys.base.dict.dictList", { const afterDelDict = () => { $api.loadOne("dictList"); }; - const exportExcel = () => { - $$http.post("bpm/dict/exportExcel").then( (rt) => { - console.info("exportExcel:",rt); - const url = $$http.downloadFileUrl(rt.data.filePath,rt.data.fileName,true); - $$http.downloadFile(url,{fileName: rt.data.fileName}); - }); - } return { afterDelDictType, afterDelDict, - exportExcel, } } }); diff --git a/smtweb-framework/core/src/main/java/cc/smtweb/framework/core/mvc/controller/scan/ApplicationScanner.java b/smtweb-framework/core/src/main/java/cc/smtweb/framework/core/mvc/controller/scan/ApplicationScanner.java index 34ac3e3..5f4868f 100644 --- a/smtweb-framework/core/src/main/java/cc/smtweb/framework/core/mvc/controller/scan/ApplicationScanner.java +++ b/smtweb-framework/core/src/main/java/cc/smtweb/framework/core/mvc/controller/scan/ApplicationScanner.java @@ -1,8 +1,5 @@ package cc.smtweb.framework.core.mvc.controller.scan; -import cc.smtweb.framework.core.cache.AbstractCache; -import cc.smtweb.framework.core.cache.CacheManager; -import cc.smtweb.framework.core.cache.ISwCache; import cc.smtweb.framework.core.mvc.config.ControllerConfig; import cc.smtweb.framework.core.mvc.controller.ApiConfigBean; import cc.smtweb.framework.core.mvc.controller.MethodAccessManager; @@ -60,14 +57,6 @@ public class ApplicationScanner { log.info("[smt] scan ok."); } - - // 处理权限管理和启动定时任务 - AbstractCache realmCache = CacheManager.getIntance().getCache(ISwCache.REALM_CACHE); - - if (realmCache == null) { - log.error("not find RealmCache"); - } - - methodAccessManager.init(beanManager, realmCache); + methodAccessManager.init(beanManager, null); } }