Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
b3b0fa53
Commit
b3b0fa53
authored
Feb 01, 2023
by
咸鱼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
ddf5b1e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
order-application-service/src/main/java/cn/freemud/service/RefundService.java
+2
-2
order-management/src/main/java/cn/freemud/management/service/handle/PaymentHandle.java
+2
-1
No files found.
order-application-service/src/main/java/cn/freemud/service/RefundService.java
View file @
b3b0fa53
...
...
@@ -292,13 +292,13 @@ public class RefundService {
req
.
setRefundState
(
AfterSalesRefunStateEnum
.
STATE_2
.
getIndex
());
}
else
{
// 其他退款失败的情况 不生成售后单
throw
new
ServiceException
(
ResponseResult
.
MULTIORDER__ERRORREFUND
.
get
Cod
e
());
throw
new
ServiceException
(
ResponseResult
.
MULTIORDER__ERRORREFUND
.
get
Messag
e
());
}
BaseOrderResponse
resp
=
orderCenterSdkService
.
orderCancel
(
req
);
if
(
resp
==
null
||
!
ObjectUtils
.
equals
(
ResponseConstant
.
SUCCESS_RESPONSE_CODE
,
resp
.
getErrcode
()))
{
throw
new
ServiceException
(
ResponseResult
.
ORDER__ERRORREFUND
.
get
Cod
e
());
throw
new
ServiceException
(
ResponseResult
.
ORDER__ERRORREFUND
.
get
Messag
e
());
}
if
(
state
==
PayRefundStatus
.
RUNNING
.
getCode
())
{
...
...
order-management/src/main/java/cn/freemud/management/service/handle/PaymentHandle.java
View file @
b3b0fa53
...
...
@@ -172,7 +172,8 @@ public class PaymentHandle {
refundResponse
.
setMessage
(
result
.
getMessage
());
refundResponse
.
setResult
(
result
);
return
refundResponse
;
}
catch
(
Exception
e
)
{
}
catch
(
Throwable
e
)
{
ErrorLog
.
errorConvertJson
(
this
.
getClass
(),
e
.
getMessage
(),
e
);
refundResponse
=
new
PayRefundResponse
();
refundResponse
.
setPayRefundStatus
(
PayRefundStatus
.
COMPATIBILITY_STATUS
);
refundResponse
.
setMessage
(
"请稍后再试!"
);
...
...
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