From eff4c740aa624f24e7d9e669d802a499512e0604 Mon Sep 17 00:00:00 2001 From: hejinbo Date: Tue, 17 Oct 2023 18:27:21 +0800 Subject: [PATCH 1/5] =?UTF-8?q?10.17=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/AdjudicationServiceImpl.java | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 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 2e2e26e..7ec1056 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 @@ -77,6 +77,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService { CaseAffiliate caseAffiliate = new CaseAffiliate(); caseAffiliate.setCaseAppliId(id); List caseAffiliates = caseAffiliateMapper.selectCaseAffiliate(caseAffiliate); + List nameAgentList = new ArrayList<>(); if (caseAffiliates != null && caseAffiliates.size() > 0) { for (CaseAffiliate affiliate : caseAffiliates) { //获取身份类型 @@ -89,12 +90,14 @@ public class AdjudicationServiceImpl implements IAdjudicationService { datas.put("appLegalPersonTitle", affiliate.getCompLegalperPost()); datas.put("appAgentName", affiliate.getNameAgent()); datas.put("appAgentTitle", null); + nameAgentList.add(affiliate.getNameAgent()); } else if (identityType == 2) { //被申请人 datas.put("resName", affiliate.getName()); datas.put("resAddress", affiliate.getContactAddress()); datas.put("resSex", affiliate.getResponSex()); datas.put("resDateOfBirth", affiliate.getResponBirth()); datas.put("resContactAddress", null); + nameAgentList.add(affiliate.getNameAgent()); } } } @@ -163,7 +166,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService { } Integer isAbsence = caseApplication1.getIsAbsence(); if (isAbsence==null){ - datas.put("onLine1", null); + datas.put("absent1", null); datas.put("absent2", null); datas.put("absent3", null); datas.put("absent4", null); @@ -175,7 +178,9 @@ public class AdjudicationServiceImpl implements IAdjudicationService { datas.put("attend5", null); datas.put("attend6", null); datas.put("attend7", null); - datas.put("responCrossOpin", null); + datas.put("appAgentName1", null); + datas.put("appAgentName2", null); + datas.put("resAgentName", null); } else if (isAbsence == 1) { //缺席审理 @@ -188,11 +193,12 @@ public class AdjudicationServiceImpl implements IAdjudicationService { "申请人为证明其主张的事实和理由,向仲裁庭提交了如下证据材料:"; String absent5 = "综上,仲裁庭依据《上海仲裁委员会仲裁规则》(2022年7月1日起施行的版本)" + "第四十条第(二)项、第五十一条的规定,缺席裁决如下:"; - datas.put("onLine1", absent1); + datas.put("absent1", absent1); datas.put("absent2", absent2); datas.put("absent3", absent3); datas.put("absent4", absent4); datas.put("absent5", absent5); + datas.put("appAgentName1", nameAgentList.get(0)); } else { //出席审理 String attend1 = "申请人的特别授权委托代理人"; @@ -214,6 +220,8 @@ public class AdjudicationServiceImpl implements IAdjudicationService { datas.put("attend6", attend6); datas.put("attend7", attend7); datas.put("responCrossOpin", caseApplication1.getResponCrossOpin()); + datas.put("appAgentName2", nameAgentList.get(0)); + datas.put("resAgentName", nameAgentList.get(1)); if (arbitratMethod == 1) { //被申出席+开庭 String attend8 = "综上,仲裁庭依据《上海仲裁委员会仲裁规则》(2022年7月1日起施行的版本)" + @@ -243,7 +251,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService { datas.put("year", year); String month = String.format("%02d", now.getMonthValue()); String day = String.format("%02d", now.getDayOfMonth()); - String modalFilePath = "/data/arbitrate-document/template/新裁决书模板.docx"; + String modalFilePath = "/data/arbitrate-document/template/新裁决书模板.docx"; //String modalFilePath = "D:/develop/新裁决书模板.docx"; String saveFolderPath = "/home/ruoyi/uploadPath/upload/" + year + "/" + month + "/" + day; //String saveFolderPath = "D:/data/" + year + "/" + month + "/" + day; From 5b46ee97b147582e9ccb4a6c3a1a027834be639f Mon Sep 17 00:00:00 2001 From: qitz <18810291185@163.com> Date: Tue, 17 Oct 2023 22:20:38 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=9F=E6=88=90?= =?UTF-8?q?=E8=A3=81=E5=86=B3=E4=B9=A6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wisdomarbitrate/domain/CaseAffiliate.java | 26 +++++--- .../service/impl/AdjudicationServiceImpl.java | 4 +- .../wisdomarbitrate/utils/SignAward.java | 59 +++++++++++-------- 3 files changed, 54 insertions(+), 35 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java index 9c72b6f..3e88558 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java @@ -3,6 +3,8 @@ package com.ruoyi.wisdomarbitrate.domain; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; +import java.util.Date; + public class CaseAffiliate extends BaseEntity { private static final long serialVersionUID = 1L; /** ID */ @@ -39,7 +41,15 @@ public class CaseAffiliate extends BaseEntity { /** * 被申请人出生年月日 */ - private String responBirth; + private Date responBirth; + + public Date getResponBirth() { + return responBirth; + } + + public void setResponBirth(Date responBirth) { + this.responBirth = responBirth; + } public String getCompLegalPerson() { return compLegalPerson; @@ -65,13 +75,13 @@ public class CaseAffiliate extends BaseEntity { this.responSex = responSex; } - public String getResponBirth() { - return responBirth; - } - - public void setResponBirth(String responBirth) { - this.responBirth = responBirth; - } +// public String getResponBirth() { +// return responBirth; +// } +// +// public void setResponBirth(String responBirth) { +// this.responBirth = responBirth; +// } /** 身份证号 */ @Excel(name = "身份证号") 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 2e2e26e..63397e7 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 @@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject; import com.ruoyi.common.constant.CaseApplicationConstants; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.common.core.redis.RedisCache; +import com.ruoyi.common.utils.DateUtils; import com.ruoyi.wisdomarbitrate.mapper.*; import com.ruoyi.wisdomarbitrate.utils.CaseLogUtils; import com.ruoyi.common.utils.EmailOutUtil; @@ -93,7 +94,8 @@ public class AdjudicationServiceImpl implements IAdjudicationService { datas.put("resName", affiliate.getName()); datas.put("resAddress", affiliate.getContactAddress()); datas.put("resSex", affiliate.getResponSex()); - datas.put("resDateOfBirth", affiliate.getResponBirth()); +// datas.put("resDateOfBirth", responBirthdatestr); + datas.put("resDateOfBirth", "1987-03-05"); datas.put("resContactAddress", null); } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/utils/SignAward.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/utils/SignAward.java index ab82797..cfade82 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/utils/SignAward.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/utils/SignAward.java @@ -6,10 +6,12 @@ import com.google.gson.JsonObject; import com.ruoyi.common.core.domain.entity.EsignHttpResponse; import com.ruoyi.common.enums.EsignRequestType; import com.ruoyi.common.exception.EsignDemoException; +import com.ruoyi.common.utils.DateUtils; import com.ruoyi.common.utils.EsignApplicaConfig; import com.ruoyi.common.utils.EsignHttpHelper; import com.ruoyi.wisdomarbitrate.domain.SealSignRecord; +import java.util.Date; import java.util.Map; public class SignAward { @@ -62,34 +64,39 @@ public class SignAward { // System.out.println("签署短链接:"+sealUrl); //查询签署流程详情 - EsignHttpResponse signFlowDetail = signFlowDetail(sealSignRecord); - JsonObject signFlowDetailJsonObject = gson.fromJson(signFlowDetail.getBody(),JsonObject.class); - JsonObject flowDetailData = signFlowDetailJsonObject.getAsJsonObject("data"); - JsonArray signersArray = flowDetailData.get("signers").getAsJsonArray(); - for (int i = 0; i < signersArray.size(); i++) { - JsonObject signerObject = (JsonObject)signersArray.get(i); - Integer psnsignStatus ; - Integer orgsignStatus ; - if(!(signerObject.get("psnSigner").toString()).equals("null")){ - JsonObject psnSignerData = signerObject.getAsJsonObject("psnSigner"); - if(psnSignerData!=null){ - psnsignStatus = signerObject.get("signStatus").getAsInt(); - sealSignRecord.setPsnsignStatus(psnsignStatus); - } - } - if(!(signerObject.get("orgSigner").toString()).equals("null")){ - JsonObject orgSignerData = signerObject.getAsJsonObject("orgSigner"); - if(orgSignerData!=null){ - orgsignStatus = signerObject.get("signStatus").getAsInt(); - sealSignRecord.setOrgsignStatus(orgsignStatus); - } - - } - } - - System.out.println(signFlowDetailJsonObject); +// EsignHttpResponse signFlowDetail = signFlowDetail(sealSignRecord); +// JsonObject signFlowDetailJsonObject = gson.fromJson(signFlowDetail.getBody(),JsonObject.class); +// JsonObject flowDetailData = signFlowDetailJsonObject.getAsJsonObject("data"); +// JsonArray signersArray = flowDetailData.get("signers").getAsJsonArray(); +// for (int i = 0; i < signersArray.size(); i++) { +// JsonObject signerObject = (JsonObject)signersArray.get(i); +// Integer psnsignStatus ; +// Integer orgsignStatus ; +// if(!(signerObject.get("psnSigner").toString()).equals("null")){ +// JsonObject psnSignerData = signerObject.getAsJsonObject("psnSigner"); +// if(psnSignerData!=null){ +// psnsignStatus = signerObject.get("signStatus").getAsInt(); +// sealSignRecord.setPsnsignStatus(psnsignStatus); +// } +// } +// if(!(signerObject.get("orgSigner").toString()).equals("null")){ +// JsonObject orgSignerData = signerObject.getAsJsonObject("orgSigner"); +// if(orgSignerData!=null){ +// orgsignStatus = signerObject.get("signStatus").getAsInt(); +// sealSignRecord.setOrgsignStatus(orgsignStatus); +// } +// +// } +// } +// System.out.println(signFlowDetailJsonObject); +// String responBirth = "Wed Feb 03 00:00:00 CST 1988"; + String responBirth = "2023-10-10 05:49:36"; + Date responBirthdate= DateUtils.parseDate(responBirth); +// String responBirthdatestr= DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,responBirthdate); + String responBirthdatestr= DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,responBirthdate); + System.out.println(responBirthdatestr); } From 3530aacf6489ece6fd27993dbecf6389a2319e1b Mon Sep 17 00:00:00 2001 From: qitz <18810291185@163.com> Date: Tue, 17 Oct 2023 22:21:38 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=9F=E6=88=90?= =?UTF-8?q?=E8=A3=81=E5=86=B3=E4=B9=A6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wisdomarbitrate/domain/CaseAffiliate.java | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java index 3e88558..649984d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java @@ -41,15 +41,15 @@ public class CaseAffiliate extends BaseEntity { /** * 被申请人出生年月日 */ - private Date responBirth; + private String responBirth; - public Date getResponBirth() { - return responBirth; - } - - public void setResponBirth(Date responBirth) { - this.responBirth = responBirth; - } +// public Date getResponBirth() { +// return responBirth; +// } +// +// public void setResponBirth(Date responBirth) { +// this.responBirth = responBirth; +// } public String getCompLegalPerson() { return compLegalPerson; @@ -75,13 +75,13 @@ public class CaseAffiliate extends BaseEntity { this.responSex = responSex; } -// public String getResponBirth() { -// return responBirth; -// } -// -// public void setResponBirth(String responBirth) { -// this.responBirth = responBirth; -// } + public String getResponBirth() { + return responBirth; + } + + public void setResponBirth(String responBirth) { + this.responBirth = responBirth; + } /** 身份证号 */ @Excel(name = "身份证号") From 953410c5dfbc437aefa91371b25efa63792aa421 Mon Sep 17 00:00:00 2001 From: hejinbo Date: Wed, 18 Oct 2023 10:22:10 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wisdomarbitrate/domain/CaseAffiliate.java | 8 +++++--- .../service/impl/AdjudicationServiceImpl.java | 15 +++++++++------ 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java index 9c72b6f..b42ef07 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java @@ -3,6 +3,8 @@ package com.ruoyi.wisdomarbitrate.domain; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; +import java.util.Date; + public class CaseAffiliate extends BaseEntity { private static final long serialVersionUID = 1L; /** ID */ @@ -39,7 +41,7 @@ public class CaseAffiliate extends BaseEntity { /** * 被申请人出生年月日 */ - private String responBirth; + private Date responBirth; public String getCompLegalPerson() { return compLegalPerson; @@ -65,11 +67,11 @@ public class CaseAffiliate extends BaseEntity { this.responSex = responSex; } - public String getResponBirth() { + public Date getResponBirth() { return responBirth; } - public void setResponBirth(String responBirth) { + public void setResponBirth(Date responBirth) { this.responBirth = responBirth; } 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 7ec1056..554f896 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 @@ -84,19 +84,22 @@ public class AdjudicationServiceImpl implements IAdjudicationService { int identityType = affiliate.getIdentityType(); if (identityType == 1) { //申请人 datas.put("appName", affiliate.getName()); - datas.put("appAddress", affiliate.getContactAddress()); - datas.put("appContactAddress", null); + datas.put("appAddress", affiliate.getResidenAffili()); + datas.put("appContactAddress", affiliate.getContactAddress()); datas.put("appLegalPerson", affiliate.getCompLegalPerson()); datas.put("appLegalPersonTitle", affiliate.getCompLegalperPost()); datas.put("appAgentName", affiliate.getNameAgent()); - datas.put("appAgentTitle", null); + datas.put("appAgentTitle", affiliate.getAppliAgentTitle()); nameAgentList.add(affiliate.getNameAgent()); } else if (identityType == 2) { //被申请人 datas.put("resName", affiliate.getName()); - datas.put("resAddress", affiliate.getContactAddress()); + datas.put("resAddress", affiliate.getResidenAffili()); datas.put("resSex", affiliate.getResponSex()); - datas.put("resDateOfBirth", affiliate.getResponBirth()); - datas.put("resContactAddress", null); + Date responBirth = affiliate.getResponBirth(); + SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); + String responBirthStr = sdf.format(responBirth); + datas.put("resDateOfBirth",responBirthStr); + datas.put("resContactAddress", affiliate.getContactAddress()); nameAgentList.add(affiliate.getNameAgent()); } } From 3c5d45f4cf6fcc2264deb1a44ed8c20e9af829a0 Mon Sep 17 00:00:00 2001 From: qitz <18810291185@163.com> Date: Wed, 18 Oct 2023 10:45:08 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=9F=E6=88=90?= =?UTF-8?q?=E8=A3=81=E5=86=B3=E4=B9=A6=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wisdomarbitrate/domain/CaseAffiliate.java | 24 ++++++-------- .../domain/CaseApplication.java | 18 +++++++---- .../service/impl/AdjudicationServiceImpl.java | 3 +- .../impl/CaseApplicationServiceImpl.java | 32 +++++++++---------- .../wisdomarbitrate/utils/SignAward.java | 7 +--- .../wisdomarbitrate/CaseApplicationMapper.xml | 4 +-- 6 files changed, 41 insertions(+), 47 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java index 649984d..aeb4f62 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java @@ -1,5 +1,6 @@ package com.ruoyi.wisdomarbitrate.domain; +import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; @@ -41,15 +42,16 @@ public class CaseAffiliate extends BaseEntity { /** * 被申请人出生年月日 */ - private String responBirth; + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date responBirth; -// public Date getResponBirth() { -// return responBirth; -// } -// -// public void setResponBirth(Date responBirth) { -// this.responBirth = responBirth; -// } + public Date getResponBirth() { + return responBirth; + } + + public void setResponBirth(Date responBirth) { + this.responBirth = responBirth; + } public String getCompLegalPerson() { return compLegalPerson; @@ -75,13 +77,7 @@ public class CaseAffiliate extends BaseEntity { this.responSex = responSex; } - public String getResponBirth() { - return responBirth; - } - public void setResponBirth(String responBirth) { - this.responBirth = responBirth; - } /** 身份证号 */ @Excel(name = "身份证号") diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseApplication.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseApplication.java index 962ade2..19ea0dd 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseApplication.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseApplication.java @@ -624,9 +624,19 @@ public class CaseApplication extends BaseEntity { /** 被申请人主体信息-性别 */ @Excel(name = "被申请人主体信息-性别",width = 26) private String responSex; + + public Date getResponBirth() { + return responBirth; + } + + public void setResponBirth(Date responBirth) { + this.responBirth = responBirth; + } + /** 被申请人主体信息-出生年月日 */ @Excel(name = "被申请人主体信息-出生年月日",width = 26) - private String responBirth; + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date responBirth; public String getCompLegalPerson() { return compLegalPerson; @@ -652,13 +662,7 @@ public class CaseApplication extends BaseEntity { this.responSex = responSex; } - public String getResponBirth() { - return responBirth; - } - public void setResponBirth(String responBirth) { - this.responBirth = responBirth; - } /** 联系电话 */ @Excel(name = "被申请人主体信息-联系电话",width = 26) 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 63397e7..044854d 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 @@ -94,8 +94,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService { datas.put("resName", affiliate.getName()); datas.put("resAddress", affiliate.getContactAddress()); datas.put("resSex", affiliate.getResponSex()); -// datas.put("resDateOfBirth", responBirthdatestr); - datas.put("resDateOfBirth", "1987-03-05"); + datas.put("resDateOfBirth", affiliate.getResponBirth()); datas.put("resContactAddress", null); } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java index 50a3e9a..26e4836 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java @@ -127,25 +127,25 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService { ){ return caseApplicationMapper.selectAdminCaseApplicationList(caseApplication); } - if(role.getRoleName().equals("仲裁委") - ||role.getRoleName().equals("部门长")){ - List caseStatusList=new ArrayList<>(); - caseStatusList.add(CaseApplicationConstants.CONFIRMDED_PENDING_TRIAL); - caseStatusList.add(CaseApplicationConstants.SIGN_ARBITRATION); - caseStatusList.add(CaseApplicationConstants.ARBITRATED_SEAL); - caseApplication.setDeptHeadStatus(caseStatusList); - } - if(role.getRoleName().equals("仲裁员")){ - caseApplication.setUserId(String.valueOf(userId)); - } +// if(role.getRoleName().equals("仲裁委") +// ||role.getRoleName().equals("部门长")){ +// List caseStatusList=new ArrayList<>(); +// caseStatusList.add(CaseApplicationConstants.CONFIRMDED_PENDING_TRIAL); +// caseStatusList.add(CaseApplicationConstants.SIGN_ARBITRATION); +// caseStatusList.add(CaseApplicationConstants.ARBITRATED_SEAL); +// caseApplication.setDeptHeadStatus(caseStatusList); +// } +// if(role.getRoleName().equals("仲裁员")){ +// caseApplication.setUserId(String.valueOf(userId)); +// } if(role.getRoleName().equals("财务")){ caseApplication.setFinanceStatus(CaseApplicationConstants.PENDING_PAYMENT_CONFIRM); } - if(role.getRoleName().equals("法律顾问")){ - // 查询角色有关的用户部门 - List deptIds = sysDeptMapper.selectUserDeptListByRoleId(role.getRoleId()); - caseApplication.setDeptIds(deptIds); - } +// if(role.getRoleName().equals("法律顾问")){ +// // 查询角色有关的用户部门 +// List deptIds = sysDeptMapper.selectUserDeptListByRoleId(role.getRoleId()); +// caseApplication.setDeptIds(deptIds); +// } if(StrUtil.isEmpty(caseApplication.getNameId())&&role.getRoleName().equals("申请人")){ // 查询角色有关的用户部门 caseApplication.setNameId(String.valueOf(sysUser.getDeptId())); diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/utils/SignAward.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/utils/SignAward.java index cfade82..3b0a8dd 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/utils/SignAward.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/utils/SignAward.java @@ -91,12 +91,7 @@ public class SignAward { // System.out.println(signFlowDetailJsonObject); -// String responBirth = "Wed Feb 03 00:00:00 CST 1988"; - String responBirth = "2023-10-10 05:49:36"; - Date responBirthdate= DateUtils.parseDate(responBirth); -// String responBirthdatestr= DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,responBirthdate); - String responBirthdatestr= DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,responBirthdate); - System.out.println(responBirthdatestr); + } diff --git a/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml b/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml index 0991056..baae6c8 100644 --- a/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml @@ -128,7 +128,7 @@ - or(t.identity_type=1 and t.case_status =#{financeStatus}) + (t.identity_type=1 and t.case_status =#{financeStatus}) @@ -220,7 +220,7 @@ - or( t.identity_type=1 and t.case_status =#{financeStatus}) + ( t.identity_type=1 and t.case_status =#{financeStatus})