| | |
| | | continue; |
| | | } |
| | | |
| | | to(groupMap, fieldSetEntity, subTableField, result,parentMap); |
| | | to(groupMap, fieldSetEntity, subTableField, result, parentMap); |
| | | } |
| | | if (!CollectionUtil.isEmpty(subTableField)) { |
| | | //根据子表表名装载 |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | 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"); |
| | |
| | | } |
| | | List<FieldSetEntity> parentGroup = groupMap.get(groupUuid1); |
| | | FaceFieldEntity faceFieldEntity = new FaceFieldEntity(); |
| | | boolean parentType = false; |
| | | String __config__ = null; |
| | | List<FieldSetEntity> other = null; |
| | | do { |
| | |
| | | } else if ("__config__".equals(propertyName)) { |
| | | __config__ = setEntity.getUUID(); |
| | | } |
| | | if (!StringUtils.isAnyEmpty(__config__) ) { |
| | | if (!StringUtils.isAnyEmpty(__config__)) { |
| | | //读取子表属性 |
| | | if (parentMap != null) { |
| | | other = parentMap.get(__config__); |
| | |
| | | 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.getFieldName())) { |