自动化立体仓库 - WMS系统
zyh
昨天 3eee2147f220634b620b7ed84c97fbd8257205d5
src/main/java/com/zy/common/model/TaskDto.java
@@ -109,7 +109,11 @@
                    }
                }
                if (dto.getAnfme() > locDetl.getAnfme()) {
                    throw new CoolException("服务器内部错误");
                    throw new CoolException(String.format(
                            "出库数量[%s]超过库存数量[%s],物料:%s,批次:%s",
                            dto.getAnfme(), locDetl.getAnfme(),
                            dto.getMatnr(), dto.getBatch()
                    ));
                }
                if (dto.getAnfme().equals(locDetl.getAnfme())) {
                    sameNumber++;