|
|
@@ -436,7 +436,7 @@ public class InsuranceServiceImpl implements InsuranceService {
|
|
|
//被保人对象列表, 其下可多位被保险人, 他们在同个订单下
|
|
|
List<InsuredDTO> insuredList = new ArrayList<>();
|
|
|
InsuredDTO insuredDTO = new InsuredDTO();
|
|
|
- insuredDTO.setExternalPolicyNumber(tradeVisitorDO.getId().toString());
|
|
|
+ insuredDTO.setExternalPolicyNumber(insuranceId.toString());
|
|
|
String name = tradeVisitorDO.getName();
|
|
|
insuredDTO.setInsuredName(name);
|
|
|
if(9 == tradeVisitorDO.getCredentialType()) {
|
|
|
@@ -533,6 +533,19 @@ public class InsuranceServiceImpl implements InsuranceService {
|
|
|
return insuranceMapper.selectListByVisitorIds(visitorIds);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public String queryInsurance(Long id) {
|
|
|
+ CommonResult commonResult = insuranceUtil.queryInsurance(id.toString());
|
|
|
+ if (!commonResult.isSuccess()) {
|
|
|
+ throw exception0(commonResult.getCode(), commonResult.getMsg());
|
|
|
+ } else if (commonResult.isSuccess()) {
|
|
|
+ String str = (String) commonResult.getCheckedData();
|
|
|
+// JSONObject.
|
|
|
+ }
|
|
|
+
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public void queryInsuranceByOrderId(Long id) {
|
|
|
InsuranceDO insuranceDO = insuranceMapper.selectById(id);
|