From 28d69701c9bdf6bb5d49dfae9b637e5b5463a1bc Mon Sep 17 00:00:00 2001 From: jenn <11@11.11> Date: 星期日, 04 六月 2023 12:08:41 +0800 Subject: [PATCH] fix 修复 OssClient 切换服务 实例不正确问题 --- ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/DeptNameTranslationImpl.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/DeptNameTranslationImpl.java b/ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/DeptNameTranslationImpl.java index 2502104..c391437 100644 --- a/ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/DeptNameTranslationImpl.java +++ b/ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/DeptNameTranslationImpl.java @@ -17,6 +17,7 @@ private final DeptService deptService; + @Override public String translation(Object key, String other) { if (key instanceof String ids) { return deptService.selectDeptNameByIds(ids); -- Gitblit v1.9.3