|
|
|
@ -8,8 +8,10 @@ import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Inheritance;
|
|
|
|
|
import javax.persistence.InheritanceType;
|
|
|
|
|
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.hibernate.annotations.ColumnDefault;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
@ -195,11 +197,22 @@ dataSrc ="cn.estsh.i3plus.pojo.wms.bean.WmsLocate",
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String bomVersion;
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "待出库数量", example = "0")
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "源库位余额")
|
|
|
|
|
@ColumnDefault("0")
|
|
|
|
|
@Column(name = "SRC_LOCATE_REST_QTY", columnDefinition = "decimal(18,8)")
|
|
|
|
|
private Double srcLocateRestQty = 0D;
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "目标库位余额")
|
|
|
|
|
@ColumnDefault("0")
|
|
|
|
|
@Column(name = "DEST_LOCATE_REST_QTY", columnDefinition = "decimal(18,8)")
|
|
|
|
|
private Double destLocateRestQty = 0D;
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "待出库数量")
|
|
|
|
|
@Transient
|
|
|
|
|
private Long waitingCounts;
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "已出库数量", example = "0")
|
|
|
|
|
@ApiParam(value = "已出库数量")
|
|
|
|
|
@Transient
|
|
|
|
|
private Long finishedCounts;
|
|
|
|
|
|
|
|
|
@ -371,6 +384,7 @@ dataSrc ="cn.estsh.i3plus.pojo.wms.bean.WmsLocate",
|
|
|
|
|
public Double getTransQty() {
|
|
|
|
|
return this.transQty == null ? 0 : this.transQty.doubleValue();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Double getHandledQtyVal() {
|
|
|
|
|
return this.handledQty == null ? 0 : this.handledQty.doubleValue();
|
|
|
|
|
}
|
|
|
|
|