|
@@ -644,6 +644,8 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
}
|
|
}
|
|
|
JSONArray accidentInfo = JSON.parseArray(JSON.toJSONString(insDrivingIntentionInsuranceSon));
|
|
JSONArray accidentInfo = JSON.parseArray(JSON.toJSONString(insDrivingIntentionInsuranceSon));
|
|
|
orderAndAreaCompany.setAccidentInfo(accidentInfo);
|
|
orderAndAreaCompany.setAccidentInfo(accidentInfo);
|
|
|
|
|
+ }else{
|
|
|
|
|
+ orderAndAreaCompany.setAccidentInfo(new JSONArray());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//获取交强险种信息
|
|
//获取交强险种信息
|
|
@@ -651,6 +653,8 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
orderAndAreaCompany.getProductid().equals(ProductsType.PT_0330034001.getCode()) ||
|
|
orderAndAreaCompany.getProductid().equals(ProductsType.PT_0330034001.getCode()) ||
|
|
|
orderAndAreaCompany.getProductid().equals(ProductsType.PT_0330034002.getCode())) {
|
|
orderAndAreaCompany.getProductid().equals(ProductsType.PT_0330034002.getCode())) {
|
|
|
orderAndAreaCompany.setJqInsuranceType(JqInsuranceType.toJsonArray());
|
|
orderAndAreaCompany.setJqInsuranceType(JqInsuranceType.toJsonArray());
|
|
|
|
|
+ }else{
|
|
|
|
|
+ orderAndAreaCompany.setJqInsuranceType(new JSONArray());
|
|
|
}
|
|
}
|
|
|
return HttpResult.ok("success", orderAndAreaCompany);
|
|
return HttpResult.ok("success", orderAndAreaCompany);
|
|
|
}
|
|
}
|