|
|
@@ -1885,9 +1885,9 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
* 转换非车
|
|
|
*/
|
|
|
public BaseQuoteVo convertDriving(BaseQuoteVo<QuoteAccidentalDrivingVo> baseQuoteVo) {
|
|
|
- if (baseQuoteVo.getCompanyId().equals("HTIC1000000")) {
|
|
|
- return baseQuoteVo;
|
|
|
- }
|
|
|
+// if (baseQuoteVo.getCompanyId().equals("HTIC1000000")) {
|
|
|
+// return baseQuoteVo;
|
|
|
+// }
|
|
|
|
|
|
if (baseQuoteVo.getAccidentalDrivingVo().getProjectCode() == null) {
|
|
|
baseQuoteVo.setAccidentalDrivingVo(null);
|
|
|
@@ -2003,6 +2003,13 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
InsDrivingIntentionInsurance byProjectCode = insDrivingIntentionInsuranceService.getByProjectCode(baseQuoteVo.getCompanyId(), baseQuoteVo.getAccidentalDrivingVo().getProjectCode());
|
|
|
taiPingBaseQuoteVo.setAccidentalDrivingVo(JSONObject.parseObject(byProjectCode.getRequestData()));
|
|
|
return taiPingBaseQuoteVo;
|
|
|
+ } else if (baseQuoteVo.getCompanyId().equals("HTIC1000000")) {
|
|
|
+ //华泰
|
|
|
+ BaseQuoteVo<Object> huaTaiBaseQuoteVo = new BaseQuoteVo<>();
|
|
|
+ BeanUtils.copyProperties(baseQuoteVo, huaTaiBaseQuoteVo);
|
|
|
+ InsDrivingIntentionInsurance byProjectCode = insDrivingIntentionInsuranceService.getByProjectCode(baseQuoteVo.getCompanyId(), baseQuoteVo.getAccidentalDrivingVo().getProjectCode());
|
|
|
+ huaTaiBaseQuoteVo.setAccidentalDrivingVo(JSONObject.parseObject(byProjectCode.getRequestData()));
|
|
|
+ return huaTaiBaseQuoteVo;
|
|
|
} else if (baseQuoteVo.getCompanyId().equals("HNIC1000000")) {
|
|
|
//华农
|
|
|
BaseQuoteVo<Object> huaNongBaseQuoteVo = new BaseQuoteVo<>();
|