|
|
@@ -1157,8 +1157,8 @@ public class PremiumCalculationRequest {
|
|
|
this.appDistrict = policyHolderInfo.getCounty();
|
|
|
this.appCompleteAddress = policyHolderInfo.getAddr();
|
|
|
this.terrorNationality = "CN";
|
|
|
- this.identifyValidDate = XmlDateTimeFormatter.format(policyHolderInfo.getIdentifyValidDate());
|
|
|
- this.identifyValidEndDate = XmlDateTimeFormatter.format(policyHolderInfo.getIdentifyValidEndDate());
|
|
|
+ this.identifyValidDate = policyHolderInfo.getIdentifyValidDate();
|
|
|
+ this.identifyValidEndDate = policyHolderInfo.getIdentifyValidEndDate();
|
|
|
this.longTerm = policyHolderInfo.getIdentifyValidEndDate() != null && policyHolderInfo.getIdentifyValidEndDate().contains("9999") ? "1" : "0";
|
|
|
this.insuredAddress = policyHolderInfo.getAddr();
|
|
|
this.mobilePhone = policyHolderInfo.getMobile();
|
|
|
@@ -1168,7 +1168,7 @@ public class PremiumCalculationRequest {
|
|
|
this.identifyType = "01";
|
|
|
this.identifyNumber = policyHolderInfo.getIdentifyNumber();
|
|
|
this.sex = policyHolderInfo.getGender().equals("男") ? "1" : "2";
|
|
|
- this.birthDate = XmlDateTimeFormatter.format(policyHolderInfo.getIdentifyNumber().substring(6, 10) + "-" + policyHolderInfo.getIdentifyNumber().substring(10, 12) + "-" + policyHolderInfo.getIdentifyNumber().substring(12, 14));
|
|
|
+ this.birthDate = policyHolderInfo.getIdentifyNumber().substring(6, 10) + "-" + policyHolderInfo.getIdentifyNumber().substring(10, 12) + "-" + policyHolderInfo.getIdentifyNumber().substring(12, 14);
|
|
|
this.email = policyHolderInfo.getEmail();
|
|
|
}
|
|
|
if (policyHolderInfo.getProperty().equals("0")) {
|
|
|
@@ -1364,8 +1364,8 @@ public class PremiumCalculationRequest {
|
|
|
this.insuredDistrict = insuredPersonInfo.getCounty();
|
|
|
this.insuredCompleteAddress = insuredPersonInfo.getAddr();
|
|
|
this.terrorNationality = "CN";
|
|
|
- this.identifyValidDate = XmlDateTimeFormatter.format(insuredPersonInfo.getIdentifyValidDate());
|
|
|
- this.identifyValidEndDate = XmlDateTimeFormatter.format(insuredPersonInfo.getIdentifyValidEndDate());
|
|
|
+ this.identifyValidDate = insuredPersonInfo.getIdentifyValidDate();
|
|
|
+ this.identifyValidEndDate = insuredPersonInfo.getIdentifyValidEndDate();
|
|
|
this.longTerm = insuredPersonInfo.getIdentifyValidEndDate() != null && insuredPersonInfo.getIdentifyValidEndDate().contains("9999") ? "1" : "0";
|
|
|
this.insuredAddress = insuredPersonInfo.getAddr();
|
|
|
this.insuredMobilePhone = insuredPersonInfo.getMobile();
|
|
|
@@ -1375,7 +1375,7 @@ public class PremiumCalculationRequest {
|
|
|
this.identifyType = "01";
|
|
|
this.identifyNumber = insuredPersonInfo.getIdentifyNumber();
|
|
|
this.insuredSex = insuredPersonInfo.getGender().equals("男") ? "1" : "2";
|
|
|
- this.insuredBirthDate = XmlDateTimeFormatter.format(insuredPersonInfo.getIdentifyNumber().substring(6, 10) + "-" + insuredPersonInfo.getIdentifyNumber().substring(10, 12) + "-" + insuredPersonInfo.getIdentifyNumber().substring(12, 14));
|
|
|
+ this.insuredBirthDate = insuredPersonInfo.getIdentifyNumber().substring(6, 10) + "-" + insuredPersonInfo.getIdentifyNumber().substring(10, 12) + "-" + insuredPersonInfo.getIdentifyNumber().substring(12, 14);
|
|
|
this.relationWithHolder = "0";
|
|
|
this.carInsuredRelation = "1";
|
|
|
}
|