#ai
zhou zhou
昨天 1668b4ce8fb82ddfd54b44b86e78e3080b99a1cc
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WkOrderItem.java
@@ -325,7 +325,7 @@
    //
    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) {
    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, String sourceWarehouseId) {
        this.orderId = asnId;
        this.orderCode = asnCode;
        this.poDetlId = poDetlId;
@@ -352,6 +352,7 @@
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.memo = memo;
        this.sourceWarehouseId = sourceWarehouseId;
    }
//    AsnOrderItem asnOrderItem = new AsnOrderItem(
@@ -383,9 +384,9 @@
    public BigDecimal getAbleQty() {
        if (anfme == null) { anfme = 0.0;}
        if (qty == null) { qty = 0.0;}
        if (workQty == null) { workQty = 0.0;}
        BigDecimal anfmeDec = new BigDecimal(anfme.toString());
        BigDecimal qtyDec = new BigDecimal(qty.toString());
        BigDecimal qtyDec = new BigDecimal(workQty.toString());
        return anfmeDec.subtract(qtyDec);
    }