自动化立体仓库 - WMS系统
zjj
2023-09-15 dd9636f6dbbc8bb0013e13e2a77acdde62b2695d
src/main/java/com/zy/asrs/service/impl/NodeServiceImpl.java
@@ -199,10 +199,11 @@
            }
            ManLocDetl check = manLocDetlService.selectOne(new EntityWrapper<ManLocDetl>()
                    .eq("loc_no", targetNode.getUuid())
                    .eq("matnr", source.getMatnr()));
                    .eq("matnr", source.getMatnr())
                    .eq("batch",source.getBatch()));
            if (check == null) {
                manLocDetlService.delete(new EntityWrapper<ManLocDetl>().eq("loc_no", source.getLocNo())
                        .eq("matnr", source.getMatnr()));
                        .eq("matnr", source.getMatnr()).eq("batch",source.getBatch()));
                source.setLocNo(targetNode.getUuid());
                source.setNodeId(targetNode.getId());