We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c938b commit 0084f82Copy full SHA for 0084f82
src/main/java/com/moplus/moplus_server/domain/concept/repository/ConceptTagRepository.java
@@ -23,9 +23,13 @@ default void existsByIdElseThrow(Set<Long> ids) {
23
24
default List<ConceptTag> findAllByIdsElseThrow(Set<Long> ids) {
25
List<ConceptTag> conceptTags = findAllById(ids);
26
+ List<Long> foundIds = conceptTags.stream()
27
+ .map(ConceptTag::getId)
28
+ .toList();
29
+
30
if (conceptTags.size() != ids.size()) {
31
throw new NotFoundException(ErrorCode.CONCEPT_TAG_NOT_FOUND_IN_LIST,
- "targetIds: " + ids + " / foundIds: " + conceptTags);
32
+ "targetIds: " + ids + " / foundIds: " + foundIds);
33
}
34
return conceptTags;
35
0 commit comments