交易处理组件:冻结全部数量;stockQuan添加getVal方法;下线扣减BUG

yun-zuoyi
许心洁 6 years ago
parent 7ee861d61e
commit 994da92b4e

@ -1082,7 +1082,8 @@ public class WmsEnumUtil {
CREATE(10, "创建"),
BE_HANDLE(20, "待处理"),
FINISH(30, "已处理"),
HANDLE_ERROR(40, "处理出错");
HANDLE_ERROR(40, "处理出错"),
TEST(50, "调试");
private int value;
private String description;
@ -2693,7 +2694,7 @@ public class WmsEnumUtil {
public enum SRC_STATUS {
ZMMES("ZMMES", "知明MES"),
TBMES("TBMES", "MES接口"),
AMP("AMP","AMP系统");
AMP("AMP", "AMP系统");
private String value;
private String description;

@ -122,39 +122,39 @@ public class WmsStockQuan extends BaseBean {
@ApiParam(value = "报废数量", example = "0")
private Double scrapQty;
public Double getQty() {
public Double getQtyVal() {
return this.qty == null ? 0 : this.qty;
}
public Double getFailQty() {
public Double getFailQtyVal() {
return this.failQty == null ? 0 : this.failQty;
}
public Double getHoldQty() {
public Double getHoldQtyVal() {
return this.holdQty == null ? 0 : this.holdQty;
}
public Double getQcQty() {
public Double getQcQtyVal() {
return this.qcQty == null ? 0 : this.qcQty;
}
public Double getRinQty() {
public Double getRinQtyVal() {
return this.rinQty == null ? 0 : this.rinQty;
}
public Double getFreezeQty() {
public Double getFreezeQtyVal() {
return this.freezeQty == null ? 0 : this.freezeQty;
}
public Double getConsignQty() {
public Double getConsignQtyVal() {
return this.consignQty == null ? 0 : this.consignQty;
}
public Double getLockQty() {
public Double getLockQtyVal() {
return this.lockQty == null ? 0 : this.lockQty;
}
public Double getScrapQty() {
public Double getScrapQtyVal() {
return this.scrapQty == null ? 0 : this.scrapQty;
}

Loading…
Cancel
Save