|
|
@@ -227,7 +227,9 @@ public class PrintController {
|
|
|
String pdfPath = reportName + "/"
|
|
|
+ fileService.generateFileName(userName, profile, whereCondition, otherParameters, ExportType.PDF.getQualifier())
|
|
|
+ "." + ExportType.PDF.getQualifier();
|
|
|
- File file = new File(ReportUtils.getDocumentsDir(), pdfPath);
|
|
|
+ System.out.println("pdf:" + pdfPath);
|
|
|
+ System.out.println("dir:" + ReportUtils.getDocumentsDir());
|
|
|
+ File file = new File(ReportUtils.getDocumentsDir(), pdfPath);
|
|
|
// 指定flush为true(强制刷新pdf)
|
|
|
// 文件无效(不存在或过期),重新创建pdf文件
|
|
|
if ((flush != null && flush)
|