|
|
|
@ -87,10 +87,13 @@ public class ApsNoticeClientsServiceImpl implements ApsNoticeClientsService {
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
ApsNotice apsNotice = apsNoticeMapper.getApsNoticesById(id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String fileName = apsNotice.getTitle() + "(" + df.format(new Date()) + ").xlsx";
|
|
|
|
|
fileName = new String(fileName.getBytes("gbk"), "iso8859-1");
|
|
|
|
|
os = response.getOutputStream();
|
|
|
|
|
response.reset();
|
|
|
|
|
response.setHeader("Content-disposition", "attachment; filename = " + URLEncoder.encode(fileName, "UTF-8"));
|
|
|
|
|
response.setHeader("Content-disposition", "attachment; filename = " + fileName);
|
|
|
|
|
response.setContentType("application/octet-streem");
|
|
|
|
|
|
|
|
|
|
//创建表格工作空间
|
|
|
|
|