|
|
|
@ -78,7 +78,7 @@ public class AlihealthYljgSinglerelationResponse extends AlihealthKytCommonParam
|
|
|
|
|
for (Map<String, String> 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")) {
|
|
|
|
|