Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(BE): 의과 약품 조회 API 구현 #47

Merged
merged 6 commits into from
Jun 25, 2024

Conversation

eeseung
Copy link
Member

@eeseung eeseung commented Jun 25, 2024

#️⃣ 이슈 번호

💡 구현 내용

  • 의과 약품 목록 조회(페이지네이션), 상세 조회 API를 구현했습니다.
  • 공통 페이지네이션 메서드를 EMR API 요구사항에 맞게 수정했습니다.
    • offset pagination 응답
      data: data,
      meta: {
        total: count,
      }
      
    • cursor pagination 응답
      data: data,
      meta: {
        count: data.length,
        cursor,
        hasNext,
      }
      
  • BaseModel createdAt, updatedAt 컬럼에 select: false 옵션을 삭제했습니다. (페이지네이션에서 정렬할 때 필요)

📢 PR Point

📸 스크린샷

@eeseung eeseung added ✨ feature 기능 개발 🌐 BE 백엔드 작업 labels Jun 25, 2024
@eeseung eeseung self-assigned this Jun 25, 2024
@eeseung eeseung linked an issue Jun 25, 2024 that may be closed by this pull request
2 tasks
@eeseung eeseung merged commit f5bd06c into develop Jun 25, 2024
1 check passed
@eeseung eeseung deleted the feature/#34/m-medicines-get branch June 25, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌐 BE 백엔드 작업 ✨ feature 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

의과 약품 조회 API 구현
2 participants