-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Related to: #37
- Loading branch information
Showing
4 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
7 changes: 5 additions & 2 deletions
7
src/main/java/com/example/naverrestaurant/wishlist/repository/WishListRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
package com.example.naverrestaurant.wishlist.repository; | ||
|
||
import com.example.naverrestaurant.db.H2DbRepositoryAbstract; | ||
import com.example.naverrestaurant.db.MemoryDbRepositoryAbstract; | ||
import com.example.naverrestaurant.db.MemoryDbRepositoryIfs; | ||
import com.example.naverrestaurant.wishlist.entity.WishListEntity; | ||
import org.springframework.stereotype.Repository; | ||
|
||
@Repository | ||
public class WishListRepository extends MemoryDbRepositoryAbstract<WishListEntity> { | ||
public class WishListRepository extends H2DbRepositoryAbstract<WishListEntity> { | ||
} | ||
//public class WishListRepository extends MemoryDbRepositoryAbstract<WishListEntity> { | ||
//} |
1 change: 0 additions & 1 deletion
1
src/main/java/com/example/naverrestaurant/wishlist/service/WishListService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
insert into RESTAURANT(title, category, address, roadAddress, homepageLink, imageLink, isVisit, visitCount, lastVisitDate) VALUES ('전주 마라탕', '중식', '전주시 만성동1', '만성로1', 'www.maratang.com', 'www.pic1.jpeg','f',0,null); | ||
insert into RESTAURANT(title, category, address, roadAddress, homepageLink, imageLink, isVisit, visitCount, lastVisitDate) VALUES ('만성 찜닭', '한식', '전주시 만성동2', '만성로2', 'www.zzimdak.com', 'www.pic2.jpeg','f',0,null); | ||
insert into RESTAURANT(title, category, address, roadAddress, homepageLink, imageLink, isVisit, visitCount, lastVisitDate) VALUES ('전주 마라탕2', '중식', '전주시 만성동1', '만성로1', 'www.maratang.com', 'www.pic1.jpeg',FALSE,0,'2023-08-10 11:28:36.026095'); | ||
insert into RESTAURANT(title, category, address, roadAddress, homepageLink, imageLink, isVisit, visitCount, lastVisitDate) VALUES ('만성 찜닭2', '한식', '전주시 만성동2', '만성로2', 'www.zzimdak.com', 'www.pic2.jpeg',TRUE,0,'2024-08-12 11:28:36.026095'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters