fix 修复导入数据时,无法正确翻译的问题。
This commit is contained in:
parent
ca640e2e2b
commit
91057bb4a1
|
@ -210,7 +210,7 @@ public class ExcelUtils {
|
|||
Field ref = ReflectUtils.getDeclaredField(clazz, trans.ref());
|
||||
ref.setAccessible(true);
|
||||
// 获取字典反向值
|
||||
String value = dictionaryTransService.getDictionaryTransMap().get(trans.key() + "_" + ref.get(data));
|
||||
String value = dictionaryTransService.getDictionaryTransMap().get("un_trans:" + trans.key() + "_" + ref.get(data));
|
||||
if (StringUtils.isBlank(value)) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user