From 7cc77eff09863d8cffc120ba02e04e7d9ce283bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=A5=8E=E5=85=B4?= <2220574228@qq.com> Date: Wed, 13 May 2026 11:17:16 +0800 Subject: [PATCH] =?UTF-8?q?oms=E9=A2=84=E7=BA=A6=E5=8D=95=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=8A=A5=E9=94=99=E4=BF=AE=E6=94=B9;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../persistence/ReservationMaterialInventoryImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mhd_oms/src/main/java/com/mhd/oms/domain/reservationMaterialInventory/repository/persistence/ReservationMaterialInventoryImpl.java b/mhd_oms/src/main/java/com/mhd/oms/domain/reservationMaterialInventory/repository/persistence/ReservationMaterialInventoryImpl.java index 32e4f4b2b..a86d056b1 100644 --- a/mhd_oms/src/main/java/com/mhd/oms/domain/reservationMaterialInventory/repository/persistence/ReservationMaterialInventoryImpl.java +++ b/mhd_oms/src/main/java/com/mhd/oms/domain/reservationMaterialInventory/repository/persistence/ReservationMaterialInventoryImpl.java @@ -100,7 +100,7 @@ public class ReservationMaterialInventoryImpl extends ServiceImpl list = new ArrayList<>(); for (Long id : materialInventoryIds) { ReservationMaterialInventory materialInventory = new ReservationMaterialInventory(); - materialInventory.setReservationMaterialInventoryId(id); + materialInventory.setMaterialInventoryId(id); materialInventory.setDelFlag(2); list.add(materialInventory); } @@ -133,7 +133,7 @@ public class ReservationMaterialInventoryImpl extends ServiceImpl 0) { ReservationMaterialInventory reservationMaterialInventory = reservationMaterialInventories.get(0); - Long materialInventoryId = reservationMaterialInventory.getReservationMaterialInventoryId(); + Long materialInventoryId = reservationMaterialInventory.getMaterialInventoryId(); materialInventoryOmsParamDO.setMaterialInventoryId(materialInventoryId); } kctzjl(materialInventoryOmsParamDO, materialInventoryOmsParamDO.getKctzType(), materialInventoryOmsParamDO.getLoginUser()); @@ -211,7 +211,7 @@ public class ReservationMaterialInventoryImpl extends ServiceImpl().lambda() - .eq(ReservationMaterialInventory::getReservationMaterialInventoryId, materialInventoryId)); + .eq(ReservationMaterialInventory::getMaterialInventoryId, materialInventoryId)); if (materialInventory == null) { throw new ServiceException("物料库存不存在,无法生成库存调整记录"); } @@ -258,7 +258,7 @@ public class ReservationMaterialInventoryImpl extends ServiceImpl