radius 动态列隐藏来导出Excel

This commit is contained in:
leijun
2018-12-15 22:53:52 +08:00
parent d8cf08011e
commit 68fe4209c7
6 changed files with 59 additions and 34 deletions

View File

@@ -1910,7 +1910,7 @@ public class ExportExcel {
val = getBasicInfo(ef.dictType(),map,valStr);
}else{
//字典数据已做国际化处理
String dict=DictUtils.getDictLabel(ef.dictType(), valStr, "");
String dict=DictUtils.getDictLabel(ef.dictType(), valStr, valStr);
//如果找不到字典国际化值,把字典本身作为默认值放进去,不然导出就是空了
val = msgProp.getProperty(dict,dict);
}