根据工厂代码调整库存

yun-zuoyi
许心洁 6 years ago
parent 5cb2e7994b
commit ec3ef597e8

@ -246,7 +246,8 @@ public class WmsStockSn extends BaseBean {
@Transient @Transient
private Integer isSnapshot; private Integer isSnapshot;
public WmsStockSn(){} public WmsStockSn() {
}
public WmsStockSn(String partNo) { public WmsStockSn(String partNo) {
this.partNo = partNo; this.partNo = partNo;
@ -256,17 +257,33 @@ public class WmsStockSn extends BaseBean {
return isSnapshot == null ? 0 : isSnapshot.intValue(); return isSnapshot == null ? 0 : isSnapshot.intValue();
} }
public Integer getSnType() { return snType == null ? 0 : snType.intValue();} 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();
} }
public Double getInputNCQty(){return inputNCQty == null ? 0L : this.inputNCQty.doubleValue();} public Double getInputNCQty() {
return inputNCQty == null ? 0L : this.inputNCQty.doubleValue();
}
public WmsStockSn(Long snCount, Double sumPartQty, String locateNo) { public WmsStockSn(Long snCount, Double sumPartQty, String locateNo) {
this.snCount = snCount; this.snCount = snCount;
this.sumPartQty = sumPartQty; this.sumPartQty = sumPartQty;
this.locateNo = locateNo; this.locateNo = locateNo;
} }
//locate_no,part_no,sn_status,qc_status,sum(qty),is_deleted,is_valid
public WmsStockSn(String locateNo, String partNo, Integer snStatus,
Integer qcStatus, Double qty, Integer isDeleted, Integer isValid) {
this.locateNo = locateNo;
this.partNo = partNo;
this.snStatus = snStatus;
this.qcStatus = qcStatus;
this.qty = qty;
this.isDeleted = isDeleted;
this.isValid = isValid;
}
} }

Loading…
Cancel
Save