Explorar el Código

国任非车 空判断

785834757 hace 2 años
padre
commit
16d0055fee

+ 1 - 1
src/main/java/com/ydtech/modules/order/entity/api/zhongmei/request/QuotedPriceRequest.java

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