From 34acfaaef92fd79771ae5c9c3c2f1a9d8204525b Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期四, 18 一月 2024 00:26:23 +0800 Subject: [PATCH] # 增加调拨、库存冻结、删除单个拣货信息功能 --- src/main/java/com/zy/asrs/service/impl/NodeServiceImpl.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/NodeServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/NodeServiceImpl.java index e99b217..5e4e901 100644 --- a/src/main/java/com/zy/asrs/service/impl/NodeServiceImpl.java +++ b/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()); -- Gitblit v1.9.1