This commit is contained in:
hejinbo
2023-10-16 17:20:44 +08:00
parent d4b560313c
commit 06e008e306
@@ -81,19 +81,25 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
int identityType = affiliate.getIdentityType(); int identityType = affiliate.getIdentityType();
if (identityType == 1) { //申请人 if (identityType == 1) { //申请人
datas.put("appName", affiliate.getName()); datas.put("appName", affiliate.getName());
datas.put("appIDNo", affiliate.getIdentityNum());
datas.put("appAddress", affiliate.getContactAddress()); datas.put("appAddress", affiliate.getContactAddress());
datas.put("appAgentName", affiliate.getNameAgent()); datas.put("appContactAddress", null);
datas.put("appAgentIDNo", affiliate.getIdentityNumAgent()); datas.put("appLegalPerson", null);
datas.put("appLegalPersonTitle",null);
datas.put("appAgentName",affiliate.getNameAgent());
datas.put("appAgentTitle",null);
} else if (identityType == 2) { //被申请人 } else if (identityType == 2) { //被申请人
datas.put("resName", affiliate.getName()); datas.put("resName", affiliate.getName());
datas.put("resIDNo", affiliate.getIdentityNum());
datas.put("resAddress", affiliate.getContactAddress()); datas.put("resAddress", affiliate.getContactAddress());
datas.put("resAgentName", affiliate.getNameAgent()); datas.put("resSex",null);
datas.put("resAgentIDNo", affiliate.getIdentityNumAgent()); 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(); String arbitratorName = caseApplication1.getArbitratorName();
datas.put("caseName", caseApplication1.getCaseName()); datas.put("caseName", caseApplication1.getCaseName());
datas.put("arbitratorName", arbitratorName); datas.put("arbitratorName", arbitratorName);
@@ -126,6 +132,8 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
datas.put("year", year); datas.put("year", year);
datas.put("months", month); datas.put("months", month);
datas.put("day", day); datas.put("day", day);
String modalFilePath = "/data/arbitrate-document/template/仲裁裁决书模板.docx"; String modalFilePath = "/data/arbitrate-document/template/仲裁裁决书模板.docx";
// String modalFilePath = "D:/develop/仲裁裁决书模板 (2).docx"; // String modalFilePath = "D:/develop/仲裁裁决书模板 (2).docx";
String saveFolderPath = "/home/ruoyi/uploadPath/upload/" + year + "/" + month + "/" + day; String saveFolderPath = "/home/ruoyi/uploadPath/upload/" + year + "/" + month + "/" + day;