自动化立体仓库 - WMS系统
skyouc
2 天以前 a6750821eef3ce19069e5130df59ffe0ef3318ab
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -1131,23 +1131,6 @@
            throw new CoolException("数据错误,组拖档已不存在!!");
        }
        //修改单据执行数量
        waitPakins.forEach(waitPakin -> {
            OrderDetlPakin detlPakin = orderDetlPakinService.selectOne(new EntityWrapper<OrderDetlPakin>()
                    .eq("matnr", waitPakin.getMatnr())
                    .eq("barcode", waitPakin.getZpallet())
                    .eq("order_no", waitPakin.getOrderNo()));
            if (Objects.isNull(detlPakin)) {
                throw new CoolException("单据明细不存在!!");
            }
            detlPakin.setWorkQty(waitPakin.getAnfme());
            if (!orderDetlPakinService.updateById(detlPakin)) {
                throw new CoolException("单据明细修改失败!!");
            }
        });
        generateCrnInTask(waitPakins, param.getStation(), param.getLocType1(), userId);
    }
@@ -1261,6 +1244,7 @@
            Wrapper<WaitPakin> wrapper = new EntityWrapper<WaitPakin>()
                    .eq("zpallet", pakin.getZpallet());
            WaitPakin setParam = new WaitPakin();
            setParam.setBrand(pakin.getBrand());
            setParam.setLocNo(dto.getLocNo());
            setParam.setIoStatus("Y");
            setParam.setModiTime(now);