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

#1174: Apply promotion code when checkout #1247

Merged
merged 10 commits into from
Nov 1, 2024

Conversation

LoanNguyenT5
Copy link
Contributor

  1. Apply promotion code when checkout at screen Oreder and Checkout
  2. Update usage_count after code apply success
  3. Insert promotion code into table promotion_usage
  4. Update script DDL for table promotion_usage ( Set default for create_on and create_by)

Copy link

github-actions bot commented Oct 30, 2024

Promotion Coverage Report

Overall Project 78.58% -5.27%
Files changed 49.72%

File Coverage
PromotionController.java 89.06% -10.94%
PromotionService.java 87.93% -10.66%
PromotionUsageVm.java 0%

Copy link

github-actions bot commented Oct 31, 2024

Order Coverage Report

Overall Project 78.28% -0.42%
Files changed 88.89% 🍏

File Coverage
PromotionUsageVm.java 100% 🍏
CheckoutPostVm.java 100% 🍏
CheckoutVm.java 100% 🍏
CheckoutMapper.java 100% 🍏
PromotionService.java 88.89% -11.11% 🍏
OrderService.java 79.25% -0.17% 🍏
OrderItemGetVm.java 0% -11.11%

Copy link

sonarcloud bot commented Nov 1, 2024

Copy link

sonarcloud bot commented Nov 1, 2024

Copy link

sonarcloud bot commented Nov 1, 2024

@LoanNguyenT5 LoanNguyenT5 merged commit c8b3afc into main Nov 1, 2024
12 checks passed
@LoanNguyenT5 LoanNguyenT5 deleted the apply-promotion-to-checkout branch November 1, 2024 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants