feat
This commit is contained in:
parent
496e11e43c
commit
914b8201e8
@ -96,7 +96,7 @@ public class StoreService implements StoreUseCase {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getAllTags(Long storeId){
|
public String getAllTags(Long storeId){
|
||||||
return storeJpaRepository.findById(storeId).getTagsJson();
|
return storeJpaRepository.findById(storeId).get().getTagsJson();
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public List<StoreListResponse> getAllStores() {
|
public List<StoreListResponse> getAllStores() {
|
||||||
|
|||||||
@ -147,5 +147,5 @@ public interface StoreJpaRepository extends JpaRepository<StoreEntity, Long> {
|
|||||||
@Param("keyword") String keyword,
|
@Param("keyword") String keyword,
|
||||||
Pageable pageable);
|
Pageable pageable);
|
||||||
|
|
||||||
StoreEntity findById(Long id);
|
Optional<StoreEntity> findById(Long id);
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user