From 036ffc1b770cf0a3247890b8fdd88884376d8b6d Mon Sep 17 00:00:00 2001 From: 许鹏程 <1821349743@qq.com> Date: 星期二, 26 十一月 2024 15:25:38 +0800 Subject: [PATCH] 排序 parent --- src/main/java/com/product/mobile/core/service/FaceMobileService.java | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/product/mobile/core/service/FaceMobileService.java b/src/main/java/com/product/mobile/core/service/FaceMobileService.java index 317aebc..3a012b3 100644 --- a/src/main/java/com/product/mobile/core/service/FaceMobileService.java +++ b/src/main/java/com/product/mobile/core/service/FaceMobileService.java @@ -322,11 +322,14 @@ continue; } List<FieldSetEntity> fieldSetEntity = productSysFaceControlProperty.getFieldSetEntity(parentUuid); - if (CollectionUtil.isEmpty(fieldSetEntity)) { - continue; - } - + int i = result.size(); to(groupMap, fieldSetEntity, subTableFieldMap, result, parentMap); + String parentUuid1 = fieldSetEntity.get(0).getString("parent_uuid"); + if (!CollectionUtil.isEmpty(fieldSetEntity) && !StringUtils.isEmpty(parentUuid1)) { + if (i + 1 == result.size()) { + result.get(i).putOtherParam("parent_uuid", parentUuid1); + } + } } //鏍规嵁group_uuid 灏嗗瓙琛ㄥ瓧娈靛垎缁�5 if (!CollectionUtil.isEmpty(subTableFieldMap)) { -- Gitblit v1.9.2