|
|
|
@ -128,12 +128,12 @@ public class AlihealthYljgSinglerelationResponse extends AlihealthKytCommonParam
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<RelCodeDetail> disposeRelRodeDetailList(Integer batchIdFk) {
|
|
|
|
|
public List<RelCodeDetail> disposeRelRodeDetailList(Integer batchIdFk,String code) {
|
|
|
|
|
List<RelCodeDetail> list = new ArrayList<>();
|
|
|
|
|
List<Map<String, String>> jsonArray = (List) this.getCode_relation_list().get("code_info");
|
|
|
|
|
if (jsonArray != null && jsonArray.size() > 0) {
|
|
|
|
|
for (Map<String, String> map : jsonArray) {
|
|
|
|
|
if (!Objects.isNull(map) && StringUtils.isNotEmpty(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.setCurCode(map.get("code"));
|
|
|
|
|
relCodeDetail.setPackLayer(Integer.valueOf(map.get("code_level")));
|
|
|
|
|