开庭审理

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
@@ -15,6 +15,8 @@ public enum AnnexTypeEnum implements EnumsInterface {
MEDIATION_APPLICATION(3, "调解申请书"),
PAYMENT_RECEIPT(4, "缴费单"),
MEETING_VIDEO(5, "会议视频"),
MEDIATE(6, "庭审笔录"),
MEDIATE_BOOK(7, "调解书"),
;
@@ -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<>();