-
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.
Merge pull request #54 from taco-official/KL-153/태그-응답-형식-변경
fix(KL-153): change tag response structure
- Loading branch information
Showing
8 changed files
with
136 additions
and
106 deletions.
There are no files selected for viewing
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
6 changes: 6 additions & 0 deletions
6
src/main/java/taco/klkl/domain/category/dao/SubcategoryTagRepository.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,8 +1,14 @@ | ||
package taco.klkl.domain.category.dao; | ||
|
||
import java.util.List; | ||
|
||
import org.springframework.data.jpa.repository.JpaRepository; | ||
import org.springframework.stereotype.Repository; | ||
|
||
import taco.klkl.domain.category.domain.Subcategory; | ||
import taco.klkl.domain.category.domain.SubcategoryTag; | ||
|
||
@Repository | ||
public interface SubcategoryTagRepository extends JpaRepository<SubcategoryTag, Long> { | ||
List<SubcategoryTag> findAllBySubcategory(final Subcategory subcategory); | ||
} |
27 changes: 0 additions & 27 deletions
27
src/main/java/taco/klkl/domain/category/dto/response/SubcategoryWithTagsResponse.java
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
src/main/java/taco/klkl/domain/category/service/SubcategoryTagService.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,15 +1,16 @@ | ||
package taco.klkl.domain.category.service; | ||
|
||
import java.util.List; | ||
import java.util.Set; | ||
|
||
import org.springframework.stereotype.Service; | ||
|
||
import taco.klkl.domain.category.domain.Subcategory; | ||
import taco.klkl.domain.category.dto.response.SubcategoryWithTagsResponse; | ||
import taco.klkl.domain.category.dto.response.TagResponse; | ||
|
||
@Service | ||
public interface SubcategoryTagService { | ||
|
||
List<SubcategoryWithTagsResponse> findSubcategoryTagsBySubcategoryList(final List<Subcategory> subcategoryList); | ||
Set<TagResponse> findTagsBySubcategoryList(final List<Subcategory> subcategoryList); | ||
|
||
} |
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
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
Oops, something went wrong.