|
|
|
@ -67,6 +67,11 @@ public class WmsLocatePart extends BaseBean {
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
|
private Double max;
|
|
|
|
|
|
|
|
|
|
@Column(name = "WARN", columnDefinition = "decimal(18,8)")
|
|
|
|
|
@ApiParam(value = "预警值", example = "0")
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
|
private Double warn;
|
|
|
|
|
|
|
|
|
|
@Column(name = "MIN", columnDefinition = "decimal(18,8)")
|
|
|
|
|
@ApiParam(value = "最小值", example = "0")
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
@ -127,6 +132,10 @@ public class WmsLocatePart extends BaseBean {
|
|
|
|
|
return this.max ==null?0:this.max.doubleValue();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public double getWarnValue() {
|
|
|
|
|
return this.warn ==null?0:this.warn.doubleValue();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public double getMinValue(){
|
|
|
|
|
return this.min ==null?0:this.min.doubleValue();
|
|
|
|
|
}
|
|
|
|
@ -153,4 +162,21 @@ public class WmsLocatePart extends BaseBean {
|
|
|
|
|
this.whNo = whNo;
|
|
|
|
|
this.stockUnit = stockUnit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public WmsLocatePart(String locateNo, String partNo, String partNameRdd, Double pullQty, Double max, Double warn, Double min,
|
|
|
|
|
Integer isGeneratePicklist, Double safetyStock, Double moq, String zoneNo, String whNo, String stockUnit) {
|
|
|
|
|
this.locateNo = locateNo;
|
|
|
|
|
this.partNo = partNo;
|
|
|
|
|
this.partNameRdd = partNameRdd;
|
|
|
|
|
this.pullQty = pullQty;
|
|
|
|
|
this.max = max;
|
|
|
|
|
this.warn = warn;
|
|
|
|
|
this.min = min;
|
|
|
|
|
this.isGeneratePicklist = isGeneratePicklist;
|
|
|
|
|
this.safetyStock = safetyStock;
|
|
|
|
|
this.moq = moq;
|
|
|
|
|
this.zoneNo = zoneNo;
|
|
|
|
|
this.whNo = whNo;
|
|
|
|
|
this.stockUnit = stockUnit;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|