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
745eb004
Commit
745eb004
authored
Aug 20, 2020
by
ping.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计分类编号
parent
98856937
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
+3
-2
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/CreateOrderProductRequest.java
+3
-1
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/OrderProductAddInfoDto.java
+5
-0
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
+2
-1
No files found.
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
View file @
745eb004
...
...
@@ -2688,8 +2688,9 @@ public class OrderSdkAdapter {
if
(
StringUtils
.
isNotBlank
(
product
.
getThirdCategoryId
())){
extInfo
.
setThirdCategoryId
(
product
.
getThirdCategoryId
());
}
if
(
StringUtils
.
isNotBlank
(
product
.
getCategory
())){
extInfo
.
setThirdCensusCategoryId
(
product
.
getCategory
());
if
(
StringUtils
.
isNotBlank
(
product
.
getClassificationId
())){
extInfo
.
setThirdCensusCategoryId
(
product
.
getClassificationId
());
extInfo
.
setThirdCensusCategoryId
(
product
.
getSetClassificationName
());
}
extInfo
.
setStapleFood
(
product
.
getStapleFood
());
//if (product.getStapleFood()!=null && product.getStapleFood()>0) {
...
...
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/CreateOrderProductRequest.java
View file @
745eb004
...
...
@@ -163,5 +163,7 @@ public class CreateOrderProductRequest extends BaseConfig {
private
Integer
stapleFood
;
/** 商品统计分类编号**/
private
String
category
;
private
String
classificationId
;
private
String
setClassificationName
;
}
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/OrderProductAddInfoDto.java
View file @
745eb004
...
...
@@ -61,4 +61,9 @@ public class OrderProductAddInfoDto extends BaseConfig {
* 商品统计分类编号
*/
private
String
thirdCensusCategoryId
;
/**
* 商品统计分类名称
*/
private
String
thirdCensusCategoryName
;
}
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
View file @
745eb004
...
...
@@ -1941,7 +1941,8 @@ public class OrderAdapter {
createOrderProductDemoDto
.
setWeight
(
cartGoodsDetailDto
.
getWeight
());
createOrderProductDemoDto
.
setUnit
(
cartGoodsDetailDto
.
getUnit
());
createOrderProductDemoDto
.
setStapleFood
(
0
);
createOrderProductDemoDto
.
setCategory
(
cartGoodsDetailDto
.
getClassificationId
());
createOrderProductDemoDto
.
setClassificationId
(
cartGoodsDetailDto
.
getClassificationId
());
createOrderProductDemoDto
.
setSetClassificationName
(
cartGoodsDetailDto
.
getSetClassificationName
());
return
createOrderProductDemoDto
;
}
...
...
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