Skip to content

[UPLUS-57] 할인 추가/삭제 기능, developer브랜치와 병합 및 오류 수정, ai리뷰 수정 - #11

Merged
k0081915 merged 16 commits into
developfrom
feat/UPLUS-57
Jan 14, 2026
Merged

k0081915 merged 16 commits into
developfrom
feat/UPLUS-57

Conversation

@arlen02-01

Copy link
Copy Markdown
Contributor

🍀 이슈 번호

UPLUS-57

  • #이슈번호

✅ 작업 사항

할인 추가삭제 기능 추가
developer브랜치와 병합 및 오류 수정
ai 리뷰 적


📋 체크리스트

  • 코드가 정상적으로 빌드됩니다.
  • 관련 테스트 코드를 작성했습니다.
  • 기존 테스트가 모두 통과합니다.
  • 코드 스타일(Spotless, Checkstyle)을 준수합니다.

⌨ 기타

@github-actions github-actions Bot added the size/XL PR size: XL label Jan 14, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @arlen02-01, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 구독 서비스에 대한 할인 관리 기능을 도입하여 사용자가 특정 회선에 할인을 적용하고, 기존 할인을 변경하며, 적용된 할인 목록을 조회할 수 있도록 합니다. 또한, 고객 정보 조회 및 수정 API를 개선하고, 새로운 할인 도메인 모델을 구축하여 시스템의 확장성과 유연성을 높였습니다. 기존 브랜치 병합 과정에서 발생한 문제점들을 해결하고 코드 품질을 향상시키는 작업도 포함되었습니다.

Highlights

  • 할인 관리 기능 추가: 회선(subscription)에 할인을 추가, 변경, 조회할 수 있는 새로운 할인 관리 기능이 구현되었습니다.
  • 고객 컨트롤러 및 서비스 개선: 고객 조회(전화번호 기준), 이메일 변경, 등급 변경 기능을 포함하도록 CustomerControllerCustomerService가 리팩토링되었습니다.
  • 새로운 도메인 엔티티 및 DTO 도입: 할인 정책(DiscountPolicy), 회선 할인(SubscriptionDiscount) 엔티티와 관련 DTO들이 추가되어 할인 시스템의 기반을 마련했습니다.
  • 오류 수정 및 브랜치 병합: developer 브랜치와의 병합 과정에서 발생한 오류가 수정되었으며, AI 리뷰 피드백이 반영되었습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

이번 PR은 할인 추가/삭제 기능 구현과 기존 고객 조회 로직 개선을 중심으로 많은 변경사항을 포함하고 있습니다. 전반적으로 새로운 기능이 잘 구현되었고, 기존 코드의 문제점(GET 요청에 @RequestBody 사용 등)이 수정된 점이 좋습니다.
제 리뷰는 주로 다음과 같은 사항에 중점을 두었습니다:

  • Java record를 사용하여 DTO를 더 간결하고 안전하게 만들기
  • Javadoc을 추가하여 코드의 가독성 및 유지보수성 향상
  • CascadeType.ALL과 같은 잠재적으로 위험한 설정 수정
  • 불필요한 의존성 및 코드 제거
  • 일관된 코드 스타일 유지

이러한 제안들이 코드 품질을 더욱 높이는 데 도움이 되기를 바랍니다.

Comment thread src/main/java/com/project/core/infra/entity/discount/DiscountPolicy.java Outdated
Comment thread src/main/java/com/project/core/service/SubscriptionService.java Outdated
Comment thread src/main/java/com/project/core/infra/entity/discount/enums/Status.java Outdated
Comment thread src/main/java/com/project/core/controller/dto/response/CustomerResponse.java Outdated
Comment thread src/main/java/com/project/core/service/CustomerService.java
Comment thread src/main/java/com/project/core/service/DiscountService.java Outdated
Comment thread src/main/java/com/project/core/service/SubscriptionService.java
Comment thread src/main/java/com/project/core/controller/DiscountController.java
Comment thread src/main/java/com/project/global/exception/code/domain/core/CoreErrorCode.java Outdated
…olicy.java

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@github-actions github-actions Bot added size/XL PR size: XL and removed size/XL PR size: XL labels Jan 14, 2026
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@github-actions github-actions Bot added size/XL PR size: XL and removed size/XL PR size: XL labels Jan 14, 2026
…tus.java

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@github-actions github-actions Bot added size/XL PR size: XL and removed size/XL PR size: XL labels Jan 14, 2026
arlen02-01 and others added 2 commits January 14, 2026 18:14
…ptionDiscountResponse.java

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…rResponse.java

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@github-actions github-actions Bot added size/XL PR size: XL and removed size/XL PR size: XL labels Jan 14, 2026
…ive.java

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@github-actions github-actions Bot added size/XL PR size: XL and removed size/XL PR size: XL labels Jan 14, 2026
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@github-actions github-actions Bot added size/XL PR size: XL and removed size/XL PR size: XL labels Jan 14, 2026
…reErrorCode.java

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@github-actions github-actions Bot added size/XL PR size: XL and removed size/XL PR size: XL labels Jan 14, 2026

@k0081915 k0081915 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

확인했습니다아

@k0081915
k0081915 merged commit b68af5f into develop Jan 14, 2026
1 of 3 checks passed
@swthewhite
swthewhite deleted the feat/UPLUS-57 branch January 14, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL PR size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants