导出数据方法setDataList增加国际化配置参数
修改所有字典展示取值itemDesc为itemValue
This commit is contained in:
@@ -144,7 +144,7 @@ public class SpecificServiceHostCfgController extends BaseController {
|
||||
String fileName = msgProp.getProperty("agreement_ip_configuration").replaceAll(" ", "_")+".xlsx";
|
||||
List<SpecificServiceHostCfg> list = Lists.newArrayList();
|
||||
list.add(new SpecificServiceHostCfg());
|
||||
new ExportExcel(msgProp,msgProp.getProperty("agreement_ip_configuration"), SpecificServiceHostCfg.class, 2).setDataList(list).
|
||||
new ExportExcel(msgProp,msgProp.getProperty("agreement_ip_configuration"), SpecificServiceHostCfg.class, 2).setDataList(msgProp,list).
|
||||
write(request,response, fileName).dispose();
|
||||
return null;
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user