From efaed812271f168cec636477bf05ad30c5177811 Mon Sep 17 00:00:00 2001 From: qiuyt Date: Thu, 19 Dec 2024 17:34:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E7=94=A8=E9=98=BF=E9=87=8C=E5=85=B3?= =?UTF-8?q?=E8=81=94=E5=85=B3=E7=B3=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../res/alihealth/AlihealthYljgSinglerelationResponse.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")) {