rev:修改导出pdf
This commit is contained in:
@@ -181,7 +181,7 @@ public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLog> impleme
|
||||
List<SysLog> dataList = this.list(lam);
|
||||
|
||||
// 3.设置响应头【前端文件下载】
|
||||
response.reset();
|
||||
// response.reset();
|
||||
response.setContentType("application/pdf");
|
||||
String fileName = "系统异常日志.pdf";
|
||||
fileName = new String(fileName.getBytes("GBK"), "ISO-8859-1");
|
||||
|
||||
@@ -68,7 +68,7 @@ public class MdPdReviewsignServiceImpl extends ServiceImpl<MdPdReviewsignMapper,
|
||||
List<JSONObject> dataList = this.baseMapper.downloadQuery(map);
|
||||
|
||||
// 设置响应头【前端文件下载】
|
||||
response.reset();
|
||||
// response.reset();
|
||||
response.setContentType("application/pdf");
|
||||
String fileName = "复核记录.pdf";
|
||||
fileName = new String(fileName.getBytes("GBK"), "ISO-8859-1");
|
||||
|
||||
Reference in New Issue
Block a user