Package org.openwms.wms.inventory.impl
Interface LoadUnitRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<LoadUnit,,Long> org.springframework.data.jpa.repository.JpaRepository<LoadUnit,,Long> org.springframework.data.repository.ListCrudRepository<LoadUnit,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<LoadUnit,,Long> org.springframework.data.repository.PagingAndSortingRepository<LoadUnit,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<LoadUnit>,org.springframework.data.repository.Repository<LoadUnit,Long>
interface LoadUnitRepository
extends org.springframework.data.jpa.repository.JpaRepository<LoadUnit,Long>
A LoadUnitRepository.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionfindBypKey(String pKey) findByTransportUnit_transportUnitBK(Barcode transportUnitBK) findByTransportUnit_transportUnitBKAndPhysicalPosition(String transportUnitBK, String physicalPosition) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByTransportUnit_transportUnitBKAndPhysicalPosition
@Query(" select lu from LoadUnit lu\n where lu.transportUnit.transportUnitBK.value = :transportUnitBK\n and lu.physicalPosition = :physicalPosition\n") Optional<LoadUnit> findByTransportUnit_transportUnitBKAndPhysicalPosition(@Param("transportUnitBK") String transportUnitBK, @Param("physicalPosition") String physicalPosition) -
findBypKey
-
findByTransportUnit_transportUnitBK
-