|
|
@@ -167,7 +167,9 @@ public class QuotedPriceRequest extends BaseRequest {
|
|
|
this.province = zmConfigureParameters.getProvince();
|
|
|
this.city = zmConfigureParameters.getCity();
|
|
|
this.district = zmConfigureParameters.getDistrict();
|
|
|
- this.accountUser = zmConfigureParameters.getAccountUser();
|
|
|
+ if (zmConfigureParameters.getAccountUser() != null) {
|
|
|
+ this.accountUser = zmConfigureParameters.getAccountUser();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -530,19 +532,49 @@ public class QuotedPriceRequest extends BaseRequest {
|
|
|
@JsonProperty("identifyValidEndDate")
|
|
|
private String identifyValidEndDate;
|
|
|
|
|
|
+ // 注册日期(法人必传)
|
|
|
+ @JsonProperty("regisDate")
|
|
|
+ private String regisDate;
|
|
|
+
|
|
|
+ // 营业执照单位全称
|
|
|
+ @JsonProperty("businessLicense")
|
|
|
+ private String businessLicense;
|
|
|
+
|
|
|
+ // 纳税人识别号或社会信用代码
|
|
|
+ @JsonProperty("taxperNumber")
|
|
|
+ private String taxperNumber;
|
|
|
+
|
|
|
public CustomerDTO(CustomerInfoVo customerInfoVo, String role) {
|
|
|
- this.name = customerInfoVo.getName();
|
|
|
- this.identifyType = "01";
|
|
|
- this.identifyNumber = customerInfoVo.getIdentifyNumber();
|
|
|
- this.addr = customerInfoVo.getAddr();
|
|
|
- this.mobile = customerInfoVo.getMobile();
|
|
|
- this.emailPolicy = customerInfoVo.getEmail();
|
|
|
- this.type = "1";
|
|
|
- this.role = role;
|
|
|
- this.invocieType = "026";
|
|
|
- this.jobRisk = "1";
|
|
|
- this.identifyValidDate = customerInfoVo.getIdentifyValidDate() + " " + TimeConstants.START_TIME;
|
|
|
- this.identifyValidEndDate = customerInfoVo.getIdentifyValidEndDate() + " " + TimeConstants.END_TIME;
|
|
|
+ if (customerInfoVo.getProperty() != null && customerInfoVo.getProperty().equals("1")) {
|
|
|
+ this.name = customerInfoVo.getName();
|
|
|
+ this.type = "1";
|
|
|
+ this.identifyType = "01";
|
|
|
+ this.identifyNumber = customerInfoVo.getIdentifyNumber();
|
|
|
+ this.role = role;
|
|
|
+ this.mobile = customerInfoVo.getMobile();
|
|
|
+ this.addr = customerInfoVo.getAddr();
|
|
|
+ this.emailPolicy = customerInfoVo.getEmail();
|
|
|
+ this.identifyValidDate = customerInfoVo.getIdentifyValidDate() + " " + TimeConstants.START_TIME;
|
|
|
+ this.identifyValidEndDate = customerInfoVo.getIdentifyValidEndDate() + " " + TimeConstants.END_TIME;
|
|
|
+ this.invocieType = "026";
|
|
|
+ this.jobRisk = "1";
|
|
|
+ }else if (customerInfoVo.getProperty() != null && customerInfoVo.getProperty().equals("0")) {
|
|
|
+ this.name = customerInfoVo.getName();
|
|
|
+ this.type = "2";
|
|
|
+ this.identifyType = "4";
|
|
|
+ this.role = role;
|
|
|
+ this.identifyNumber = customerInfoVo.getOrganizationCode();
|
|
|
+ this.mobile = customerInfoVo.getMobile();
|
|
|
+ this.addr = customerInfoVo.getAddr();
|
|
|
+ this.emailPolicy = customerInfoVo.getEmail();
|
|
|
+ this.identifyValidDate = customerInfoVo.getIdentifyValidDate() + " " + TimeConstants.START_TIME;
|
|
|
+ this.identifyValidEndDate = customerInfoVo.getIdentifyValidEndDate() + " " + TimeConstants.END_TIME;
|
|
|
+ this.invocieType = "026";
|
|
|
+ this.regisDate = customerInfoVo.getIdentifyValidDate() + " " + TimeConstants.START_TIME;
|
|
|
+ this.businessLicense = customerInfoVo.getName();
|
|
|
+ this.taxperNumber = customerInfoVo.getOrganizationCode();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
public List<CustomerDTO> getCustomers(CustomerInfoVo ownerInfo, CustomerInfoVo policyHolderInfo, CustomerInfoVo insuredPersonInfo) {
|