Commit 55c39a85 by 王军业

212112

1 parent f502bdbd
......@@ -578,7 +578,7 @@ public class ContractServiceImpl implements ContractService {
}
try {
DownLoad downLoad =new DownLoad();
/* if(selectVo.getColumns() != null && selectVo.getColumns().length > 0) {
if(selectVo.getColumns() != null && selectVo.getColumns().length > 0) {
//动态生成excel表头
ExcelExportEntity excelExportEntity = new ExcelExportEntity("合同编号");
excelExportEntity.setWidth(20);
......@@ -589,8 +589,8 @@ public class ContractServiceImpl implements ContractService {
}else {
downLoad.exportExcel(list, "合同Excel表格", "合同Excel表格", ExportModel.class, "合同.xls", response);
}*/
downLoad.exportExcel(list, "合同Excel表格", "合同Excel表格", ExportModel.class, "合同.xls", response);
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!