开庭审理

This commit is contained in:
18792927508
2024-01-20 16:19:05 +08:00
parent 1023662211
commit 61da3d4b80
11 changed files with 282 additions and 37 deletions
@@ -2,6 +2,7 @@ package com.ruoyi.common.utils;
import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.util.StrUtil;
import com.ruoyi.common.exception.ServiceException;
import org.apache.poi.xwpf.usermodel.XWPFDocument;
import org.apache.poi.xwpf.usermodel.XWPFParagraph;
@@ -32,7 +33,7 @@ public class BookMarkUtil {
FileInputStream fileInputStream = new FileInputStream(path);
xwpfDocument = new XWPFDocument(fileInputStream);
} catch (IOException e) {
e.printStackTrace();
throw new ServiceException("未找到模板");
}
if (xwpfDocument == null) {
return new ArrayList<>();