自动化立体仓库 - WMS系统
#1
dubin
5 天以前 3d7a3f51d1f01c62a03ddbe5cab6e395e30e607b
src/main/java/com/zy/asrs/controller/WaitPakinController.java
@@ -105,7 +105,7 @@
            waitPakinService.delete(new EntityWrapper<>(entity));
            //订单关联,修改订单作业数量
            if (!Cools.isEmpty(entity.getOrderNo())) {
                if (!orderDetlService.decrease(entity.getOrderNo(), entity.getMatnr(), entity.getBatch(), entity.getAnfme())) {
                if (!orderDetlService.decrease(entity, entity.getAnfme())) {
                    return R.error("订单数据回滚失败");
                }
            }