|
@@ -495,16 +495,16 @@ public class YangGuangAccuracyCalculateRequest extends YangGuangBaseRequest {
|
|
|
this.Name = customerInfoVo.getName();
|
|
this.Name = customerInfoVo.getName();
|
|
|
this.Mobile = customerInfoVo.getMobile();
|
|
this.Mobile = customerInfoVo.getMobile();
|
|
|
this.OwnerAdress = customerInfoVo.getAddr();
|
|
this.OwnerAdress = customerInfoVo.getAddr();
|
|
|
- if ("0".equals(customerInfoVo.getProperty())) {
|
|
|
|
|
- this.IdentifyType = "09";
|
|
|
|
|
- this.InsuredType = "2";
|
|
|
|
|
- this.CarInsuredRelation = "1";
|
|
|
|
|
- this.IdentifyNumber = customerInfoVo.getOrganizationCode();
|
|
|
|
|
- }else {
|
|
|
|
|
|
|
+ if (customerInfoVo.getProperty() != null && customerInfoVo.getProperty().equals("1")) {
|
|
|
this.InsuredType = "0";
|
|
this.InsuredType = "0";
|
|
|
this.IdentifyType = "01";
|
|
this.IdentifyType = "01";
|
|
|
this.CarInsuredRelation = "1";
|
|
this.CarInsuredRelation = "1";
|
|
|
this.IdentifyNumber = customerInfoVo.getIdentifyNumber();
|
|
this.IdentifyNumber = customerInfoVo.getIdentifyNumber();
|
|
|
|
|
+ } else if (customerInfoVo.getProperty() != null && customerInfoVo.getProperty().equals("0")) {
|
|
|
|
|
+ this.IdentifyType = "09";
|
|
|
|
|
+ this.InsuredType = "2";
|
|
|
|
|
+ this.CarInsuredRelation = "1";
|
|
|
|
|
+ this.IdentifyNumber = customerInfoVo.getOrganizationCode();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|