Commit 5dd00ab9 by dingkai

Merge branch 'qa' of gitlab.freemud.com:order-group-application/order-group into qa

parents 5a6324b6 a5ccaeb7
......@@ -38,7 +38,7 @@
<dependency>
<groupId>cn.freemud</groupId>
<artifactId>ordercenter-sdk</artifactId>
<version>1.1.9.RELEASE</version>
<version>1.3.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.freemud.application.service.sdk</groupId>
......
......@@ -23,4 +23,5 @@
| 1.2.5.RELEASE | 满额减配送费 | dingkai | 2020-03-26 |
| 1.2.5.RELEASE | 满额减配送费 | 海波 | 2020-03-26 |
| 1.2.7.RELEASE | 判断优化 | 丁凯 | 2020-04-03 |
| 1.2.8.RELEASE | 增加延时队列 | 海波 | 2020-04-13 |
\ No newline at end of file
| 1.2.8.RELEASE | 增加延时队列 | 海波 | 2020-04-13 |
| 1.2.9.RELEASE | oms接单 | 侯书虎 | 2020-04-13 |
\ No newline at end of file
......@@ -301,6 +301,7 @@ public class OrderSdkAdapter {
orderCostCreateReq.setCostName(accountRequest.getName());
//新订单服务 1=包装费,2=运费,3=餐盒单价,4=餐盒数量
orderCostCreateReq.setCostType(getCostType(accountRequest.getAccountType()));
orderCostCreateReq.setActualCostAmount(accountRequest.getActualPrice()!=null?accountRequest.getActualPrice():accountRequest.getPrice());
orderCostCreateReq.setCostAmount(accountRequest.getPrice());
originalAmount += accountRequest.getPrice();
orderCostCreateReq.setProductSeq(accountRequest.getSequence());
......
......@@ -43,4 +43,9 @@ public class CreateOrderAccountRequest extends BaseConfig {
private String productId;
private Integer discountQty;
/**
* 真实费用 满减配送费 计算实际产生的配送费用
*/
private Long actualPrice;
}
......@@ -40,7 +40,7 @@
<dependency>
<groupId>cn.freemud</groupId>
<artifactId>assortment-ordercenter-sdk</artifactId>
<version>1.4.5-SNAPSHOT</version>
<version>1.4.8-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.freemud.application.service.sdk</groupId>
......
......@@ -180,6 +180,7 @@ public class OrderAdapter {
.price(deliveryAmount)
.accountType(getQueryOrderAccountType(OldOrderAccountType.getByCode(OrderAccountType.DELIVERY_AMOUNT.getCode())))
.sequence(orderAccountIndex++)
.actualPrice(discountDeliveryAmount)
.build();
orderAccountDtos.add(createOrderAccountDto);
}
......@@ -645,6 +646,7 @@ public class OrderAdapter {
.price(deliveryAmount)
.accountType(QueryOrderAccountType.DELIVERY_AMOUNT)
.sequence(orderAccountIndex++)
.actualPrice(discountDeliveryAmount)
.build();
orderAccountDtos.add(createOrderAccountDto);
}
......
......@@ -46,7 +46,7 @@
<dependency>
<groupId>cn.freemud</groupId>
<artifactId>assortment-ordercenter-sdk</artifactId>
<version>1.3.0-SNAPSHOT</version>
<version>1.2.9.RELEASE</version>
<scope>provided</scope>
</dependency>
<dependency>
......
......@@ -8,7 +8,7 @@
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<version>1.2.0.RELEASE</version>
<version>1.2.1.RELEASE</version>
<artifactId>ordercenter-sdk</artifactId>
<dependencies>
......
......@@ -15,3 +15,4 @@
| 1.1.8.RELEASE | 预约单升级RELEASE | wuping | 2020-03-18 |
| 1.1.9.RELEASE | 满额减配送费RELEASE | dingkai | 2020-03-26 |
| 1.2.0.RELEASE | 新增订单商品汇总下载接口 | 侯书虎 | 2020-04-07 |
| 1.2.1.RELEASE | oms接单 | 侯书虎 | 2020-04-13 |
......@@ -38,4 +38,7 @@ public class OrderCostCreateReq {
//备注
private String note;
private Long actualCostAmount;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment