We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Author: @chhs2131
persistence layer 연동
기존 존재하던 AuctionService.changeStock에서 이용하는 AuctionRepository.save의 내부 기능을 구현함으로써 해당 테스크를 완료할 수 있습니다.
public void changeStock(SignInInfo signInInfo, UpdateAuctionStockCommand command) { if (!signInInfo.isType(Role.SELLER)) { throw new UnauthorizedException("판매자만 재고를 수정할 수 있습니다.", ErrorCode.A017); } Auction auction = findAuctionObject(command.auctionId()); auction.changeStock(command.changeRequestStock(), command.requestTime(), signInInfo.id()); auctionRepository.save(auction); }
The text was updated successfully, but these errors were encountered:
chhs2131
Successfully merging a pull request may close this issue.
Author: @chhs2131
✨ Describe
✅ Todo
More
기존 존재하던 AuctionService.changeStock에서 이용하는 AuctionRepository.save의 내부 기능을 구현함으로써 해당 테스크를 완료할 수 있습니다.
The text was updated successfully, but these errors were encountered: