From 06e008e306b1fb087e4b37d44130d60b3bc9fa4f Mon Sep 17 00:00:00 2001 From: hejinbo Date: Mon, 16 Oct 2023 17:20:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/AdjudicationServiceImpl.java | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/AdjudicationServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/AdjudicationServiceImpl.java index 1f8db9c..54d7e25 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/AdjudicationServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/AdjudicationServiceImpl.java @@ -81,19 +81,25 @@ public class AdjudicationServiceImpl implements IAdjudicationService { int identityType = affiliate.getIdentityType(); if (identityType == 1) { //申请人 datas.put("appName", affiliate.getName()); - datas.put("appIDNo", affiliate.getIdentityNum()); datas.put("appAddress", affiliate.getContactAddress()); - datas.put("appAgentName", affiliate.getNameAgent()); - datas.put("appAgentIDNo", affiliate.getIdentityNumAgent()); + datas.put("appContactAddress", null); + datas.put("appLegalPerson", null); + datas.put("appLegalPersonTitle",null); + datas.put("appAgentName",affiliate.getNameAgent()); + datas.put("appAgentTitle",null); } else if (identityType == 2) { //被申请人 datas.put("resName", affiliate.getName()); - datas.put("resIDNo", affiliate.getIdentityNum()); datas.put("resAddress", affiliate.getContactAddress()); - datas.put("resAgentName", affiliate.getNameAgent()); - datas.put("resAgentIDNo", affiliate.getIdentityNumAgent()); + datas.put("resSex",null); + datas.put("resDateOfBirth",null); + datas.put("resContactAddress",null); } } } + datas.put("submissionDate", caseApplication1.getCreateTime()); + datas.put("qutsider", null); + datas.put("signingDate", null); + String arbitratorName = caseApplication1.getArbitratorName(); datas.put("caseName", caseApplication1.getCaseName()); datas.put("arbitratorName", arbitratorName); @@ -126,6 +132,8 @@ public class AdjudicationServiceImpl implements IAdjudicationService { datas.put("year", year); datas.put("months", month); datas.put("day", day); + + String modalFilePath = "/data/arbitrate-document/template/仲裁裁决书模板.docx"; // String modalFilePath = "D:/develop/仲裁裁决书模板 (2).docx"; String saveFolderPath = "/home/ruoyi/uploadPath/upload/" + year + "/" + month + "/" + day;