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/FlowLcLtMsService.java similarity index 84% rename from smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMs.java rename to smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/flow/listcard/lcltms/FlowLcLtMsService.java index 5814ab6..9831605 100644 --- 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/FlowLcLtMsService.java @@ -9,5 +9,5 @@ import cc.smtweb.system.bpm.web.engine.model.flow.listcard.lcms.FlowLcMsService; * 模型:FLOW_LT_MS 服务类 */ @SwService -public class FlowLcLtMs extends FlowLcMsService { +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); } }