Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 02e4599d
authored
May 15, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:退回也不更新订单使用优惠券逻辑
1 parent
6fce8308
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
aus-core/src/main/java/com/glsx/usedcar/module/coupon/service/CouponVerificationService.java
aus-core/src/main/java/com/glsx/usedcar/module/coupon/service/CouponVerificationService.java
View file @
02e4599
...
...
@@ -376,14 +376,14 @@ public class CouponVerificationService {
couponAccountRepository
.
save
(
originalCoupon
);
// 恢复订单金额
AuctionOrder
order
=
auctionOrderDao
.
findByOrderId
(
orderId
);
/*
AuctionOrder order = auctionOrderDao.findByOrderId(orderId);
if (order != null) {
order.setCouponDeduction(BigDecimal.ZERO);
BigDecimal totalAmount = BigDecimal.valueOf(order.getOrderPrice())
.add(BigDecimal.valueOf(order.getCommissionPrice()));
order.setActualPayAmount(totalAmount);
auctionOrderDao.save(order);
}
}
*/
log
.
info
(
"优惠券重新发放成功:orderId={}, 原couponId={}, 新couponId={}, 原因={}"
,
orderId
,
originalCoupon
.
getCouponId
(),
newCouponId
,
cancelReason
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment