Skip to content
Snippets Groups Projects
Commit dfd811c4 authored by Joshua Gill's avatar Joshua Gill
Browse files

Method added to "ShopsRepo" to search for a shop by a given "stampBoards"' Id value

parent 23a8f772
No related branches found
No related tags found
6 merge requests!56tags will be saved to userFavTags table (needs user ID of current logged in user),!33Develop,!30merge,!29Develop,!28Develop,!27Issue Nine complete, merging branch
......@@ -66,4 +66,7 @@ public interface ShopsRepo extends JpaRepository<Shops, Long> {
*/
@Query("select s from Shops s where s.shopActive = false")
List<Shops> findInactiveShops();
@Query("select s from Shops s where s.stampBoard.stampBoardId = ?1")
Optional<Shops> findByStampId(long stampId);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment