修复Excels导入时无法获取到dictType字典值问题(I7M4PW)

This commit is contained in:
RuoYi 2023-08-21 15:52:30 +08:00
parent d58942c506
commit 90260ce2f9

View File

@ -464,7 +464,7 @@ public class ExcelUtil<T>
{ {
propertyName = field.getName() + "." + attr.targetAttr(); propertyName = field.getName() + "." + attr.targetAttr();
} }
else if (StringUtils.isNotEmpty(attr.readConverterExp())) if (StringUtils.isNotEmpty(attr.readConverterExp()))
{ {
val = reverseByExp(Convert.toStr(val), attr.readConverterExp(), attr.separator()); val = reverseByExp(Convert.toStr(val), attr.readConverterExp(), attr.separator());
} }