|
|
|
@ -149,6 +149,16 @@ public class WmsStockSn extends BaseBean {
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
private String packageNo;
|
|
|
|
|
|
|
|
|
|
@Column(name = "CARTON_WEIGHT")
|
|
|
|
|
@ApiParam("箱重量")
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Double cartonWeight;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PACKAGE_WEIGHT")
|
|
|
|
|
@ApiParam("托盘重量")
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Double packageWeight;
|
|
|
|
|
|
|
|
|
|
@Column(name = "UNIT")
|
|
|
|
|
@ApiParam(value = "单位")
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
@ -633,6 +643,15 @@ public class WmsStockSn extends BaseBean {
|
|
|
|
|
return inputNCQty == null ? 0L : this.inputNCQty.doubleValue();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Double getCartonWeightVal() {
|
|
|
|
|
return this.cartonWeight == null ? 0 : this.cartonWeight;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Double getPackageWeightVal() {
|
|
|
|
|
return this.packageWeight == null ? 0 : this.packageWeight;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public WmsStockSn(Long snCount, Double sumPartQty, String locateNo) {
|
|
|
|
|
this.snCount = snCount;
|
|
|
|
|
this.sumPartQty = sumPartQty;
|
|
|
|
|