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
efd075cf
Commit
efd075cf
authored
Aug 27, 2020
by
徐康
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
aa5709e6
03038fe2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
+1
-1
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/CreateOrderProductRequest.java
+1
-1
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
+2
-2
order-application-service/src/main/java/cn/freemud/entities/dto/shoppingCart/ShoppingCartGoodsDto.java
+1
-1
No files found.
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
View file @
efd075cf
...
@@ -2599,7 +2599,7 @@ public class OrderSdkAdapter {
...
@@ -2599,7 +2599,7 @@ public class OrderSdkAdapter {
}
}
if
(
StringUtils
.
isNotBlank
(
product
.
getClassificationId
())){
if
(
StringUtils
.
isNotBlank
(
product
.
getClassificationId
())){
extInfo
.
setThirdCensusCategoryId
(
product
.
getClassificationId
());
extInfo
.
setThirdCensusCategoryId
(
product
.
getClassificationId
());
extInfo
.
setThirdCensusCategory
Id
(
product
.
getS
etClassificationName
());
extInfo
.
setThirdCensusCategory
Name
(
product
.
g
etClassificationName
());
}
}
if
(
0
!=
product
.
getTax
()){
if
(
0
!=
product
.
getTax
()){
extInfo
.
setTax
(
product
.
getTax
());
extInfo
.
setTax
(
product
.
getTax
());
...
...
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/CreateOrderProductRequest.java
View file @
efd075cf
...
@@ -174,5 +174,5 @@ public class CreateOrderProductRequest extends BaseConfig {
...
@@ -174,5 +174,5 @@ public class CreateOrderProductRequest extends BaseConfig {
/** 商品统计分类编号**/
/** 商品统计分类编号**/
private
String
classificationId
;
private
String
classificationId
;
private
String
setC
lassificationName
;
private
String
c
lassificationName
;
}
}
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
View file @
efd075cf
...
@@ -2117,7 +2117,7 @@ public class OrderAdapter {
...
@@ -2117,7 +2117,7 @@ public class OrderAdapter {
createOrderProductDemoDto
.
setUnit
(
cartGoodsDetailDto
.
getUnit
());
createOrderProductDemoDto
.
setUnit
(
cartGoodsDetailDto
.
getUnit
());
createOrderProductDemoDto
.
setStapleFood
(
0
);
createOrderProductDemoDto
.
setStapleFood
(
0
);
createOrderProductDemoDto
.
setClassificationId
(
cartGoodsDetailDto
.
getClassificationId
());
createOrderProductDemoDto
.
setClassificationId
(
cartGoodsDetailDto
.
getClassificationId
());
createOrderProductDemoDto
.
set
SetClassificationName
(
cartGoodsDetailDto
.
getS
etClassificationName
());
createOrderProductDemoDto
.
set
ClassificationName
(
cartGoodsDetailDto
.
g
etClassificationName
());
if
(
CollectionUtils
.
isNotEmpty
(
cartGoodsDetailDto
.
getActivityDiscountsDtos
()))
{
if
(
CollectionUtils
.
isNotEmpty
(
cartGoodsDetailDto
.
getActivityDiscountsDtos
()))
{
createOrderProductDemoDto
.
setAccounts
(
getMaterialAccounts
(
createOrderProductDemoDto
,
cartGoodsDetailDto
));
createOrderProductDemoDto
.
setAccounts
(
getMaterialAccounts
(
createOrderProductDemoDto
,
cartGoodsDetailDto
));
}
}
...
@@ -2149,7 +2149,7 @@ public class OrderAdapter {
...
@@ -2149,7 +2149,7 @@ public class OrderAdapter {
createOrderProductDemoDto
.
setTax
(
cartGoodsDetailDto
.
getTax
());
createOrderProductDemoDto
.
setTax
(
cartGoodsDetailDto
.
getTax
());
createOrderProductDemoDto
.
setTaxId
(
cartGoodsDetailDto
.
getTaxId
());
createOrderProductDemoDto
.
setTaxId
(
cartGoodsDetailDto
.
getTaxId
());
createOrderProductDemoDto
.
setClassificationId
(
cartGoodsDetailDto
.
getClassificationId
());
createOrderProductDemoDto
.
setClassificationId
(
cartGoodsDetailDto
.
getClassificationId
());
createOrderProductDemoDto
.
set
SetClassificationName
(
cartGoodsDetailDto
.
getS
etClassificationName
());
createOrderProductDemoDto
.
set
ClassificationName
(
cartGoodsDetailDto
.
g
etClassificationName
());
return
createOrderProductDemoDto
;
return
createOrderProductDemoDto
;
}
}
...
...
order-application-service/src/main/java/cn/freemud/entities/dto/shoppingCart/ShoppingCartGoodsDto.java
View file @
efd075cf
...
@@ -178,7 +178,7 @@ public class ShoppingCartGoodsDto {
...
@@ -178,7 +178,7 @@ public class ShoppingCartGoodsDto {
/** 商品统计分类编号**/
/** 商品统计分类编号**/
private
String
classificationId
;
private
String
classificationId
;
private
String
setC
lassificationName
;
private
String
c
lassificationName
;
/**
/**
* 是否限制库存
* 是否限制库存
* 用于创建订单时,是否扣减库存
* 用于创建订单时,是否扣减库存
...
...
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