zhou zhou
20 小时以前 e1a6b6a5507c101d58c1ae6183361df18daef1da
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);
    }