|
@@ -343,6 +343,7 @@ public class ReviewQuotaDisburseServiceImpl extends ServiceImpl<ReviewQuotaDisbu
|
|
EnterpriseVerifyCreditSearch verifyCreditSearch = new EnterpriseVerifyCreditSearch();
|
|
EnterpriseVerifyCreditSearch verifyCreditSearch = new EnterpriseVerifyCreditSearch();
|
|
verifyCreditSearch.setEnterpriseIdentity(enterprise.getSocialCreditCode());
|
|
verifyCreditSearch.setEnterpriseIdentity(enterprise.getSocialCreditCode());
|
|
verifyCreditSearch.setCustomerId(ConstantUtil.QUOTA_DISBURSE_REPORT_CUSTOMER_ID);
|
|
verifyCreditSearch.setCustomerId(ConstantUtil.QUOTA_DISBURSE_REPORT_CUSTOMER_ID);
|
|
|
|
+ verifyCreditSearch.setTransCode(ConstantUtil.SOP_ENTERPRISE_CREDIT_VERIFY);
|
|
ResponseEntity<String> responseEntity = restTemplate.postForEntity(verifyCreditEntBusinessUrl, verifyCreditSearch, String.class);
|
|
ResponseEntity<String> responseEntity = restTemplate.postForEntity(verifyCreditEntBusinessUrl, verifyCreditSearch, String.class);
|
|
ResponseJson responseJson = JSONUtil.toBean(responseEntity.getBody(), ResponseJson.class);
|
|
ResponseJson responseJson = JSONUtil.toBean(responseEntity.getBody(), ResponseJson.class);
|
|
if (responseEntity.getStatusCode().value() != HttpStatus.OK.value() || !responseJson.isSuccess()) {
|
|
if (responseEntity.getStatusCode().value() != HttpStatus.OK.value() || !responseJson.isSuccess()) {
|