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
f8ad4d8d
Commit
f8ad4d8d
authored
Jun 15, 2021
by
徐康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
买3赠1券优惠信息
parent
d39bde0a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
1 deletions
+9
-1
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
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/enums/QueryOrderAccountType.java
+1
-0
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
+3
-0
order-application-service/src/main/java/cn/freemud/enums/ActivityTypeEnum.java
+1
-1
No files found.
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
View file @
f8ad4d8d
...
...
@@ -1422,6 +1422,9 @@ public class OrderSdkAdapter {
case
"COUPON"
:
type
=
10
;
break
;
case
"B3S1_COUPON"
:
type
=
35
;
break
;
case
"FREIGHT_COUPON"
:
type
=
99
;
break
;
...
...
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/enums/OldOrderAccountType.java
View file @
f8ad4d8d
...
...
@@ -22,6 +22,7 @@ public enum OldOrderAccountType {
PACK_AMOUNT
(
3
,
"包装费"
,
"PACK_AMOUNT"
),
COUPON
(
5
,
"代金券"
,
"COUPON"
),
PRODUCT_COUPON
(
6
,
"商品券"
,
"PRODUCT_COUPON"
),
B3S1_COUPON
(
35
,
"买3赠1券"
,
"B3S1_COUPON"
),
SEED_PRODUCT_COUPON
(
37
,
"种子券"
,
"SEED_PRODUCT_COUPON"
),
EVM_PRODUCT_COUPON
(
39
,
"EVM券"
,
"EVM_PRODUCT_COUPON"
),
DISCOUNT_COUPON
(
7
,
"折扣券"
,
"DISCOUNT_COUPON"
),
...
...
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/enums/QueryOrderAccountType.java
View file @
f8ad4d8d
...
...
@@ -22,6 +22,7 @@ public enum QueryOrderAccountType {
BUY_DISCOUNT
(
"BUY_DISCOUNT"
,
"满减优惠"
),
PACK_AMOUNT
(
"PACK_AMOUNT"
,
"包装费"
),
COUPON
(
"COUPON"
,
"代金券"
),
B3S1_COUPON
(
"B3S1_COUPON"
,
"买3赠1券"
),
FREIGHT_COUPON
(
"FREIGHT_COUPON"
,
"运费券"
),
PRODUCT_COUPON
(
"PRODUCT_COUPON"
,
"商品券"
),
SEED_PRODUCT_COUPON
(
"SEED_PRODUCT_COUPON"
,
"种子券"
),
...
...
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
View file @
f8ad4d8d
...
...
@@ -2822,6 +2822,9 @@ public class OrderAdapter {
if
(
ActivityTypeEnum
.
TYPE_32
.
getCode
().
equals
(
activityType
))
{
return
OldOrderAccountType
.
PRODUCT_COUPON
;
}
if
(
ActivityTypeEnum
.
TYPE_35
.
getCode
().
equals
(
activityType
))
{
return
OldOrderAccountType
.
PRODUCT_COUPON
;
}
if
(
ActivityTypeEnum
.
TYPE_38
.
getCode
().
equals
(
activityType
))
{
return
OldOrderAccountType
.
PRODUCT_COUPON
;
}
...
...
order-application-service/src/main/java/cn/freemud/enums/ActivityTypeEnum.java
View file @
f8ad4d8d
...
...
@@ -32,7 +32,7 @@ public enum ActivityTypeEnum {
TYPE_31
(
31
,
"折扣券"
),
TYPE_32
(
32
,
"商品券"
),
TYPE_34
(
34
,
"运费券"
),
TYPE_35
(
35
,
"买
1赠3
券"
),
TYPE_35
(
35
,
"买
3赠1
券"
),
TYPE_37
(
37
,
"种子券"
),
TYPE_38
(
38
,
"月享卡2.0"
),
TYPE_39
(
39
,
"EVM券"
),
...
...
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