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
9db0dca4
Commit
9db0dca4
authored
Mar 31, 2021
by
徐康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
月享卡2.0
parent
1a90a596
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-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
-0
No files found.
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
View file @
9db0dca4
...
@@ -2626,6 +2626,9 @@ public class OrderAdapter {
...
@@ -2626,6 +2626,9 @@ public class OrderAdapter {
if
(
ActivityTypeEnum
.
TYPE_32
.
getCode
().
equals
(
activityType
))
{
if
(
ActivityTypeEnum
.
TYPE_32
.
getCode
().
equals
(
activityType
))
{
return
OldOrderAccountType
.
PRODUCT_COUPON
;
return
OldOrderAccountType
.
PRODUCT_COUPON
;
}
}
if
(
ActivityTypeEnum
.
TYPE_38
.
getCode
().
equals
(
activityType
))
{
return
OldOrderAccountType
.
PRODUCT_COUPON
;
}
if
(
ActivityTypeEnum
.
TYPE_37
.
getCode
().
equals
(
activityType
))
{
if
(
ActivityTypeEnum
.
TYPE_37
.
getCode
().
equals
(
activityType
))
{
return
OldOrderAccountType
.
SEED_PRODUCT_COUPON
;
return
OldOrderAccountType
.
SEED_PRODUCT_COUPON
;
}
}
...
...
order-application-service/src/main/java/cn/freemud/enums/ActivityTypeEnum.java
View file @
9db0dca4
...
@@ -33,6 +33,7 @@ public enum ActivityTypeEnum {
...
@@ -33,6 +33,7 @@ public enum ActivityTypeEnum {
TYPE_34
(
34
,
"运费券"
),
TYPE_34
(
34
,
"运费券"
),
TYPE_35
(
35
,
"买1赠3券"
),
TYPE_35
(
35
,
"买1赠3券"
),
TYPE_37
(
37
,
"种子券"
),
TYPE_37
(
37
,
"种子券"
),
TYPE_38
(
38
,
"月享卡2.0"
),
TYPE_5
(
5
,
"整单满金额折"
),
TYPE_5
(
5
,
"整单满金额折"
),
TYPE_51
(
51
,
"每满金额折"
),
TYPE_51
(
51
,
"每满金额折"
),
TYPE_52
(
52
,
"阶梯满金额折"
),
TYPE_52
(
52
,
"阶梯满金额折"
),
...
...
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