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