|
@@ -249,7 +249,8 @@ public class PrintServerController extends BaseController {
|
|
|
} catch (IOException e) {
|
|
|
return error("报表文件持久化失败");
|
|
|
}
|
|
|
- JacobUtils.excelToPDF(outPath, printParam);
|
|
|
+// JacobUtils.excelToPDF(outPath, printParam);
|
|
|
+ xlsToPdfUtil.excelToPDF(outPath, printParam);
|
|
|
String outputFilePath = JacobUtils.getPdfFilePath(outPath);
|
|
|
log.info("处理打印文件,适应打印机:{}", outputFilePath);
|
|
|
Boolean printFlag = PrintUtils.PDFprint(outputFilePath, printParam);
|