!252 fix 修复 查询条件写错问题

Merge pull request !252 from 疯狂的狮子Li/dev
This commit is contained in:
疯狂的狮子Li 2025-12-24 06:12:07 +00:00 committed by Gitee
commit 778ee424e6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -37,7 +37,7 @@ public class NicknameTranslationImpl implements TranslationInterface<String> {
} else if (key instanceof String ids) {
List<String> list = new ArrayList<>();
for (Long id : StringUtils.splitTo(ids, Convert::toLong)) {
String nickname = CacheUtils.get(CacheNames.SYS_NICKNAME, key);
String nickname = CacheUtils.get(CacheNames.SYS_NICKNAME, id);
if (StringUtils.isNotBlank(nickname)) {
list.add(nickname);
} else {