Skip to content

[Feat] 식물도감 조회 시 뱃지 정보(현재 화분명, 수확 레벨) 제공 #87

Description

@Yunseok3541

📝 무엇을 하나요?

  • 사용자가 수확한 식물들을 도감에서 볼 때, 뱃지 정보(현재 화분 이름, 수확 당시 레벨, 수확일)를 함께 보여주기 위해 DTO와 조회 로직을 확장합니다.

📌 To do

  • PlantCollectionItem DTO에 currentPotName, harvestedLevel 필드 추가 및 생성자 변경
  • CollectionService.getPlants() 메소드에서 수집된 식물들의 potId를 모아 현재 화분(Pot) 정보를 일괄 조회(IN 쿼리)하도록 최적화
  • 조회한 화분 정보를 활용하여 DTO 조립 시 최신 화분명(currentPotName)과 수확 레벨(harvestedLevel)을 매핑하여 반환

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions