导出数据方法setDataList增加国际化配置参数

修改所有字典展示取值itemDesc为itemValue
This commit is contained in:
duandongmei
2018-06-13 16:29:11 +08:00
parent 613f19c145
commit 6960e1528e
26 changed files with 213 additions and 174 deletions

View File

@@ -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) {