lbq
2026-01-23 3da5cf0277ed8770a0b0f99721c4dafec72523df
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,13 @@
//            null    // 备注
//    );
    public BigDecimal getAbleQty() {
        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){