自动化立体仓库 - WMS系统
#
zjj
6 天以前 aa95589f3b49e10a72b2200a865c46b8077a4204
src/main/java/com/zy/asrs/entity/OrderDetl.java
@@ -15,6 +15,7 @@
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
@@ -295,6 +296,15 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    @ApiModelProperty(value= "预留1")
    private String temp1;
    @ApiModelProperty(value= "预留1")
    private String temp2;
    @ApiModelProperty(value= "预留1")
    private String temp3;
    @ApiModelProperty(value= "预留1")
    private String temp4;
    public OrderDetl() {}
    public OrderDetl(Long orderId, String orderNo, Double anfme, Double qty, String matnr, String maktx, String batch, String specs, String model, String color, String brand, String unit, Double price, String sku, Double units, String barcode, String origin, String manu, String manuDate, String itemNum, Double safeQty, Double weight, Double length, Double volume, String threeCode, String supp, String suppCode, Integer beBatch, String deadTime, Integer deadWarn, Integer source, Integer inspect, Integer danger, Integer status, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo) {
@@ -444,7 +454,10 @@
    public Double getEnableQty() {
        if (null != this.anfme && this.workQty != null) {
            return this.anfme - this.workQty;
            BigDecimal subtract = new BigDecimal(this.anfme).subtract(new BigDecimal(this.workQty));
            return subtract.doubleValue();
        }
//        if (null != this.anfme && this.qty != null) {
//            return this.anfme - this.qty;