|
@@ -189,11 +189,14 @@ public class UnifyOrderManager {
|
|
|
platformClient,
|
|
platformClient,
|
|
|
baseController);
|
|
baseController);
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ Map<String, List<QuoteRuleMapping>> quoteKindMappingMap = quoteRuleMappingService.getByInsuranceCompanyCode(esmInsCompanyHttpResult.getData().getCode());
|
|
|
|
|
+ QuoteInfoConverter.converterCarInfoVo(quoteVo.getCarInfoVo(), quoteKindMappingMap.get(QuoteRuleCategory.QUOTE_INFO.getCode()));
|
|
|
if(CollUtil.isNotEmpty(quoteVo.getKindInfoVo())){
|
|
if(CollUtil.isNotEmpty(quoteVo.getKindInfoVo())){
|
|
|
- String groupCode = quoteVo.getCarInfoVo().getEnergyTypeCode().equals("0") ?
|
|
|
|
|
- QuoteRuleGroup.BUS_KIND.getCode():QuoteRuleGroup.NEW_ENERGY_KIND.getCode();
|
|
|
|
|
- Map<String, List<QuoteRuleMapping>> quoteKindMappingMap = quoteRuleMappingService.getByInsuranceCompanyCode(esmInsCompanyHttpResult.getData().getCode(), groupCode);
|
|
|
|
|
- QuoteInfoConverter.converterKindInfoVo(quoteVo.getKindInfoVo(), quoteKindMappingMap.get(QuoteRuleCategory.KIND.getCode()));
|
|
|
|
|
|
|
+ QuoteInfoConverter.converterKindInfoVo(quoteVo.getKindInfoVo(),
|
|
|
|
|
+ quoteKindMappingMap.get(QuoteRuleCategory.KIND.getCode()),
|
|
|
|
|
+ quoteVo.getCarInfoVo());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 生成订单
|
|
// 生成订单
|