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
62a1780a
Commit
62a1780a
authored
Mar 09, 2021
by
hanghang.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改SDK
parent
a8de79c7
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
1 deletions
+25
-1
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
+3
-0
order-application-service/src/main/java/cn/freemud/entities/dto/ProductGroupDto.java
+1
-0
order-application-service/src/main/java/cn/freemud/entities/vo/ProductVo.java
+13
-0
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/request/OrderExtendedReq.java
+3
-0
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/response/orderInfo/OrderInfoReqs.java
+3
-0
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/response/orderInfo/OrderItemResp.java
+2
-1
No files found.
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
View file @
62a1780a
...
@@ -917,13 +917,16 @@ public class OrderSdkAdapter {
...
@@ -917,13 +917,16 @@ public class OrderSdkAdapter {
productBean
.
setPrice
(
orderItemResp
.
getProductPrice
().
longValue
());
productBean
.
setPrice
(
orderItemResp
.
getProductPrice
().
longValue
());
productBean
.
setSalePrice
(
orderItemResp
.
getSalePrice
().
longValue
());
productBean
.
setSalePrice
(
orderItemResp
.
getSalePrice
().
longValue
());
productBean
.
setProductName
(
orderItemResp
.
getProductName
());
productBean
.
setProductName
(
orderItemResp
.
getProductName
());
productBean
.
setProductForeignName
(
orderItemResp
.
getProductForeignName
());
productBean
.
setSpecification
(
orderItemResp
.
getProductSpec
());
productBean
.
setSpecification
(
orderItemResp
.
getProductSpec
());
productBean
.
setSpecificationName
(
orderItemResp
.
getProductSpecName
());
productBean
.
setSpecificationName
(
orderItemResp
.
getProductSpecName
());
productBean
.
setSpecificationForeignName
(
orderItemResp
.
getProductForeignSpecName
());
productBean
.
setProductSharePrice
(
orderItemResp
.
getProductSharePrice
());
productBean
.
setProductSharePrice
(
orderItemResp
.
getProductSharePrice
());
productBean
.
setSettlementPrice
(
orderItemResp
.
getSettlementPrice
().
longValue
());
productBean
.
setSettlementPrice
(
orderItemResp
.
getSettlementPrice
().
longValue
());
productBean
.
setUnit
(
orderItemResp
.
getProductUnit
());
productBean
.
setUnit
(
orderItemResp
.
getProductUnit
());
Map
<
String
,
String
>
map
=
new
HashMap
<
String
,
String
>();
Map
<
String
,
String
>
map
=
new
HashMap
<
String
,
String
>();
map
.
put
(
"attributeNames"
,
orderItemResp
.
getProductProperty
());
map
.
put
(
"attributeNames"
,
orderItemResp
.
getProductProperty
());
map
.
put
(
"attributeForeignNames"
,
orderItemResp
.
getProductForeignProperty
());
productBean
.
setAddInfo
(
JSONObject
.
toJSONString
(
map
));
productBean
.
setAddInfo
(
JSONObject
.
toJSONString
(
map
));
productBean
.
setProductProperty
(
orderItemResp
.
getProductProperty
());
productBean
.
setProductProperty
(
orderItemResp
.
getProductProperty
());
productBean
.
setExtInfo
(
orderItemResp
.
getExtInfo
());
productBean
.
setExtInfo
(
orderItemResp
.
getExtInfo
());
...
...
order-application-service/src/main/java/cn/freemud/entities/dto/ProductGroupDto.java
View file @
62a1780a
...
@@ -32,6 +32,7 @@ public class ProductGroupDto {
...
@@ -32,6 +32,7 @@ public class ProductGroupDto {
private
Long
productFinalPrice
;
private
Long
productFinalPrice
;
private
String
productId
;
private
String
productId
;
private
String
productName
;
private
String
productName
;
private
String
productForeignName
;
private
Long
productPrice
;
private
Long
productPrice
;
private
Integer
sequence
;
private
Integer
sequence
;
private
Integer
status
;
private
Integer
status
;
...
...
order-application-service/src/main/java/cn/freemud/entities/vo/ProductVo.java
View file @
62a1780a
...
@@ -39,12 +39,22 @@ public class ProductVo {
...
@@ -39,12 +39,22 @@ public class ProductVo {
* 商品名称
* 商品名称
*/
*/
private
String
name
;
private
String
name
;
/**
* 商品名称
*/
private
String
foreignName
;
/**
/**
* 商品spu名称
* 商品spu名称
*/
*/
private
String
spuName
;
private
String
spuName
;
/**
/**
* 商品spu名称
*/
private
String
spuForeignName
;
/**
* 加购人ID
* 加购人ID
*/
*/
private
String
userId
;
private
String
userId
;
...
@@ -73,6 +83,9 @@ public class ProductVo {
...
@@ -73,6 +83,9 @@ public class ProductVo {
* 商品的规格信息加属性信息
* 商品的规格信息加属性信息
*/
*/
private
String
extras
;
private
String
extras
;
private
String
foreignExtras
;
/**
/**
* 标准价格 精确到分
* 标准价格 精确到分
*/
*/
...
...
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/request/OrderExtendedReq.java
View file @
62a1780a
...
@@ -22,4 +22,7 @@ public class OrderExtendedReq {
...
@@ -22,4 +22,7 @@ public class OrderExtendedReq {
//渠道分组编号
//渠道分组编号
private
String
orderClientGroupCode
;
private
String
orderClientGroupCode
;
//订单门店英文名称
private
String
storeNameEn
;
}
}
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/response/orderInfo/OrderInfoReqs.java
View file @
62a1780a
...
@@ -88,6 +88,9 @@ public class OrderInfoReqs {
...
@@ -88,6 +88,9 @@ public class OrderInfoReqs {
//门店名
//门店名
private
String
storeName
;
private
String
storeName
;
//门店英文名
private
String
storeNameEn
;
//门店全局唯一编号
//门店全局唯一编号
private
String
storeUnifyId
;
private
String
storeUnifyId
;
...
...
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/response/orderInfo/OrderItemResp.java
View file @
62a1780a
...
@@ -58,7 +58,8 @@ public class OrderItemResp {
...
@@ -58,7 +58,8 @@ public class OrderItemResp {
//商品规格名称
//商品规格名称
private
String
productSpecName
;
private
String
productSpecName
;
//商品规格英文名称
//商品规格英文名称
private
String
productSpecForeignName
;
private
String
productForeignSpecName
;
//商品UPC码
//商品UPC码
private
String
productUpc
;
private
String
productUpc
;
...
...
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