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
074e01b0
Commit
074e01b0
authored
Apr 22, 2020
by
ping.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
抵价券优惠类型匹配
parent
43629ad9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
+3
-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 @
074e01b0
...
@@ -1736,6 +1736,9 @@ public class OrderSdkAdapter {
...
@@ -1736,6 +1736,9 @@ public class OrderSdkAdapter {
case
2
:
case
2
:
newOrderAccountType
=
OldOrderAccountType
.
BUY_DISCOUNT
.
getCode
();
newOrderAccountType
=
OldOrderAccountType
.
BUY_DISCOUNT
.
getCode
();
break
;
break
;
case
3
:
newOrderAccountType
=
OldOrderAccountType
.
PRICE_DEDUCTION_COUPON
.
getCode
();
break
;
case
10
:
case
10
:
newOrderAccountType
=
OldOrderAccountType
.
COUPON
.
getCode
();
newOrderAccountType
=
OldOrderAccountType
.
COUPON
.
getCode
();
break
;
break
;
...
...
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/enums/OldOrderAccountType.java
View file @
074e01b0
...
@@ -36,6 +36,7 @@ public enum OldOrderAccountType {
...
@@ -36,6 +36,7 @@ public enum OldOrderAccountType {
XY_DISCOUNT
(
104
,
"x件y折"
,
"XY_DISCOUNT"
),
XY_DISCOUNT
(
104
,
"x件y折"
,
"XY_DISCOUNT"
),
FULL_DISTRIBUTION_FEE
(
1014
,
"满减配送费"
,
"FULL_DISTRIBUTION_FEE"
),
FULL_DISTRIBUTION_FEE
(
1014
,
"满减配送费"
,
"FULL_DISTRIBUTION_FEE"
),
NEW_USER_DISCOUNT
(
101
,
"新用户立减"
,
"NEW_USER_DISCOUNT"
),
NEW_USER_DISCOUNT
(
101
,
"新用户立减"
,
"NEW_USER_DISCOUNT"
),
PRICE_DEDUCTION_COUPON
(
103
,
"抵价券"
,
"PRICE_DEDUCTION_COUPON"
),
TOTAL_DISCOUNT
(
205
,
"优惠总金额"
,
"TOTAL_DISCOUNT"
);
TOTAL_DISCOUNT
(
205
,
"优惠总金额"
,
"TOTAL_DISCOUNT"
);
private
Integer
code
;
private
Integer
code
;
...
...
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