|
@@ -17,7 +17,6 @@ import com.trade.service.thirdparty.sop.service.SOPService;
|
|
import com.trade.service.thirdparty.sop.util.ResponseJson;
|
|
import com.trade.service.thirdparty.sop.util.ResponseJson;
|
|
import com.trade.service.thirdparty.sop.util.SOPConstantUtil;
|
|
import com.trade.service.thirdparty.sop.util.SOPConstantUtil;
|
|
import com.trade.service.thirdparty.sop.util.SOPRestUtil;
|
|
import com.trade.service.thirdparty.sop.util.SOPRestUtil;
|
|
-import com.yomahub.liteflow.util.JsonUtil;
|
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
@@ -64,7 +63,7 @@ public class SOPServiceImpl implements SOPService {
|
|
if (!json.isSuccess()) {
|
|
if (!json.isSuccess()) {
|
|
log.error("调用SOP查询企业详细信息接口返回失败,错误信息:" + json.getMsg());
|
|
log.error("调用SOP查询企业详细信息接口返回失败,错误信息:" + json.getMsg());
|
|
}
|
|
}
|
|
- return JsonUtil.parseObject(json.getData().toString(), SOPEnterpriseDetail.class);
|
|
|
|
|
|
+ return JSON.parseObject(json.getData().toString(), SOPEnterpriseDetail.class);
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -79,7 +78,7 @@ public class SOPServiceImpl implements SOPService {
|
|
if (null == json) {
|
|
if (null == json) {
|
|
throw new ServiceException("获取企业风险调查信息失败", HttpStatus.ERROR);
|
|
throw new ServiceException("获取企业风险调查信息失败", HttpStatus.ERROR);
|
|
}
|
|
}
|
|
- return JsonUtil.parseObject(json.getData().toString(), SOPRiskInvestigation.class);
|
|
|
|
|
|
+ return JSON.parseObject(json.getData().toString(), SOPRiskInvestigation.class);
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|