Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jiujian
/
client-customer-order-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
zhuyifan
2025-03-08 12:48:55 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9663659aab05b569c6209af8f8eb1819f2606a2a
9663659a
1 parent
6cd094a6
fix:修复支付订单状态校验逻辑
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/infoloop/tianting/service/client/PayServiceClient.java
src/main/java/com/infoloop/tianting/service/client/PayServiceClient.java
View file @
9663659
...
...
@@ -131,8 +131,8 @@ public class PayServiceClient {
log
.
error
(
"Order not found, orderId: {}"
,
orderId
);
return
false
;
}
if
(
orderById
.
getPayStatus
()
!=
PayStatusEnum
.
IN_PROGRESS
)
{
log
.
info
(
"Order {} already processed, skipping.
"
,
orderId
);
if
(
orderById
.
getPayStatus
()
!=
PayStatusEnum
.
TO_PAY
&&
orderById
.
getPayStatus
()
!=
PayStatusEnum
.
IN_PROGRESS
)
{
log
.
error
(
"Order status is not TO_PAY or IN_PROGRESS, orderId: {}
"
,
orderId
);
return
true
;
}
long
payTime
;
...
...
Please
register
or
login
to post a comment