|
@@ -78,6 +78,10 @@ public class SOPServiceImpl implements SOPService {
|
|
|
if (null == json) {
|
|
|
throw new ServiceException("获取企业风险调查信息失败", HttpStatus.ERROR);
|
|
|
}
|
|
|
+ if (!json.isSuccess() || null == json.getData()) {
|
|
|
+ log.error("获取企业风险调查信息失败,错误信息:" + json.getMsg());
|
|
|
+ throw new ServiceException("获取企业风险调查信息失败", HttpStatus.ERROR);
|
|
|
+ }
|
|
|
return JSON.parseObject(json.getData().toString(), SOPRiskInvestigation.class);
|
|
|
}
|
|
|
|