调用阿里关联关系

dev_unify
qiuyt 4 months ago
parent adc9b36ebd
commit efaed81227

@ -78,7 +78,7 @@ public class AlihealthYljgSinglerelationResponse extends AlihealthKytCommonParam
for (Map<String, String> map : jsonArray) { for (Map<String, String> map : jsonArray) {
if(!parentCode.equals(map.get("code")) && parentCode.equals(map.get("parent_code"))){ 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": case "1":
oneLevelCount++; oneLevelCount++;
break; 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"))) { if (!Objects.isNull(map) && StringUtils.isNotEmpty(map.get("parent_code")) && code.equals(map.get("parent_code"))) {
RelCodeDetail relCodeDetail = new RelCodeDetail(); RelCodeDetail relCodeDetail = new RelCodeDetail();
relCodeDetail.setCurCode(map.get("code")); 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")); relCodeDetail.setParentCode(map.get("parent_code"));
Integer flag = null; Integer flag = null;
switch (map.get("status")) { switch (map.get("status")) {

Loading…
Cancel
Save