Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f849a2cb
authored
Dec 15, 2017
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repair the refund amount
parent
abffd30d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/ctrip/fun/golf/service/order/OpEventActivityOrderService.java
src/main/java/com/ctrip/fun/golf/service/order/OpEventActivityOrderService.java
View file @
f849a2cb
...
...
@@ -359,7 +359,7 @@ public class OpEventActivityOrderService
logger
.
info
(
"赛事余额退款差值"
+
refundDelta
.
intValue
());
if
(
refundDelta
.
compareTo
(
BigDecimal
.
ZERO
)
==
1
){
//超出他原有用余额付款的金额, 超出部分对冲银行卡付款的金额
order
.
setRefundAmount
(
refundDelta
);
order
.
setRefundAmount
(
refundDelta
.
add
(
order
.
getRefundAmount
())
);
//余额退款金额就是全部余额支付的部分
order
.
setPrePayCardRefundAmount
(
order
.
getPrePayCardAmount
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment