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
jenkins
order-group
Commits
0bd6b035
Commit
0bd6b035
authored
Dec 26, 2019
by
张明警
Browse files
Options
Browse Files
Download
Plain Diff
升级SDK,合并代码
parents
a041c6fe
8a3979d3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
assortment-ordercenter-sdk/pom.xml
+2
-2
assortment-ordercenter-sdk/readme.md
+2
-0
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
+2
-0
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/enums/OldOrderAccountType.java
+1
-0
No files found.
assortment-ordercenter-sdk/pom.xml
View file @
0bd6b035
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
assortment-ordercenter-sdk
</artifactId>
<artifactId>
assortment-ordercenter-sdk
</artifactId>
<version>
1.0.0-SNAPSHOT
</version>
<version>
6.4.10.RELEASE
</version>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<dependency>
<dependency>
<groupId>
cn.freemud
</groupId>
<groupId>
cn.freemud
</groupId>
<artifactId>
ordercenter-sdk
</artifactId>
<artifactId>
ordercenter-sdk
</artifactId>
<version>
1.0.
0
-SNAPSHOT
</version>
<version>
1.0.
3
-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
<groupId>
com.freemud.application.service.sdk
</groupId>
...
...
assortment-ordercenter-sdk/readme.md
View file @
0bd6b035
...
@@ -195,3 +195,4 @@
...
@@ -195,3 +195,4 @@
| 6.4.8.RELEASE|关联jar升级,商品相关价格落库RELEASE版| 丁凯 | 2019-11-28 |
| 6.4.8.RELEASE|关联jar升级,商品相关价格落库RELEASE版| 丁凯 | 2019-11-28 |
| 6.4.9.RELEASE| 订单支付后保存会员信息-优化错误处理 | 姜海波 | 2019-11-28 |
| 6.4.9.RELEASE| 订单支付后保存会员信息-优化错误处理 | 姜海波 | 2019-11-28 |
| 1.0.0-SNAPSHOT | 迁移后包明改为cn.freemud开头第一版 | wuping | 2019-12-16 |
| 1.0.0-SNAPSHOT | 迁移后包明改为cn.freemud开头第一版 | wuping | 2019-12-16 |
| 6.4.10.RELEASE| 骑手小费 | 张明警 | 2019-12-26 |
\ No newline at end of file
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
View file @
0bd6b035
...
@@ -582,6 +582,8 @@ public class OrderSdkAdapter {
...
@@ -582,6 +582,8 @@ public class OrderSdkAdapter {
}
}
if
(
orderCostResp
.
getCostType
()
==
5
)
{
if
(
orderCostResp
.
getCostType
()
==
5
)
{
accountBean
.
setType
(
OldOrderAccountType
.
CARD_ORIGINAL_AMOUNT
.
getCode
());
accountBean
.
setType
(
OldOrderAccountType
.
CARD_ORIGINAL_AMOUNT
.
getCode
());
}
if
(
orderCostResp
.
getCostType
()
==
7
)
{
accountBean
.
setType
(
OldOrderAccountType
.
DRIVER_FEE
.
getCode
());
}
}
accountBean
.
setAddInfo
(
""
);
accountBean
.
setAddInfo
(
""
);
accountList
.
add
(
accountBean
);
accountList
.
add
(
accountBean
);
...
...
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/enums/OldOrderAccountType.java
View file @
0bd6b035
...
@@ -22,6 +22,7 @@ public enum OldOrderAccountType {
...
@@ -22,6 +22,7 @@ public enum OldOrderAccountType {
COUPON
(
5
,
"代金券"
,
"COUPON"
),
COUPON
(
5
,
"代金券"
,
"COUPON"
),
PRODUCT_COUPON
(
6
,
"商品券"
,
"PRODUCT_COUPON"
),
PRODUCT_COUPON
(
6
,
"商品券"
,
"PRODUCT_COUPON"
),
DISCOUNT_COUPON
(
7
,
"折扣券"
,
"DISCOUNT_COUPON"
),
DISCOUNT_COUPON
(
7
,
"折扣券"
,
"DISCOUNT_COUPON"
),
DRIVER_FEE
(
7
,
"骑手小费"
,
"DRIVER_FEE"
),
DISCOUNT_AMOUNT
(
21
,
"限时折扣"
,
"DISCOUNT_AMOUNT"
),
DISCOUNT_AMOUNT
(
21
,
"限时折扣"
,
"DISCOUNT_AMOUNT"
),
PREMIUM_EXCHANGE
(
22
,
"加价购"
,
"PREMIUM_EXCHANGE"
),
PREMIUM_EXCHANGE
(
22
,
"加价购"
,
"PREMIUM_EXCHANGE"
),
SECOND_DISCOUNT
(
23
,
"第二件N折"
,
"SECOND_DISCOUNT"
),
SECOND_DISCOUNT
(
23
,
"第二件N折"
,
"SECOND_DISCOUNT"
),
...
...
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