|
|
@@ -2,7 +2,6 @@ package com.ydtech.modules.order.entity.api.pingan.request;
|
|
|
|
|
|
import com.ydtech.constants.enums.InsurKind;
|
|
|
import com.ydtech.modules.ins.model.vo.KindInfoVo;
|
|
|
-import com.ydtech.modules.order.entity.InsDrivingIntentionInsuranceSon;
|
|
|
import com.ydtech.modules.order.entity.InsOrders;
|
|
|
import com.ydtech.modules.order.entity.api.pingan.response.CarConfirmResponse;
|
|
|
import com.ydtech.modules.order.entity.api.pingan.response.SearchPAVehicleListResponse;
|
|
|
@@ -12,7 +11,7 @@ import com.ydtech.modules.order.entity.api.pingan.utils.checkNull.Validate;
|
|
|
import com.ydtech.modules.order.entity.api.pingan.utils.checkNull.Validator;
|
|
|
import com.ydtech.modules.order.entity.config.PingAnConfigureParameters;
|
|
|
import com.ydtech.modules.order.entity.vo.BaseQuoteInfoVo;
|
|
|
-import com.ydtech.modules.order.entity.vo.InsDrivingIntentionInsuranceVo;
|
|
|
+import com.ydtech.modules.order.entity.vo.pingan.InsDrivingIntentionInsuranceSonVo;
|
|
|
import lombok.Data;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
@@ -781,17 +780,12 @@ public class QuoteRequest extends PingAnBaseRequest {
|
|
|
* @Date: 2024/7/19 16:17
|
|
|
* @Description: 处理财意险列表、小微险列表、组合险
|
|
|
*/
|
|
|
- public QuoteRequest transYJPingAnRequestMsg(List<InsDrivingIntentionInsuranceVo> accidentalDrivingVos, QuoteRequest quoteRequest,String type) {
|
|
|
+ public QuoteRequest transYJPingAnRequestMsg(InsDrivingIntentionInsuranceSonVo vo, QuoteRequest quoteRequest, String type) {
|
|
|
//处理
|
|
|
List<UnAutoListInfoDTO> unAutoListInfoList=new ArrayList<>();
|
|
|
- if(accidentalDrivingVos!=null && accidentalDrivingVos.size()>0){
|
|
|
- for(InsDrivingIntentionInsuranceVo accidentalDrivingVo : accidentalDrivingVos){
|
|
|
- if(accidentalDrivingVo.getSon()!=null && accidentalDrivingVo.getSon().size()>0){
|
|
|
- InsDrivingIntentionInsuranceSon son = accidentalDrivingVo.getSon().get(0);
|
|
|
- UnAutoListInfoDTO unAutoListInfoDTO =new UnAutoListInfoDTO(son.getProductCode(),son.getCode(),"1");
|
|
|
- unAutoListInfoList.add(unAutoListInfoDTO);
|
|
|
- }
|
|
|
- }
|
|
|
+ if(vo!=null){
|
|
|
+ UnAutoListInfoDTO unAutoListInfoDTO =new UnAutoListInfoDTO(vo.getProductCode(),vo.getCode(),"1");
|
|
|
+ unAutoListInfoList.add(unAutoListInfoDTO);
|
|
|
}
|
|
|
if(unAutoListInfoList!=null && unAutoListInfoList.size()>0){
|
|
|
quoteRequest.setApplyUnAuto("true");
|