| | |
| | | uuid.setType("String"); |
| | | uuid.setTable(table_name); |
| | | uuid.setHidden("1"); |
| | | uuid.setDisabled("1"); |
| | | ls.add(uuid); |
| | | } |
| | | |
| | |
| | | FaceFieldEntity uuid = new FaceFieldEntity(); |
| | | FieldSetEntity f = dte.getFieldSetEntity(j); |
| | | if ("pk".equals(f.getString("field_type")) |
| | | || "created_by".equals(f.getString("field_name")) |
| | | || "created_utc_datetime".equals(f.getString("field_name")) |
| | | || "updated_by".equals(f.getString("field_name")) |
| | | || "updated_utc_datetime".equals(f.getString("field_name")) |
| | | || "flowsign".equals(f.getString("field_type")) |
| | |
| | | } |
| | | if ("uuid".equals(f.getString("field_name"))) { |
| | | uuid.setHidden("1"); |
| | | uuid.setDisabled("1"); |
| | | } |
| | | if ("userids".equals(f.getString("field_type")) || "orgUuids".equals(f.getString("field_type"))) { |
| | | uuid.setMultiple("1"); |
| | | } else { |
| | | uuid.setMultiple("0"); |
| | | } |
| | | |
| | | if ("userids".equals(f.getString("field_type")) || "userid".equals(f.getString("field_type"))) { |
| | | uuid.setOrganizationType("5"); |
| | | } else if("orgUuids".equals(f.getString("field_type")) || "orgUuid".equals(f.getString("field_type"))) { |
| | | uuid.setOrganizationType("2"); |
| | | } |
| | | |
| | | uuid.setComponentType(""); |
| | |
| | | faceFieldEntity.setAllowDelete(setEntity.getBoolean("property_value")); |
| | | } else if ("control_sequence".equals(propertyName)) { |
| | | faceFieldEntity.putOtherParam("controlSequence", setEntity.getInteger("property_value")); |
| | | } else if ("__config__".equals(propertyName)) { |
| | | |
| | | String __config__ = setEntity.getUUID(); |
| | | List<FieldSetEntity> fieldSetEntities2 = parentMap.get(__config__); |
| | | if (!CollectionUtil.isEmpty(fieldSetEntities2)) { |
| | | for (FieldSetEntity fieldSetEntity4 : fieldSetEntities2) { |
| | | if ("label".equals(fieldSetEntity4.getString("property_name"))) { |
| | | faceFieldEntity.setName(fieldSetEntity4.getString("property_value")); |
| | | } else if ("required".equals(fieldSetEntity4.getString("property_name"))) { |
| | | faceFieldEntity.setRequired(fieldSetEntity4.getBoolean("property_value") ? "1" : "0"); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | List<FaceFieldEntity> subFieldList = faceFieldEntity.getSubField(); |