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
5dd00ab9
Commit
5dd00ab9
authored
Apr 17, 2020
by
dingkai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'qa' of gitlab.freemud.com:order-group-application/order-group into qa
parents
5a6324b6
a5ccaeb7
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
18 additions
and
4 deletions
+18
-4
assortment-ordercenter-sdk/pom.xml
+1
-1
assortment-ordercenter-sdk/readme.md
+2
-0
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
+1
-0
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/CreateOrderAccountRequest.java
+5
-0
order-application-service/pom.xml
+1
-1
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
+2
-0
order-management/pom.xml
+1
-1
ordercenter-sdk/pom.xml
+1
-1
ordercenter-sdk/readme.md
+1
-0
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/request/create/OrderCostCreateReq.java
+3
-0
No files found.
assortment-ordercenter-sdk/pom.xml
View file @
5dd00ab9
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<dependency>
<dependency>
<groupId>
cn.freemud
</groupId>
<groupId>
cn.freemud
</groupId>
<artifactId>
ordercenter-sdk
</artifactId>
<artifactId>
ordercenter-sdk
</artifactId>
<version>
1.
1.9.RELEASE
</version>
<version>
1.
3.1-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 @
5dd00ab9
...
@@ -24,3 +24,4 @@
...
@@ -24,3 +24,4 @@
| 1.2.5.RELEASE | 满额减配送费 | 海波 | 2020-03-26 |
| 1.2.5.RELEASE | 满额减配送费 | 海波 | 2020-03-26 |
| 1.2.7.RELEASE | 判断优化 | 丁凯 | 2020-04-03 |
| 1.2.7.RELEASE | 判断优化 | 丁凯 | 2020-04-03 |
| 1.2.8.RELEASE | 增加延时队列 | 海波 | 2020-04-13 |
| 1.2.8.RELEASE | 增加延时队列 | 海波 | 2020-04-13 |
| 1.2.9.RELEASE | oms接单 | 侯书虎 | 2020-04-13 |
\ No newline at end of file
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
View file @
5dd00ab9
...
@@ -301,6 +301,7 @@ public class OrderSdkAdapter {
...
@@ -301,6 +301,7 @@ public class OrderSdkAdapter {
orderCostCreateReq
.
setCostName
(
accountRequest
.
getName
());
orderCostCreateReq
.
setCostName
(
accountRequest
.
getName
());
//新订单服务 1=包装费,2=运费,3=餐盒单价,4=餐盒数量
//新订单服务 1=包装费,2=运费,3=餐盒单价,4=餐盒数量
orderCostCreateReq
.
setCostType
(
getCostType
(
accountRequest
.
getAccountType
()));
orderCostCreateReq
.
setCostType
(
getCostType
(
accountRequest
.
getAccountType
()));
orderCostCreateReq
.
setActualCostAmount
(
accountRequest
.
getActualPrice
()!=
null
?
accountRequest
.
getActualPrice
():
accountRequest
.
getPrice
());
orderCostCreateReq
.
setCostAmount
(
accountRequest
.
getPrice
());
orderCostCreateReq
.
setCostAmount
(
accountRequest
.
getPrice
());
originalAmount
+=
accountRequest
.
getPrice
();
originalAmount
+=
accountRequest
.
getPrice
();
orderCostCreateReq
.
setProductSeq
(
accountRequest
.
getSequence
());
orderCostCreateReq
.
setProductSeq
(
accountRequest
.
getSequence
());
...
...
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/CreateOrderAccountRequest.java
View file @
5dd00ab9
...
@@ -43,4 +43,9 @@ public class CreateOrderAccountRequest extends BaseConfig {
...
@@ -43,4 +43,9 @@ public class CreateOrderAccountRequest extends BaseConfig {
private
String
productId
;
private
String
productId
;
private
Integer
discountQty
;
private
Integer
discountQty
;
/**
* 真实费用 满减配送费 计算实际产生的配送费用
*/
private
Long
actualPrice
;
}
}
order-application-service/pom.xml
View file @
5dd00ab9
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<dependency>
<dependency>
<groupId>
cn.freemud
</groupId>
<groupId>
cn.freemud
</groupId>
<artifactId>
assortment-ordercenter-sdk
</artifactId>
<artifactId>
assortment-ordercenter-sdk
</artifactId>
<version>
1.4.
5
-SNAPSHOT
</version>
<version>
1.4.
8
-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
<groupId>
com.freemud.application.service.sdk
</groupId>
...
...
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
View file @
5dd00ab9
...
@@ -180,6 +180,7 @@ public class OrderAdapter {
...
@@ -180,6 +180,7 @@ public class OrderAdapter {
.
price
(
deliveryAmount
)
.
price
(
deliveryAmount
)
.
accountType
(
getQueryOrderAccountType
(
OldOrderAccountType
.
getByCode
(
OrderAccountType
.
DELIVERY_AMOUNT
.
getCode
())))
.
accountType
(
getQueryOrderAccountType
(
OldOrderAccountType
.
getByCode
(
OrderAccountType
.
DELIVERY_AMOUNT
.
getCode
())))
.
sequence
(
orderAccountIndex
++)
.
sequence
(
orderAccountIndex
++)
.
actualPrice
(
discountDeliveryAmount
)
.
build
();
.
build
();
orderAccountDtos
.
add
(
createOrderAccountDto
);
orderAccountDtos
.
add
(
createOrderAccountDto
);
}
}
...
@@ -645,6 +646,7 @@ public class OrderAdapter {
...
@@ -645,6 +646,7 @@ public class OrderAdapter {
.
price
(
deliveryAmount
)
.
price
(
deliveryAmount
)
.
accountType
(
QueryOrderAccountType
.
DELIVERY_AMOUNT
)
.
accountType
(
QueryOrderAccountType
.
DELIVERY_AMOUNT
)
.
sequence
(
orderAccountIndex
++)
.
sequence
(
orderAccountIndex
++)
.
actualPrice
(
discountDeliveryAmount
)
.
build
();
.
build
();
orderAccountDtos
.
add
(
createOrderAccountDto
);
orderAccountDtos
.
add
(
createOrderAccountDto
);
}
}
...
...
order-management/pom.xml
View file @
5dd00ab9
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
<dependency>
<dependency>
<groupId>
cn.freemud
</groupId>
<groupId>
cn.freemud
</groupId>
<artifactId>
assortment-ordercenter-sdk
</artifactId>
<artifactId>
assortment-ordercenter-sdk
</artifactId>
<version>
1.
3.0-SNAPSHOT
</version>
<version>
1.
2.9.RELEASE
</version>
<scope>
provided
</scope>
<scope>
provided
</scope>
</dependency>
</dependency>
<dependency>
<dependency>
...
...
ordercenter-sdk/pom.xml
View file @
5dd00ab9
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<version>
1.0.0
</version>
<version>
1.0.0
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<version>
1.2.
0
.RELEASE
</version>
<version>
1.2.
1
.RELEASE
</version>
<artifactId>
ordercenter-sdk
</artifactId>
<artifactId>
ordercenter-sdk
</artifactId>
<dependencies>
<dependencies>
...
...
ordercenter-sdk/readme.md
View file @
5dd00ab9
...
@@ -15,3 +15,4 @@
...
@@ -15,3 +15,4 @@
| 1.1.8.RELEASE | 预约单升级RELEASE | wuping | 2020-03-18 |
| 1.1.8.RELEASE | 预约单升级RELEASE | wuping | 2020-03-18 |
| 1.1.9.RELEASE | 满额减配送费RELEASE | dingkai | 2020-03-26 |
| 1.1.9.RELEASE | 满额减配送费RELEASE | dingkai | 2020-03-26 |
| 1.2.0.RELEASE | 新增订单商品汇总下载接口 | 侯书虎 | 2020-04-07 |
| 1.2.0.RELEASE | 新增订单商品汇总下载接口 | 侯书虎 | 2020-04-07 |
| 1.2.1.RELEASE | oms接单 | 侯书虎 | 2020-04-13 |
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/request/create/OrderCostCreateReq.java
View file @
5dd00ab9
...
@@ -38,4 +38,7 @@ public class OrderCostCreateReq {
...
@@ -38,4 +38,7 @@ public class OrderCostCreateReq {
//备注
//备注
private
String
note
;
private
String
note
;
private
Long
actualCostAmount
;
}
}
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