子表加BOM版本rowId

This commit is contained in:
luoliming 2024-02-13 16:39:09 +08:00
parent 05ba87c822
commit fa26973ce9
3 changed files with 13 additions and 0 deletions

View File

@ -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;
}

View File

@ -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);
}

View File

@ -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;
}