子表加BOM版本rowId
This commit is contained in:
parent
05ba87c822
commit
fa26973ce9
|
|
@ -210,6 +210,10 @@ public class BomNewEbomChildEntity implements Serializable {
|
|||
@ApiModelProperty(value = "生成虚拟包跟物料编码")
|
||||
private String virtualPartRootMaterialNo;
|
||||
|
||||
@TableField(value = "bom_row_id")
|
||||
@ApiModelProperty("BOM-版本Row_id(parent表row_id 关联)")
|
||||
private Long bomRowId;
|
||||
|
||||
private static final long serialVersionUID = -14147430944632372L;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -131,6 +131,10 @@ public class BomNewOriginalChildEntity implements Serializable {
|
|||
@ApiModelProperty("是否应该有BOM 0-否 1-是")
|
||||
private Integer shouldBomExist;
|
||||
|
||||
@TableField(value = "bom_row_id")
|
||||
@ApiModelProperty("BOM-版本Row_id(parent表row_id 关联)")
|
||||
private Long bomRowId;
|
||||
|
||||
public BigDecimal getTotalWeight() {
|
||||
return NumberUtil.mul(this.getUnitWeight(), this.num);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -227,6 +227,11 @@ public class BomNewPbomChildEntity implements Serializable {
|
|||
@ApiModelProperty(value = "生成虚拟包跟物料编码")
|
||||
private String virtualPartRootMaterialNo;
|
||||
|
||||
|
||||
@TableField(value = "bom_row_id")
|
||||
@ApiModelProperty("BOM-版本rowId(parent表rowId关联)")
|
||||
private Long bomRowId;
|
||||
|
||||
private static final long serialVersionUID = -76633783850936076L;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue