1
2 天以前 9f43ee66e8fa2e0d02945f4bdd40d9c3a53a4bd7
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WkOrderItem.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.annotation.*;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
@@ -40,8 +41,7 @@
     * ASN主单标识
     */
    @ApiModelProperty(value= "ASN主单标识")
    private Long asnId;
    private Long orderId;
    /**
     * 平台标识(行号)
@@ -79,7 +79,7 @@
     * ASN单号
     */
    @ApiModelProperty(value= "ASN单号")
    private String asnCode;
    private String orderCode;
    /**
     * PO单明细标识
@@ -283,8 +283,8 @@
    public WkOrderItem() {}
    public WkOrderItem(Long asnId, String asnCode, Long poDetlId, String matnrCode, String poCode, Long matnrId, String matnk, Double anfme, String stockUnit, Double purQty, String purUnit, Double qty, String splrCode, String splrName, String qrcode, String barcode, String packName, Integer status, Integer ntyStatus, Integer deleted, Integer tenantId, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo) {
        this.asnId = asnId;
        this.asnCode = asnCode;
        this.orderId = asnId;
        this.orderCode = asnCode;
        this.poDetlId = poDetlId;
        this.matnrCode = matnrCode;
        this.poCode = poCode;
@@ -338,6 +338,15 @@
//            null    // 备注
//    );
    public BigDecimal getAbleQty() {
        if (anfme == null) { anfme = 0.0;}
        if (qty == null) { qty = 0.0;}
        BigDecimal anfmeDec = new BigDecimal(anfme.toString());
        BigDecimal qtyDec = new BigDecimal(qty.toString());
        return anfmeDec.subtract(qtyDec);
    }
    public String getStatus$(){
        if (null == this.status){ return null; }
        switch (this.status){