Commit a17e00d5 authored by Administrator's avatar Administrator

-临时

parent a43eaead
...@@ -266,8 +266,9 @@ public class EnterpriseService { ...@@ -266,8 +266,9 @@ public class EnterpriseService {
if (codeRating.equals(HttpStatus.OK.value())) { if (codeRating.equals(HttpStatus.OK.value())) {
Object object = bondCreditRatingMap.get("data"); Object object = bondCreditRatingMap.get("data");
if (ObjectUtil.isNotEmpty(object)) { if (ObjectUtil.isNotEmpty(object)) {
Object[] obj = (Object[])object; ArrayList obj = (ArrayList)object;
companyMap.put("bratingSubjectLevel", obj[0]); Map<String, Object> bondCreditRating = (Map<String, Object>)obj.get(0);
companyMap.put("bratingSubjectLevel", bondCreditRating.get("bratingSubjectLevel"));
} }
} }
String uipId = MapUtils.getString(companyMap, "uipId"); String uipId = MapUtils.getString(companyMap, "uipId");
......
...@@ -66,8 +66,9 @@ public class UrbanInvestmentPlatformServiceImpl implements UrbanInvestmentPlatfo ...@@ -66,8 +66,9 @@ public class UrbanInvestmentPlatformServiceImpl implements UrbanInvestmentPlatfo
if (codeRating.equals(HttpStatus.OK.value())) { if (codeRating.equals(HttpStatus.OK.value())) {
Object object = bondCreditRatingMap.get("data"); Object object = bondCreditRatingMap.get("data");
if (ObjectUtil.isNotEmpty(object)) { if (ObjectUtil.isNotEmpty(object)) {
Object[] obj = (Object[])object; ArrayList obj = (ArrayList)object;
companyMap.put("bratingSubjectLevel", obj[0]); Map<String, Object> bondCreditRating = (Map<String, Object>)obj.get(0);
companyMap.put("bratingSubjectLevel", bondCreditRating.get("bratingSubjectLevel"));
} }
} }
String uipId = MapUtils.getString(companyMap, "uipId"); String uipId = MapUtils.getString(companyMap, "uipId");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment