From 5d210a9b1181064aa66a150c757e5e054edbf8fe Mon Sep 17 00:00:00 2001
From: shicf <shi_chongfu@163.com>
Date: 星期三, 25 九月 2024 11:28:01 +0800
Subject: [PATCH] 表单配置获取
---
src/main/java/com/product/mobile/core/service/FaceMobileService.java | 9 +++++----
1 files changed, 5 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 e35c3a7..44bb837 100644
--- a/src/main/java/com/product/mobile/core/service/FaceMobileService.java
+++ b/src/main/java/com/product/mobile/core/service/FaceMobileService.java
@@ -260,7 +260,7 @@
continue;
}
- to(groupMap, fieldSetEntity, subTableField, result,parentMap);
+ to(groupMap, fieldSetEntity, subTableField, result, parentMap);
}
if (!CollectionUtil.isEmpty(subTableField)) {
//鏍规嵁瀛愯〃琛ㄥ悕瑁呰浇
@@ -343,7 +343,6 @@
}
-
private void to(Map<String, List<FieldSetEntity>> groupMap, List<FieldSetEntity> fieldSetEntity, List<List<FieldSetEntity>> subTableField, List<FaceFieldEntity> result, Map<String, List<FieldSetEntity>> parentMap) {
FieldSetEntity parent = fieldSetEntity.get(0);
String groupUuid1 = parent.getString("group_uuid");
@@ -352,7 +351,6 @@
}
List<FieldSetEntity> parentGroup = groupMap.get(groupUuid1);
FaceFieldEntity faceFieldEntity = new FaceFieldEntity();
- boolean parentType = false;
String __config__ = null;
List<FieldSetEntity> other = null;
do {
@@ -373,7 +371,7 @@
} else if ("__config__".equals(propertyName)) {
__config__ = setEntity.getUUID();
}
- if (!StringUtils.isAnyEmpty(__config__) ) {
+ if (!StringUtils.isAnyEmpty(__config__)) {
//璇诲彇瀛愯〃灞炴��
if (parentMap != null) {
other = parentMap.get(__config__);
@@ -387,6 +385,9 @@
ReflectUtil.setFieldValue(faceFieldEntity, propertyName, setEntity.getObject("property_value"));
}
+ } else if (!StringUtils.isEmpty(setEntity.getObject("property_value"))) {
+ //鍒ゆ柇鏄惁
+ faceFieldEntity.putOtherParam(propertyName, setEntity.getObject("property_value"));
}
}
if (StringUtils.isEmpty(faceFieldEntity.getField())) {
--
Gitblit v1.9.2