|
|
@@ -113,7 +113,7 @@ public class QuotedPriceRequest extends BaseRequest {
|
|
|
// 客户信息
|
|
|
this.customer = new CustomerDTO().getCustomers(ownerInfo, policyHolderInfo, insuredPersonInfo);
|
|
|
// 驾意险
|
|
|
- if (!StringUtils.isEmpty(accidentalDrivingVo.getRideRiskCode())) {
|
|
|
+ if (accidentalDrivingVo != null) {
|
|
|
this.accident = Collections.singletonList(new AccidentDTO(accidentalDrivingVo.getRideRiskCode(),
|
|
|
accidentalDrivingVo.getQuantity(),"",""));
|
|
|
}
|