yun-zuoyi
yihang.lv 6 years ago
commit 0c3c399117

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

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

@ -68,4 +68,9 @@ public class BfDataObject extends BaseBean {
@AnnoOutputColumn(hidden = true) @AnnoOutputColumn(hidden = true)
private List<BfDataObjectProperty> propertyList; 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) @JsonSerialize(using = ToStringSerializer.class)
private Long dataObjectId; 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") @Column(name="ELEMENT_TYPE")
@ApiParam(value ="元素类型") @ApiParam(value ="元素类型")
private Integer elementType; private Integer elementType;
@ -57,14 +67,30 @@ public class BfElement extends BaseBean {
@ApiParam(value ="元素编码") @ApiParam(value ="元素编码")
private String elementCode; 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 ="默认排序属性") @ApiParam(value ="默认排序属性")
@JsonSerialize(using = ToStringSerializer.class) @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 ="默认排序规则") @ApiParam(value ="默认排序规则")
private Integer elementSortType; private Integer elementSortAttrType;
@Column(name="ELEMENT_CSS_STYLE") @Column(name="ELEMENT_CSS_STYLE")
@ApiParam(value ="元素样式") @ApiParam(value ="元素样式")

@ -44,18 +44,6 @@ public class BfElementGrid extends BaseBean {
@ApiParam(value = "是否单选") @ApiParam(value = "是否单选")
private Integer isLineMultiple; 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") @Column(name = "IS_OBJECT_FIND")
@ApiParam(value = "是否查询") @ApiParam(value = "是否查询")
private Integer isObjectFind; private Integer isObjectFind;

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

@ -72,10 +72,6 @@ public class WmsQCMaster extends BaseBean {
@ApiParam("关联单号") @ApiParam("关联单号")
public String refSrc; public String refSrc;
@Column(name = "IB_NO")
@ApiParam("入库单号")
public String ibNo;
@Transient @Transient
@ApiParam(value = "客户简称") @ApiParam(value = "客户简称")
private String custName; private String custName;

@ -1028,7 +1028,7 @@ public class WmsHqlPack {
} }
/** /**
* * ()
* @param sn * @param sn
* @return * @return
*/ */
@ -1066,8 +1066,6 @@ public class WmsHqlPack {
HqlPack.getStringEqualPack(wmsQCMaster.getRefType(), "refType", result); HqlPack.getStringEqualPack(wmsQCMaster.getRefType(), "refType", result);
//关联单据号 //关联单据号
HqlPack.getStringEqualPack(wmsQCMaster.getRefSrc(), "refSrc", result); HqlPack.getStringEqualPack(wmsQCMaster.getRefSrc(), "refSrc", result);
//入库单号
HqlPack.getStringEqualPack(wmsQCMaster.getIbNo(), "ibNo", result);
getStringBuilderPack(wmsQCMaster, result); getStringBuilderPack(wmsQCMaster, result);

Loading…
Cancel
Save