Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
shop
Commits
b1ed2d1a
Commit
b1ed2d1a
authored
Jul 12, 2023
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refund.succeeded
parent
53dc191a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
OrderServiceImpl.java
...ava/com/egolm/shop/api/service/impl/OrderServiceImpl.java
+6
-2
No files found.
src/main/java/com/egolm/shop/api/service/impl/OrderServiceImpl.java
View file @
b1ed2d1a
...
...
@@ -1229,7 +1229,7 @@ public class OrderServiceImpl implements OrderService {
String
out_payment_id
=
event_content
.
getString
(
"out_payment_id"
);
// 付款方 ID
if
(
event_type
.
equals
(
"mse_payment.succeeded"
)
||
event_type
.
equals
(
"mse_payment.close"
)
||
event_type
.
equals
(
"mse_payment.revoke"
))
{
||
event_type
.
equals
(
"mse_payment.revoke"
)
||
event_type
.
equals
(
"mse_payment.clearing"
)
)
{
// String openid = event_content.getString("purchaser_id");//个人付款时对应微企付用户openid
String
status
=
event_content
.
getString
(
"status"
);
String
PayAmount
=
event_content
.
getString
(
"amount"
);
...
...
@@ -1251,6 +1251,10 @@ public class OrderServiceImpl implements OrderService {
StatusID
=
"3"
;
StatusName
=
"支付退票"
;
break
;
case
"CLEARING"
:
StatusID
=
"4"
;
StatusName
=
"银行清算中"
;
break
;
default
:
break
;
}
...
...
@@ -1259,7 +1263,7 @@ public class OrderServiceImpl implements OrderService {
+
PayAmount
+
"' , '"
+
pay_succ_time
+
"' , '"
+
PayTypeID
+
"' , '"
+
StatusID
+
"' , '"
+
StatusName
+
"' "
;
returnMap
=
jdbcTemplate
.
executeMutil
(
sql
).
getDatas
().
get
(
0
);
}
else
if
(
event_type
.
equals
(
"
mse_
refund.succeeded"
))
{
// 退款成功
}
else
if
(
event_type
.
equals
(
"refund.succeeded"
))
{
// 退款成功
// up_B2BCancelOrderBizPayCallBack
String
status
=
event_content
.
getString
(
"status"
);
if
(
status
.
equals
(
"SUCCEEDED"
))
{
// 退款成功
...
...
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