diff --git a/src/main/java/com/glxp/api/res/alihealth/AlihealthYljgSinglerelationResponse.java b/src/main/java/com/glxp/api/res/alihealth/AlihealthYljgSinglerelationResponse.java index a34976d1..5de5e549 100644 --- a/src/main/java/com/glxp/api/res/alihealth/AlihealthYljgSinglerelationResponse.java +++ b/src/main/java/com/glxp/api/res/alihealth/AlihealthYljgSinglerelationResponse.java @@ -78,7 +78,7 @@ public class AlihealthYljgSinglerelationResponse extends AlihealthKytCommonParam for (Map map : jsonArray) { if(!parentCode.equals(map.get("code")) && parentCode.equals(map.get("parent_code"))){ - switch (map.get("code_level")) { + switch (map.get("code_pack_level")) { case "1": oneLevelCount++; break; @@ -136,7 +136,7 @@ public class AlihealthYljgSinglerelationResponse extends AlihealthKytCommonParam if (!Objects.isNull(map) && StringUtils.isNotEmpty(map.get("parent_code")) && code.equals(map.get("parent_code"))) { RelCodeDetail relCodeDetail = new RelCodeDetail(); relCodeDetail.setCurCode(map.get("code")); - relCodeDetail.setPackLayer(Integer.valueOf(map.get("code_level"))); + relCodeDetail.setPackLayer(Integer.valueOf(map.get("code_pack_level"))); relCodeDetail.setParentCode(map.get("parent_code")); Integer flag = null; switch (map.get("status")) {