mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 19:36:50 +08:00
教授修改
This commit is contained in:
@@ -151,7 +151,7 @@ public class CasesApi extends ApiBaseController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
response.setContentType("application/octet-stream");
|
response.setContentType("application/octet-stream");
|
||||||
response.setHeader("Content-disposition", "attachment;filename=Teachers.xls");
|
response.setHeader("Content-disposition", "attachment;filename=cases.xls");
|
||||||
ExportsExcelSenderUtil.export(map,exportVos, OutputStream,"yyyy-MM-dd HH:mm:ss");
|
ExportsExcelSenderUtil.export(map,exportVos, OutputStream,"yyyy-MM-dd HH:mm:ss");
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
log.error("导出失败",e.getMessage());
|
log.error("导出失败",e.getMessage());
|
||||||
|
|||||||
Reference in New Issue
Block a user