|
@@ -571,13 +571,10 @@ public class RecordSealController extends BaseController {
|
|
|
//保存为PDF格式
|
|
|
//截取文件名称
|
|
|
//获取.的位置
|
|
|
- int index = String.valueOf(fileInfList.get(i).get("zfcName")).lastIndexOf(".");
|
|
|
- fileName =String.valueOf(fileInfList.get(i).get("zfcName")).substring(0,index);
|
|
|
// doc.saveToFile(directory + fileName + currecntDate + ".pdf", FileFormat.PDF);
|
|
|
- WordPdfUtil.doc2pdf(filePath,directory + fileName + currecntDate + ".pdf");
|
|
|
- filePath = directory + fileName + currecntDate + ".pdf";
|
|
|
+ WordPdfUtil.doc2pdf(filePath,directory + String.valueOf(fileInfList.get(i).get("zfcName")) + currecntDate + ".pdf");
|
|
|
+ filePath = directory + String.valueOf(fileInfList.get(i).get("zfcName")) + currecntDate + ".pdf";
|
|
|
logger.info("不是已盖章文件的" + filePath + "!!!!!!!!!");
|
|
|
- logger.info("不是已盖章文件的" + fileName + "!!!!!!!!!");
|
|
|
System.out.println("====================" + filePath +"++++++++++++++++");
|
|
|
/**-------- word 转PDF 结束--------**/
|
|
|
// 是已盖章文件
|