|
@@ -697,7 +697,12 @@ public class ChengTaiOrderApiServiceImpl implements ChengTaiOrderApiService {
|
|
|
insAreaCompanyService.updateCompanyAndOrders(insAreaCompany);
|
|
insAreaCompanyService.updateCompanyAndOrders(insAreaCompany);
|
|
|
return HttpResult.ok("核保成功");
|
|
return HttpResult.ok("核保成功");
|
|
|
}else{
|
|
}else{
|
|
|
- throw new SystemException(underwritingResponse.getData().get(0).getReasondescription());
|
|
|
|
|
|
|
+ if(CollUtil.isNotEmpty(underwritingResponse.getData())){
|
|
|
|
|
+ throw new SystemException(underwritingResponse.getData().get(0).getReasondescription());
|
|
|
|
|
+ }else{
|
|
|
|
|
+ throw new SystemException("核保异常!");
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}catch (SystemException systemException){
|
|
}catch (SystemException systemException){
|
|
|
// 查询核保结果
|
|
// 查询核保结果
|