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
@@ -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());
}
}