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

feature : 이벤트 티켓상품 옵션 적용 현황 조회 (어드민용) #251

Merged
merged 2 commits into from
Feb 1, 2023

Conversation

kim-wonjin
Copy link
Member

@kim-wonjin kim-wonjin commented Jan 31, 2023

개요

작업사항

  • 어드민 화면에서 옵션 적용 페이지 내 쓰일 옵션 적용 현황 조회 API 입니다.
"appliedOptionGroups": [
      {
        "ticketItemId": 1,
        "ticketName": "일반 티켓",
        "optionGroups": [
          {
            "optionGroupId": 1,
            "type": "Y/N",
            "name": "뒷풀이 참여 여부",
            "description": "공연이 끝난 후 오케이포차에서 진행하는 뒷풀이에 참여할 것인가요?",
            "options": [
              {
                "optionId": 1,
                "answer": "YES",
                "additionalPrice": "10000원"
              },
              {
                "optionId": 2,
                "answer": "NO",
                "additionalPrice": "0원"
              }
            ]
          },
          {
            "optionGroupId": 3,
            "type": "주관식",
            "name": "추천인이 누구인가요?",
            "description": "추천인 이름을 한명만 적어주세요",
            "options": [
              {
                "optionId": 5,
                "answer": "",
                "additionalPrice": "0원"
              }
            ]
          }
        ]
      },
      {
        "ticketItemId": 2,
        "ticketName": "특별 티켓",
        "optionGroups": []
      }
    ]

변경로직

  • 옵션 적용시 해당 티켓상품에 적용된 총 옵션을 보여주는 것으로 ៖답값 수정

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 264 Code Smells

16.3% 16.3% Coverage
0.0% 0.0% Duplication

@kim-wonjin kim-wonjin added For: API [이슈 대상] 외부 API Type: Feature [이슈 목적] 새로운 기능 추가 labels Jan 31, 2023
Copy link
Member

@sanbonai06 sanbonai06 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

깔끔하고 좋네용 수고하셨습니다

Copy link
Member

@ImNM ImNM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kim-wonjin kim-wonjin merged commit d5e10a2 into dev Feb 1, 2023
@kim-wonjin kim-wonjin deleted the feature/242-get-ticket-item-with-options branch February 1, 2023 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For: API [이슈 대상] 외부 API Type: Feature [이슈 목적] 새로운 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚀 [feature] 티켓상품 옵션 적용 현황 조회 (어드민용)
3 participants