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
84c043b1
Commit
84c043b1
authored
Mar 17, 2021
by
zhiheng.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sdk升級
parent
d298f323
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
assortment-ordercenter-sdk/pom.xml
+1
-1
ordercenter-sdk/pom.xml
+1
-1
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/enums/OrderSettlementType.java
+10
-0
No files found.
assortment-ordercenter-sdk/pom.xml
View file @
84c043b1
...
...
@@ -10,7 +10,7 @@
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
assortment-ordercenter-sdk
</artifactId>
<version>
2.
1.39-RELEASE
</version>
<version>
2.
2.78-SNAPSHOT
</version>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
ordercenter-sdk/pom.xml
View file @
84c043b1
...
...
@@ -8,7 +8,7 @@
<version>
1.0.0
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<version>
1.3.41.RELEASE
</version>
<version>
2.8.5-SNAPSHOT
</version>
<artifactId>
ordercenter-sdk
</artifactId>
<dependencies>
...
...
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/enums/OrderSettlementType.java
View file @
84c043b1
package
com
.
freemud
.
application
.
sdk
.
api
.
ordercenter
.
enums
;
import
java.util.Arrays
;
/**
* All rights Reserved, Designed By www.freemud.cn
*
...
...
@@ -44,6 +46,14 @@ public enum OrderSettlementType {
DISCOUNT_COUPON
(
208
,
"折扣券"
),
FULL_DISTRIBUTION_FEE
(
1014
,
"满减配送费"
),
;
public
static
OrderSettlementType
getByIndex
(
Integer
index
)
{
return
Arrays
.
stream
(
OrderSettlementType
.
values
())
.
filter
(
e
->
e
.
index
==
index
)
.
findFirst
()
.
orElseThrow
(()
->
new
RuntimeException
(
"活动类型不存在,请检查是否活动类型有修改"
));
}
private
int
index
;
private
String
name
;
...
...
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