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
7911db59
Commit
7911db59
authored
May 12, 2020
by
姜海波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退单增加 是否退运费配置
parent
9788f32e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
+3
-4
No files found.
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
View file @
7911db59
...
...
@@ -1173,14 +1173,13 @@ public class OrderServiceImpl implements Orderservice {
Map
<
String
,
AssortmentOpenPlatformPartnerWxappConfig
>
configMap
=
partnerWxappConfigs
.
stream
().
collect
(
Collectors
.
toMap
(
AssortmentOpenPlatformPartnerWxappConfig:
:
getAppKey
,
Function
.
identity
()));
boolean
isRefundDeliveryFee
=
fals
e
;
boolean
isRefundDeliveryFee
=
tru
e
;
AssortmentOpenPlatformPartnerWxappConfig
refundDeliveryFeeConfig
=
configMap
.
get
(
OrderRefundEnum
.
REFUND_DELIVERY_FEE_ENABLE
.
getKeyValue
());
log
.
info
(
"refundAgree.refundShippingFee of oid:{}, {}"
,
orderBean
.
getOid
(),
(
null
!=
refundDeliveryFeeConfig
?
ToStringBuilder
.
reflectionToString
(
refundDeliveryFeeConfig
)
:
null
));
// 0、null表示 关闭 ; 1 表示开启
if
(
null
!=
refundDeliveryFeeConfig
&&
ALLOW_REFUND
.
equals
(
refundDeliveryFeeConfig
.
getAppValue
())
&&
!
PayChannel
.
SVC
.
getCode
().
equals
(
orderBean
.
getPayChannel
()))
{
isRefundDeliveryFee
=
true
;
&&
(!
ALLOW_REFUND
.
equals
(
refundDeliveryFeeConfig
.
getAppValue
())||
PayChannel
.
SVC
.
getCode
().
equals
(
orderBean
.
getPayChannel
())))
{
isRefundDeliveryFee
=
false
;
}
CancelOrderRequest
cancelOrderRequest
=
new
CancelOrderRequest
();
...
...
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