From 59385fc08d2c482158b764e94e129075b32799bb Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期四, 11 一月 2024 23:19:25 +0800 Subject: [PATCH] fix 修复 InjectionMetaObjectHandler 已存在数据依旧会获取用户信息报异常问题 --- ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/OssUrlTranslationImpl.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/OssUrlTranslationImpl.java b/ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/OssUrlTranslationImpl.java index f81aacb..fc6f6df 100644 --- a/ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/OssUrlTranslationImpl.java +++ b/ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/OssUrlTranslationImpl.java @@ -17,6 +17,7 @@ private final OssService ossService; + @Override public String translation(Object key, String other) { if (key instanceof String ids) { return ossService.selectUrlByIds(ids); -- Gitblit v1.9.3