This commit is contained in:
hejinbo
2023-10-18 10:22:10 +08:00
parent 163b99c7b1
commit 953410c5df
2 changed files with 14 additions and 9 deletions
@@ -3,6 +3,8 @@ package com.ruoyi.wisdomarbitrate.domain;
import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity; import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;
public class CaseAffiliate extends BaseEntity { public class CaseAffiliate extends BaseEntity {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** ID */ /** ID */
@@ -39,7 +41,7 @@ public class CaseAffiliate extends BaseEntity {
/** /**
* 被申请人出生年月日 * 被申请人出生年月日
*/ */
private String responBirth; private Date responBirth;
public String getCompLegalPerson() { public String getCompLegalPerson() {
return compLegalPerson; return compLegalPerson;
@@ -65,11 +67,11 @@ public class CaseAffiliate extends BaseEntity {
this.responSex = responSex; this.responSex = responSex;
} }
public String getResponBirth() { public Date getResponBirth() {
return responBirth; return responBirth;
} }
public void setResponBirth(String responBirth) { public void setResponBirth(Date responBirth) {
this.responBirth = responBirth; this.responBirth = responBirth;
} }
@@ -84,19 +84,22 @@ 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("appAddress", affiliate.getContactAddress()); datas.put("appAddress", affiliate.getResidenAffili());
datas.put("appContactAddress", null); datas.put("appContactAddress", affiliate.getContactAddress());
datas.put("appLegalPerson", affiliate.getCompLegalPerson()); datas.put("appLegalPerson", affiliate.getCompLegalPerson());
datas.put("appLegalPersonTitle", affiliate.getCompLegalperPost()); datas.put("appLegalPersonTitle", affiliate.getCompLegalperPost());
datas.put("appAgentName", affiliate.getNameAgent()); datas.put("appAgentName", affiliate.getNameAgent());
datas.put("appAgentTitle", null); datas.put("appAgentTitle", affiliate.getAppliAgentTitle());
nameAgentList.add(affiliate.getNameAgent()); nameAgentList.add(affiliate.getNameAgent());
} else if (identityType == 2) { //被申请人 } else if (identityType == 2) { //被申请人
datas.put("resName", affiliate.getName()); datas.put("resName", affiliate.getName());
datas.put("resAddress", affiliate.getContactAddress()); datas.put("resAddress", affiliate.getResidenAffili());
datas.put("resSex", affiliate.getResponSex()); datas.put("resSex", affiliate.getResponSex());
datas.put("resDateOfBirth", affiliate.getResponBirth()); Date responBirth = affiliate.getResponBirth();
datas.put("resContactAddress", null); 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()); nameAgentList.add(affiliate.getNameAgent());
} }
} }