Skip to content

Commit

Permalink
fix: 할인율 계산 로직 수정
Browse files Browse the repository at this point in the history
할인율 계산 로직 수정
  • Loading branch information
Hwang-Kyu-Cheol committed Jan 27, 2024
1 parent f3dad0f commit 9cd9407
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private JPAQuery<Product> createQuery(ProductSearchRequest request) {
NumberTemplate<Integer> salesPercentage = Expressions.numberTemplate(
Integer.class,
"(({0} - {1}) * 100) / {0}",
order.price,
room.price,
product.price
);
NumberExpression<Integer> statusValue = new CaseBuilder()
Expand Down

0 comments on commit 9cd9407

Please sign in to comment.