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
jenkins
order-group
Commits
0cfb5a06
Commit
0cfb5a06
authored
Dec 25, 2019
by
张明警
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加小费字段
parent
59d307cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
+2
-0
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/enums/OldOrderAccountType.java
+1
-0
No files found.
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
View file @
0cfb5a06
...
@@ -579,6 +579,8 @@ public class OrderSdkAdapter {
...
@@ -579,6 +579,8 @@ public class OrderSdkAdapter {
}
}
if
(
orderCostResp
.
getCostType
()
==
5
)
{
if
(
orderCostResp
.
getCostType
()
==
5
)
{
accountBean
.
setType
(
OldOrderAccountType
.
CARD_ORIGINAL_AMOUNT
.
getCode
());
accountBean
.
setType
(
OldOrderAccountType
.
CARD_ORIGINAL_AMOUNT
.
getCode
());
}
if
(
orderCostResp
.
getCostType
()
==
7
)
{
accountBean
.
setType
(
OldOrderAccountType
.
DRIVER_FEE
.
getCode
());
}
}
accountBean
.
setAddInfo
(
""
);
accountBean
.
setAddInfo
(
""
);
accountList
.
add
(
accountBean
);
accountList
.
add
(
accountBean
);
...
...
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/enums/OldOrderAccountType.java
View file @
0cfb5a06
...
@@ -22,6 +22,7 @@ public enum OldOrderAccountType {
...
@@ -22,6 +22,7 @@ public enum OldOrderAccountType {
COUPON
(
5
,
"代金券"
,
"COUPON"
),
COUPON
(
5
,
"代金券"
,
"COUPON"
),
PRODUCT_COUPON
(
6
,
"商品券"
,
"PRODUCT_COUPON"
),
PRODUCT_COUPON
(
6
,
"商品券"
,
"PRODUCT_COUPON"
),
DISCOUNT_COUPON
(
7
,
"折扣券"
,
"DISCOUNT_COUPON"
),
DISCOUNT_COUPON
(
7
,
"折扣券"
,
"DISCOUNT_COUPON"
),
DRIVER_FEE
(
7
,
"骑手小费"
,
"DRIVER_FEE"
),
DISCOUNT_AMOUNT
(
21
,
"限时折扣"
,
"DISCOUNT_AMOUNT"
),
DISCOUNT_AMOUNT
(
21
,
"限时折扣"
,
"DISCOUNT_AMOUNT"
),
PREMIUM_EXCHANGE
(
22
,
"加价购"
,
"PREMIUM_EXCHANGE"
),
PREMIUM_EXCHANGE
(
22
,
"加价购"
,
"PREMIUM_EXCHANGE"
),
SECOND_DISCOUNT
(
23
,
"第二件N折"
,
"SECOND_DISCOUNT"
),
SECOND_DISCOUNT
(
23
,
"第二件N折"
,
"SECOND_DISCOUNT"
),
...
...
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