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
cba22188
Commit
cba22188
authored
Aug 03, 2021
by
ping.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员价优惠转化
parent
d2443282
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
+3
-3
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 @
cba22188
...
@@ -2871,15 +2871,15 @@ public class OrderAdapter {
...
@@ -2871,15 +2871,15 @@ public class OrderAdapter {
if
(
ActivityTypeEnum
.
TYPE_320
.
getCode
().
equals
(
activityType
))
{
if
(
ActivityTypeEnum
.
TYPE_320
.
getCode
().
equals
(
activityType
))
{
return
OldOrderAccountType
.
MEMBER_PRICE_DISCOUNT
;
return
OldOrderAccountType
.
MEMBER_PRICE_DISCOUNT
;
}
}
if
(
ActivityTypeEnum
.
TYPE_27
.
getCode
().
equals
(
activityType
))
{
return
OldOrderAccountType
.
MEMBER_PRICE_DISCOUNT
;
}
if
(
ActivityTypeEnum
.
TYPE_23
.
getCode
().
equals
(
activityType
))
{
if
(
ActivityTypeEnum
.
TYPE_23
.
getCode
().
equals
(
activityType
))
{
return
OldOrderAccountType
.
SUPER_PURCHASE
;
return
OldOrderAccountType
.
SUPER_PURCHASE
;
}
}
if
(
ActivityTypeEnum
.
TYPE_221
.
getCode
().
equals
(
activityType
))
{
if
(
ActivityTypeEnum
.
TYPE_221
.
getCode
().
equals
(
activityType
))
{
return
OldOrderAccountType
.
GATHER_SPOT
;
return
OldOrderAccountType
.
GATHER_SPOT
;
}
}
if
(
ActivityTypeEnum
.
TYPE_221
.
getCode
().
equals
(
activityType
))
{
return
OldOrderAccountType
.
GATHER_SPOT
;
}
if
(
ActivityTypeEnum
.
TYPE_22
.
getCode
().
equals
(
activityType
))
{
if
(
ActivityTypeEnum
.
TYPE_22
.
getCode
().
equals
(
activityType
))
{
return
OldOrderAccountType
.
SINGLE_PRODUCT_REDUCTION
;
return
OldOrderAccountType
.
SINGLE_PRODUCT_REDUCTION
;
}
}
...
...
order-application-service/src/main/java/cn/freemud/enums/ActivityTypeEnum.java
View file @
cba22188
...
@@ -25,6 +25,7 @@ public enum ActivityTypeEnum {
...
@@ -25,6 +25,7 @@ public enum ActivityTypeEnum {
TYPE_2
(
2
,
"单品特价"
),
TYPE_2
(
2
,
"单品特价"
),
TYPE_21
(
21
,
"单品折扣"
),
TYPE_21
(
21
,
"单品折扣"
),
TYPE_22
(
22
,
"单品立减"
),
TYPE_22
(
22
,
"单品立减"
),
TYPE_27
(
27
,
"会员价优惠"
),
/**
/**
* 优惠券
* 优惠券
*/
*/
...
...
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