|
|
@@ -169,6 +169,9 @@ public class InsuranceServiceImpl implements InsuranceService {
|
|
|
|
|
|
//被保人对象列表, 其下可多位被保险人, 他们在同个订单下
|
|
|
List<TradeVisitorRespVO> tradeVisitorRespVOS = tradeVisitorMapper.queryVisitorByOrderId(orderId);
|
|
|
+ if(tradeVisitorRespVOS == null || tradeVisitorRespVOS.size() == 0) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
List<InsuredDTO> insuredList = new ArrayList<>();
|
|
|
tradeVisitorRespVOS.forEach(tradeVisitorRespVO -> {
|
|
|
InsuredDTO insuredDTO = new InsuredDTO();
|