| | |
| | | */ |
| | | private void savePDFFile(String outputFileName1, TjOrder tjOrder, TjCustomer customer, ByteArrayOutputStream finalOutPut) throws IOException, DocumentException, InterruptedException { |
| | | // 第一步:生成文件并保存 |
| | | String outputPath1 = value + File.separator; |
| | | String key = DataSourceContextHolder.getDataSourceKey(); |
| | | key = key.replace("ltkjpeis10_",""); |
| | | String outputPath1 = value + File.separator + key + File.separator; |
| | | File file = new File(outputPath1 + outputFileName1); |
| | | BufferedOutputStream outputStream = null; |
| | | outputStream = new BufferedOutputStream(new FileOutputStream(file)); |