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
31053505
Commit
31053505
authored
Oct 27, 2021
by
ping.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下单保存餐盒费收费规则
parent
a5639f00
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
order-application-service/src/main/java/cn/freemud/entities/dto/shoppingCart/ShoppingCartGoodsDto.java
+5
-0
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
+3
-0
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/request/OrderExtInfoDto.java
+6
-0
No files found.
order-application-service/src/main/java/cn/freemud/entities/dto/shoppingCart/ShoppingCartGoodsDto.java
View file @
31053505
...
@@ -41,6 +41,11 @@ public class ShoppingCartGoodsDto {
...
@@ -41,6 +41,11 @@ public class ShoppingCartGoodsDto {
private
Long
packageAmount
;
private
Long
packageAmount
;
/**
/**
* 包装费 收费规则 1= 商品级别 2=订单级别
*/
private
String
packageAmountCollectType
;
/**
* 积分扣减金额
* 积分扣减金额
*/
*/
private
Long
scoreReduceAmount
;
private
Long
scoreReduceAmount
;
...
...
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
View file @
31053505
...
@@ -2686,6 +2686,9 @@ public class OrderServiceImpl implements Orderservice {
...
@@ -2686,6 +2686,9 @@ public class OrderServiceImpl implements Orderservice {
if
(
null
!=
shoppingCartGoodsDto
&&
null
!=
shoppingCartGoodsDto
.
getTotalScore
())
{
if
(
null
!=
shoppingCartGoodsDto
&&
null
!=
shoppingCartGoodsDto
.
getTotalScore
())
{
orderExtInfoDto
.
setTotalScore
(
shoppingCartGoodsDto
.
getTotalScore
());
orderExtInfoDto
.
setTotalScore
(
shoppingCartGoodsDto
.
getTotalScore
());
}
}
if
(
null
!=
shoppingCartGoodsDto
&&
null
!=
shoppingCartGoodsDto
.
getPackageAmountCollectType
())
{
orderExtInfoDto
.
setPackageAmountCollectType
(
shoppingCartGoodsDto
.
getPackageAmountCollectType
());
}
orderExtInfoDto
.
setUnDistribution
(
createOrderVo
.
getUnDistribution
());
orderExtInfoDto
.
setUnDistribution
(
createOrderVo
.
getUnDistribution
());
return
orderExtInfoDto
;
return
orderExtInfoDto
;
...
...
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/request/OrderExtInfoDto.java
View file @
31053505
...
@@ -215,4 +215,10 @@ public class OrderExtInfoDto {
...
@@ -215,4 +215,10 @@ public class OrderExtInfoDto {
* 1 表示不分账 ,其他情况 不传值 给基础服务
* 1 表示不分账 ,其他情况 不传值 给基础服务
*/
*/
private
Integer
unDistribution
;
private
Integer
unDistribution
;
/**
* 包装费 收费规则 1= 商品级别 2=订单级别
*/
private
String
packageAmountCollectType
;
}
}
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