|
|
|
@ -12,10 +12,7 @@ import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Index;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
import javax.persistence.*;
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -88,6 +85,14 @@ public class MesBom extends BaseBean implements Serializable {
|
|
|
|
|
@ApiParam("BOM代码")
|
|
|
|
|
private String bomCode;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam(value = "过程条码")
|
|
|
|
|
public String serialNumber;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam(value = "已拆解数量")
|
|
|
|
|
public Double scrapQty = 0d;
|
|
|
|
|
|
|
|
|
|
public double getQtyVal() {
|
|
|
|
|
return this.qty == null ? 0.0d : this.qty;
|
|
|
|
|
}
|
|
|
|
|