实体字段新增

yun-zuoyi
刘敏 6 years ago
parent 89edbcb80a
commit 7811157312

@ -157,6 +157,10 @@ public class WmsMoveToERP extends BaseBean {
@ApiParam("关联单据行号")
public String refItem;
@Column(name="IS_LOCK")
@ApiParam(value = "是否锁定", example = "2")
public Integer isLock= CommonEnumUtil.FALSE;
@ApiParam(value = "待出库数量", example = "0")
@Transient
private Long waitingCounts;
@ -168,6 +172,13 @@ public class WmsMoveToERP extends BaseBean {
@Transient
private Long shippingId;
@Transient
private Double transQtySum;
public Double getTransQtySumVal() {
return this.transQtySum == null ? 0 : this.transQtySum.doubleValue();
}
public Double getRejectQty(){
return this.rejectQty == null ? 0 : this.rejectQty.doubleValue();
}
@ -183,4 +194,15 @@ public class WmsMoveToERP extends BaseBean {
public Long getFinishedCounts() {
return finishedCounts == null ? 0L : this.finishedCounts;
}
public WmsMoveToERP() {}
public WmsMoveToERP(String partNo, String partNameRdd, String vendorNo, String unit, String destAreaNo, Double transQtySum) {
this.partNo = partNo;
this.partNameRdd = partNameRdd;
this.vendorNo = vendorNo;
this.unit = unit;
this.destAreaNo = destAreaNo;
this.transQtySum = transQtySum;
}
}

@ -240,6 +240,8 @@ public class WmsStockSn extends BaseBean {
this.partNo = partNo;
}
public Integer getSnType() { return snType == null ? 0 : snType.intValue();}
public Double getQty() {
return qty == null ? 0L : qty.doubleValue();
}

Loading…
Cancel
Save