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
beb17f3a
Commit
beb17f3a
authored
Dec 24, 2020
by
hanghang.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev代码少了实现方法platformPaysuccess 从QA拿到代码复制过来
parent
a970643e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
+15
-0
No files found.
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
View file @
beb17f3a
...
@@ -1255,6 +1255,21 @@ public class OrderServiceImpl implements Orderservice {
...
@@ -1255,6 +1255,21 @@ public class OrderServiceImpl implements Orderservice {
}
}
@Override
@Override
public
BaseResponse
platformPaysuccess
(
PlatformPaySuccessRequest
requestVo
)
{
BaseQueryOrderRequest
baseQueryOrderRequest
=
new
BaseQueryOrderRequest
();
baseQueryOrderRequest
.
setOrderId
(
requestVo
.
getOrderCode
());
baseQueryOrderRequest
.
setTrackingNo
(
LogThreadLocal
.
getTrackingNo
());
QueryOrderByIdResponse
queryOrderByIdResponse
=
orderCenterSdkService
.
queryOrderById
(
baseQueryOrderRequest
);
if
(!
RESPONSE_SUCCESS_CODE
.
equals
(
queryOrderByIdResponse
.
getErrcode
())
||
queryOrderByIdResponse
.
getData
()
==
null
)
{
return
ResponseUtil
.
error
(
ResponseResult
.
ORDER_QUERYORDER_ERROR
);
}
// 扣减储值卡
// 扣减券
// 扣减积分
return
ResponseUtil
.
success
();
}
@Override
public
BaseResponse
timeOutOrderRefund
(
TimeOutOrderVo
timeOutOrderVo
)
{
public
BaseResponse
timeOutOrderRefund
(
TimeOutOrderVo
timeOutOrderVo
)
{
Map
<
String
,
QueryOrdersResponseDto
.
DataBean
.
OrderBean
>
orderBeans
=
this
.
getOrderBeanByOrderId
(
timeOutOrderVo
.
getOid
());
Map
<
String
,
QueryOrdersResponseDto
.
DataBean
.
OrderBean
>
orderBeans
=
this
.
getOrderBeanByOrderId
(
timeOutOrderVo
.
getOid
());
if
(
MapUtils
.
isEmpty
(
orderBeans
))
{
if
(
MapUtils
.
isEmpty
(
orderBeans
))
{
...
...
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