| | |
| | | package com.product.mobile.core.entity; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | |
| | | private List<FaceFieldEntity> subField; |
| | | |
| | | private Map<String, Object> otherParams = new HashMap<>(); |
| | | |
| | | public String getFieldName() { |
| | | return fieldName; |
| | |
| | | public void setSubField(List<FaceFieldEntity> subField) { |
| | | this.subField = subField; |
| | | } |
| | | |
| | | public Map<String, Object> getOtherParams() { |
| | | return otherParams; |
| | | } |
| | | |
| | | public void setOtherParams(Map<String, Object> otherParams) { |
| | | this.otherParams = otherParams; |
| | | } |
| | | |
| | | public Object putOtherParam(String key, Object value) { |
| | | return otherParams.put(key, value); |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | 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 { |
| | |
| | | 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())) { |