自定义表单 使用Redis 1.0 功能完成

yun-zuoyi
wei.peng 6 years ago
parent 3d3260c1a7
commit c119c06130

@ -182,7 +182,7 @@ public class DynamicEntity extends BaseBean implements Serializable {
public boolean isDefaultField(String fieldName){
if (!ATTR_PREFIX.equals(fieldName)) {
if("propertyList".equals(fieldName) || "dynProperty".equals(fieldName) || "childList".equals(fieldName)
|| "LOGGER".equals(fieldName)){
|| "LOGGER".equals(fieldName) || "ATTR_PREFIX".equals(fieldName)){
return true;
}
}

@ -53,5 +53,5 @@ public class BfCascade extends BaseBean {
@Transient
@ApiParam(value = "元素详细")
@AnnoOutputColumn(hidden = true)
private List<BfCascadeDetail> detailList;
private List<BfCascadeDetail> childList;
}

@ -68,4 +68,9 @@ public class BfDataObject extends BaseBean {
@AnnoOutputColumn(hidden = true)
private List<BfDataObjectProperty> propertyList;
@Transient
@ApiParam(value = "元素对象虚拟属性")
@AnnoOutputColumn(hidden = true)
List<BfElementPropertyVirtual> virtualList;
}

@ -45,6 +45,16 @@ public class BfElement extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class)
private Long dataObjectId;
//外键关联数据对象主键
@Column(name = "ELEMENT_PROPERTY_PRIMARY_KEY")
@ApiParam(value = "元素主键Key ", example = "-1")
@JsonSerialize(using = ToStringSerializer.class)
private Long elementPropertyPrimaryKey;
@Column(name="ELEMENT_PROPERTY_PRIMARY_KEY_NAME_RDD")
@ApiParam(value ="元素主键Key名称")
private String elementPropertyPrimaryKeyNameRdd;
@Column(name="ELEMENT_TYPE")
@ApiParam(value ="元素类型")
private Integer elementType;
@ -57,14 +67,30 @@ public class BfElement extends BaseBean {
@ApiParam(value ="元素编码")
private String elementCode;
@Column(name="ELEMENT_ATTR_ID")
@Column(name = "IS_OBJECT_ADD")
@ApiParam(value = "是否新增")
private Integer isObjectAdd;
@Column(name = "IS_OBJECT_EDIT")
@ApiParam(value = "是否编辑")
private Integer isObjectEdit;
@Column(name = "IS_OBJECT_DEL")
@ApiParam(value = "是否删除")
private Integer isObjectDel;
@Column(name="ELEMENT_SORT_ATTR_ID")
@ApiParam(value ="默认排序属性")
@JsonSerialize(using = ToStringSerializer.class)
private Long elementAttrId;
private Long elementSortAttrId;
@Column(name="ELEMENT_SORT_ATTR_CODE_RDD")
@ApiParam(value ="默认排序属性名称")
private String elementSortAttrCodeRdd;
@Column(name="ELEMENT_SORT_TYPE")
@Column(name="ELEMENT_SORT_ATTR_TYPE")
@ApiParam(value ="默认排序规则")
private Integer elementSortType;
private Integer elementSortAttrType;
@Column(name="ELEMENT_CSS_STYLE")
@ApiParam(value ="元素样式")

@ -44,18 +44,6 @@ public class BfElementGrid extends BaseBean {
@ApiParam(value = "是否单选")
private Integer isLineMultiple;
@Column(name = "IS_OBJECT_ADD")
@ApiParam(value = "是否新增")
private Integer isObjectAdd;
@Column(name = "IS_OBJECT_EDIT")
@ApiParam(value = "是否编辑")
private Integer isObjectEdit;
@Column(name = "IS_OBJECT_DEL")
@ApiParam(value = "是否删除")
private Integer isObjectDel;
@Column(name = "IS_OBJECT_FIND")
@ApiParam(value = "是否查询")
private Integer isObjectFind;

@ -39,8 +39,11 @@ public class ElementModel{
@ApiParam(value = "元素基础虚拟属性信息")
private List<BfElementPropertyVirtual> virtualList;
@ApiParam(value = "级联信息集合")
private List<BfCascade> cascadeList;
@ApiParam(value = "动态对象Class")
private Class dynClass;
private transient Class dynClass;
@ApiParam(value = "数据对象信息")
private BfDataObject dataObject;

Loading…
Cancel
Save