|
@@ -639,6 +639,16 @@ public class BoHaiOrderApiServiceImpl implements BoHaiOrderApiService {
|
|
|
// 保存订单信息
|
|
// 保存订单信息
|
|
|
InsAreaCompany insAreaCompany = new InsAreaCompany(quoteRespVo, ptlAgreementAttribution);
|
|
InsAreaCompany insAreaCompany = new InsAreaCompany(quoteRespVo, ptlAgreementAttribution);
|
|
|
|
|
|
|
|
|
|
+ List<InsAreaCompanyAccidentalDriving> insAreaCompanyAccidentalDrivings = new ArrayList<>();
|
|
|
|
|
+ accidentalDrivingVo.forEach(accidentalDriving -> {
|
|
|
|
|
+ InsAreaCompanyAccidentalDriving insAreaCompanyAccidentalDriving = new InsAreaCompanyAccidentalDriving();
|
|
|
|
|
+ insAreaCompanyAccidentalDriving.setQuantity(insAreaCompanyAccidentalDriving.getQuantity());
|
|
|
|
|
+ insAreaCompanyAccidentalDriving.setRideRiskCode(insAreaCompanyAccidentalDriving.getRideRiskCode());
|
|
|
|
|
+ insAreaCompanyAccidentalDriving.setRideRiskName(insAreaCompanyAccidentalDriving.getRideRiskName());
|
|
|
|
|
+ insAreaCompanyAccidentalDrivings.add(insAreaCompanyAccidentalDriving);
|
|
|
|
|
+ });
|
|
|
|
|
+ insAreaCompanyService.insertCompanyAndOrders(insAreaCompany,insAreaCompanyAccidentalDrivings);
|
|
|
|
|
+
|
|
|
// 渤海业务id
|
|
// 渤海业务id
|
|
|
String busUniqueId = response.getData().getBusUniqueId();
|
|
String busUniqueId = response.getData().getBusUniqueId();
|
|
|
insAreaCompany.setId(orderId);
|
|
insAreaCompany.setId(orderId);
|