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
292604b8
Commit
292604b8
authored
Sep 23, 2020
by
zhiheng.zhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/2020/09/23-1.9.39.1-修订版-张志恒' into develop
parents
5f906dc1
2e0033a3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
order-application-service/pom.xml
+1
-1
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
+8
-6
order-management/pom.xml
+1
-1
No files found.
order-application-service/pom.xml
View file @
292604b8
...
...
@@ -89,7 +89,7 @@
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
<artifactId>
deliverycenter-sdk
</artifactId>
<version>
1.
5.2-SNAPSHOT
</version>
<version>
1.
6.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
...
...
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
View file @
292604b8
...
...
@@ -1598,8 +1598,6 @@ public class OrderServiceImpl implements Orderservice {
sendApplyRefundSubscriptionNotice
(
orderBean
,
orderRefundVo
);
//已接单可发起退款申请,查询门店有无云打印机,有则打印退款申请小票
printApplyRefundSmallTicket
(
orderBean
,
orderRefundVo
);
//发送消息,冲正券
backOrdersStatusChange
(
orderBean
.
getOid
(),
orderBean
.
getStatus
(),
orderBean
.
getPayStatus
());
}
}
return
ResponseUtil
.
success
();
...
...
@@ -2191,8 +2189,10 @@ public class OrderServiceImpl implements Orderservice {
BaseResponse
baseResponse
=
failPreOrderPay
(
LogThreadLocal
.
getTrackingNo
(),
createPrepayRequestDto
.
getProductOrderBean
(),
cardCode
,
createPrepayRequestDto
.
getOrderClient
(),
Objects
.
isNull
(
orderPayResponse
)
?
null
:
orderPayResponse
.
getMsg
());
// 电子风味卡需要给用户特殊的返回
if
(
totalAmount
>
0
&&
Objects
.
nonNull
(
createPrepayRequestDto
.
getUnionPayCard
())
&&
Objects
.
nonNull
(
orderPayResponse
))
{
baseResponse
.
setMessage
((
ResponseCodeConstant
.
PASSWORD_WRONG
.
equals
(
orderPayResponse
.
getPayTransId
())
||
ResponseCodeConstant
.
NOT_SUFFICIENT_FUND
.
equals
(
orderPayResponse
.
getPayTransId
()))
?
if
(
totalAmount
>
0
&&
Objects
.
nonNull
(
createPrepayRequestDto
.
getUnionPayCard
()))
{
baseResponse
.
setMessage
(
Objects
.
nonNull
(
orderPayResponse
)
&&
(
ResponseCodeConstant
.
PASSWORD_WRONG
.
equals
(
orderPayResponse
.
getPayTransId
())
||
ResponseCodeConstant
.
NOT_SUFFICIENT_FUND
.
equals
(
orderPayResponse
.
getPayTransId
()))
?
orderPayResponse
.
getMsg
()
:
"支付失败"
);
}
return
baseResponse
;
...
...
@@ -2671,8 +2671,10 @@ public class OrderServiceImpl implements Orderservice {
BaseResponse
baseResponse
=
failPreOrderPay
(
LogThreadLocal
.
getTrackingNo
(),
productOrderBean
,
createOrderVo
.
getCardCode
(),
null
,
Objects
.
isNull
(
orderPayResponse
)
?
null
:
orderPayResponse
.
getMsg
());
// 电子风味卡需要给用户特殊的返回
if
(
totalAmount
>
0
&&
Objects
.
nonNull
(
createOrderVo
.
getUnionPayCard
())
&&
Objects
.
nonNull
(
orderPayResponse
))
{
baseResponse
.
setMessage
((
ResponseCodeConstant
.
PASSWORD_WRONG
.
equals
(
orderPayResponse
.
getPayTransId
())
||
ResponseCodeConstant
.
NOT_SUFFICIENT_FUND
.
equals
(
orderPayResponse
.
getPayTransId
()))
?
if
(
totalAmount
>
0
&&
Objects
.
nonNull
(
createOrderVo
.
getUnionPayCard
()))
{
baseResponse
.
setMessage
(
Objects
.
nonNull
(
orderPayResponse
)
&&
(
ResponseCodeConstant
.
PASSWORD_WRONG
.
equals
(
orderPayResponse
.
getPayTransId
())
||
ResponseCodeConstant
.
NOT_SUFFICIENT_FUND
.
equals
(
orderPayResponse
.
getPayTransId
()))
?
orderPayResponse
.
getMsg
()
:
"支付失败"
);
}
return
baseResponse
;
...
...
order-management/pom.xml
View file @
292604b8
...
...
@@ -95,7 +95,7 @@
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
<artifactId>
deliverycenter-sdk
</artifactId>
<version>
1.
5.2-SNAPSHOT
</version>
<version>
1.
6.RELEASE
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
...
...
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