数据同步优化 1078-4

yun-zuoyi
WYnneaoapc 6 years ago
parent 2c47556abf
commit 9ad66157a8

@ -67,8 +67,12 @@ public class MesProcessBom extends BaseBean {
@ApiParam(value = "子零件数量", example = "0")
private Double qty;
@Transient
@ApiParam(value = "绑定数量")
private Double boundQty;
@Column(name = "IS_REPEAT")
@ApiParam(value = "是否可重复")
@ApiParam(value = "是否可重复")
private Integer isRepeat;
@Column(name = "IS_CHECK")
@ -99,6 +103,9 @@ public class MesProcessBom extends BaseBean {
@ApiParam("产品条码")
private String serialNumber;
public double getBoundQtyVal() {
return this.boundQty == null ? 0.0d : this.boundQty;
}
public double getQtyVal() {
return this.qty == null ? 0.0d : this.qty;

@ -12,6 +12,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
/**
* @Description :
@ -70,11 +71,11 @@ public class MesProdBindRecord extends BaseBean {
private String supplierCode;
@Column(name = "LOT_NO")
@ApiParam
@ApiParam("关联批次")
private String lotNo;
@Column(name = "IS_FEED")
@ApiParam
@ApiParam("是否投料配置")
private Integer isFeed;
@Column(name = "VERSION")

@ -69,6 +69,10 @@ public class MesProcessBom extends BaseBean {
@ColumnDefault("0")
@ApiParam(value = "子零件数量", example = "0")
private Double qty;
@Transient
@ApiParam(value = "绑定数量")
private Double boundQty;
@Column(name = "IS_REPEAT")
@ApiParam(value = "是否可重复")

Loading…
Cancel
Save