Skip to content

Feature/정산기능구현#67

Merged
soohoioa merged 12 commits intodevfrom
feature/39-payment-ing
Jun 4, 2025
Merged

Feature/정산기능구현#67
soohoioa merged 12 commits intodevfrom
feature/39-payment-ing

Conversation

@soohoioa
Copy link
Copy Markdown
Collaborator

📌 PR 목적 및 내용

  • 정산(주간/매니저별) 기능 구현 및 결제(결제 시 정산 반영) 로직 개선

✏️ 변경 사항

  • 정산 도메인 생성
  • 정산 전체, 단건 조회 기능 구현
  • 매니저별 전체 조회 기능 구현
  • 결제 로직 수정

📸 스크린샷 (선택사항)

  • UI 변경이나 기능 추가 시 스크린샷을 첨부해주세요.

✅ 체크리스트

  • 코드가 정상적으로 동작하나요?
  • 기존 코드와 충돌이 없나요?
  • 테스트를 통과했나요?
  • 문서 업데이트가 필요한가요?

🔗 관련 이슈 (선택사항)

@soohoioa soohoioa requested review from SangWJDev and heeejinin and removed request for SangWJDev May 30, 2025 09:20
@soohoioa soohoioa self-assigned this May 30, 2025
@soohoioa soohoioa added the feature 기능 개발 label May 30, 2025
@soohoioa soohoioa added this to the SPRINT 2주차 milestone May 30, 2025
@soohoioa soohoioa changed the title Feature/39 payment ing Feature/정산기능구현 May 30, 2025
soohoioa added 5 commits May 30, 2025 18:32
refactor : 결제 로직 수정
…ture/39-payment-ing

# Conflicts:
#	payment/build.gradle.kts
#	payment/src/main/java/com/homeaid/controller/PaymentController.java
#	payment/src/main/java/com/homeaid/repository/PaymentRepository.java
#	payment/src/main/java/com/homeaid/service/PaymentServiceImpl.java
Copy link
Copy Markdown
Collaborator

@heeejinin heeejinin left a comment

Choose a reason for hiding this comment

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

PaymentService가 누락된 것 같습니다
실패 케이스 Swagger 문서화, 서비스 단 @transactional 추가로 데이터 일관성 보장되면 더 좋을 것 같아요

@RequiredArgsConstructor
public class PaymentController {

private final PaymentService paymentService;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

PaymentService 코드는 Service 패키지에 없는데 누락된 것 같습니다

@PostMapping
@Operation(summary = "결제 성공", responses = {
@ApiResponse(responseCode = "201", description = "결제 성공",
content = @Content(schema = @Schema(implementation = PaymentResponseDto.class))),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

실패 했을 경우도 있으면 좋을 것 같아요!

import jakarta.persistence.JoinColumn;
import jakarta.persistence.ManyToOne;
import jakarta.persistence.Table;
import java.math.BigDecimal;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

사용하지 않는 import 정리

@soohoioa soohoioa merged commit 50f31bd into dev Jun 4, 2025
2 checks passed
@soohoioa soohoioa deleted the feature/39-payment-ing branch June 4, 2025 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature 기능 개발

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants