Merge branch 'test'

yun-zuoyi
peter.pan 6 years ago
commit fdfdc9befb

@ -157,6 +157,14 @@ public class WmsMoveToERP extends BaseBean {
@ApiParam("关联单据行号") @ApiParam("关联单据行号")
public String refItem; public String refItem;
@Column(name="IS_LOCK")
@ApiParam(value = "是否锁定", example = "2")
public Integer isLock= CommonEnumUtil.FALSE;
@Column(name = "YEAR")
@ApiParam("年度")
public String year;
@ApiParam(value = "待出库数量", example = "0") @ApiParam(value = "待出库数量", example = "0")
@Transient @Transient
private Long waitingCounts; private Long waitingCounts;
@ -168,6 +176,13 @@ public class WmsMoveToERP extends BaseBean {
@Transient @Transient
private Long shippingId; private Long shippingId;
@Transient
private Double transQtySum;
public Double getTransQtySumVal() {
return this.transQtySum == null ? 0 : this.transQtySum.doubleValue();
}
public Double getRejectQty(){ public Double getRejectQty(){
return this.rejectQty == null ? 0 : this.rejectQty.doubleValue(); return this.rejectQty == null ? 0 : this.rejectQty.doubleValue();
} }
@ -183,4 +198,15 @@ public class WmsMoveToERP extends BaseBean {
public Long getFinishedCounts() { public Long getFinishedCounts() {
return finishedCounts == null ? 0L : this.finishedCounts; 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; this.partNo = partNo;
} }
public Integer getSnType() { return snType == null ? 0 : snType.intValue();}
public Double getQty() { public Double getQty() {
return qty == null ? 0L : qty.doubleValue(); return qty == null ? 0L : qty.doubleValue();
} }

Loading…
Cancel
Save