update:修改用户名的字段返回值
This commit is contained in:
+5
-1
@@ -259,7 +259,11 @@ public class TranslationAspect {
|
||||
continue; //跳过循环
|
||||
}
|
||||
if (!StringUtils.isEmpty(table) && StrUtil.isNotBlank(text)) {
|
||||
tmpValue = commonAPI.queryTableDictTextByKey(table, text, code, k.trim());
|
||||
if ("sys_user".equals(table)&&"realname".equals(text)&&"id".equals(code)){
|
||||
tmpValue = commonAPI.translateUserRealNameFromTable(k.trim());
|
||||
}else {
|
||||
tmpValue = commonAPI.queryTableDictTextByKey(table, text, code, k.trim());
|
||||
}
|
||||
} else {
|
||||
List<SysDictItemCore> listNew = listDict.stream()
|
||||
.filter(o -> Objects.equals(o.getDictCode(), code) &&
|
||||
|
||||
Reference in New Issue
Block a user