|
|
@@ -57,6 +57,7 @@ import static com.ydtech.modules.order.components.gouren.GuorenDuplicateInsuranc
|
|
|
|
|
|
@Service
|
|
|
public class DaJiaOrderServiceImpl implements DaJiaOrderService {
|
|
|
+
|
|
|
@Autowired
|
|
|
private DaJiaRequestApiComponents daJiaRequestApiComponents;
|
|
|
|
|
|
@@ -132,7 +133,7 @@ public class DaJiaOrderServiceImpl implements DaJiaOrderService {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- private ODR1008Response ConfirmationVehicleCustomerInformation(String orderNo, String busiId, BaseQuoteInfoVo quoteInfoVo,
|
|
|
+ private ODR1008Response confirmationVehicleCustomerInformation(String orderNo, String busiId, BaseQuoteInfoVo quoteInfoVo,
|
|
|
DaJiaConfigureParameters daJiaConfigureParameters,
|
|
|
ODR2009Response odr2009Request, PersonAreaVo policyHolderPersonArea,
|
|
|
PersonAreaVo insuredPersonArea, PersonAreaVo ownerPersonArea, CoreModelsVo coreModelsVo) throws Exception {
|
|
|
@@ -192,7 +193,7 @@ public class DaJiaOrderServiceImpl implements DaJiaOrderService {
|
|
|
// 3.车辆与客户信息确认
|
|
|
CoreModelsVo coreModelsVo = new CoreModelsVo();
|
|
|
|
|
|
- ODR1008Response odr1008Response = ConfirmationVehicleCustomerInformation(orderNo, busiId, quoteInfoVo,
|
|
|
+ ODR1008Response odr1008Response = confirmationVehicleCustomerInformation(orderNo, busiId, quoteInfoVo,
|
|
|
daJiaConfigureParameters, odr2009Response, policyHolderPersonArea, insuredPersonArea, ownerPersonArea,
|
|
|
coreModelsVo);
|
|
|
if (!odr1008Response.getStatus().equals(Message.M0000.getCode())) {
|
|
|
@@ -204,8 +205,8 @@ public class DaJiaOrderServiceImpl implements DaJiaOrderService {
|
|
|
if ("D6,D8,D12,".contains(fuelType + ",")) {//纯电动 燃料电池 插电式混合动力 归属为新能源产品
|
|
|
isEnergy = true;
|
|
|
}
|
|
|
- //查询车辆商业起保日期
|
|
|
|
|
|
+ //查询车辆商业起保日期
|
|
|
InsOrders insOrders = insOrdersService.getById(quoteInfoVo.getOrderNo());
|
|
|
String bxStartDate = Objects.isNull(insOrders.getSystartdate()) ?
|
|
|
insOrders.getJqstartdate() : insOrders.getSystartdate();
|