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
jenkins
order-group
Commits
a1bafd54
Commit
a1bafd54
authored
Jan 10, 2020
by
姜海波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
businessType =》 menuType
parent
a88e8cd6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/request/GetProductInfoRequest.java
+1
-1
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/service/ShoppingCartBaseService.java
+1
-1
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/AssortmentSdkService.java
+1
-1
No files found.
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/request/GetProductInfoRequest.java
View file @
a1bafd54
...
@@ -27,6 +27,6 @@ public class GetProductInfoRequest {
...
@@ -27,6 +27,6 @@ public class GetProductInfoRequest {
String
trackingNo
;
String
trackingNo
;
String
business
Type
;
String
menu
Type
;
}
}
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/service/ShoppingCartBaseService.java
View file @
a1bafd54
...
@@ -106,7 +106,7 @@ public interface ShoppingCartBaseService {
...
@@ -106,7 +106,7 @@ public interface ShoppingCartBaseService {
getProductInfoDto
.
setShopId
(
getProductInfoRequest
.
getStoreId
());
getProductInfoDto
.
setShopId
(
getProductInfoRequest
.
getStoreId
());
getProductInfoDto
.
setProductInfoType
(
2
);
getProductInfoDto
.
setProductInfoType
(
2
);
getProductInfoDto
.
setProductIds
(
goodsIds
);
getProductInfoDto
.
setProductIds
(
goodsIds
);
getProductInfoDto
.
setChannel
(
getProductInfoRequest
.
get
Business
Type
());
getProductInfoDto
.
setChannel
(
getProductInfoRequest
.
get
Menu
Type
());
ProductService
productService
=
SDKCommonBaseContextWare
.
getBean
(
ProductService
.
class
);
ProductService
productService
=
SDKCommonBaseContextWare
.
getBean
(
ProductService
.
class
);
com
.
freemud
.
application
.
sdk
.
api
.
base
.
BaseResponse
<
ProductInfosDTO
>
productInfosDTOBaseResponse
=
productService
.
listProductInfoByIdList
(
getProductInfoDto
,
LogThreadLocal
.
getTrackingNo
());
com
.
freemud
.
application
.
sdk
.
api
.
base
.
BaseResponse
<
ProductInfosDTO
>
productInfosDTOBaseResponse
=
productService
.
listProductInfoByIdList
(
getProductInfoDto
,
LogThreadLocal
.
getTrackingNo
());
if
(!
Objects
.
equals
(
ResponseResultEnum
.
SUCCESS
.
getCode
(),
productInfosDTOBaseResponse
.
getCode
())
||
productInfosDTOBaseResponse
.
getData
()
==
null
)
{
if
(!
Objects
.
equals
(
ResponseResultEnum
.
SUCCESS
.
getCode
(),
productInfosDTOBaseResponse
.
getCode
())
||
productInfosDTOBaseResponse
.
getData
()
==
null
)
{
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/AssortmentSdkService.java
View file @
a1bafd54
...
@@ -169,7 +169,7 @@ public class AssortmentSdkService {
...
@@ -169,7 +169,7 @@ public class AssortmentSdkService {
request
.
setPartnerId
(
partnerId
);
request
.
setPartnerId
(
partnerId
);
request
.
setStoreId
(
storeId
);
request
.
setStoreId
(
storeId
);
request
.
setTrackingNo
(
LogThreadLocal
.
getTrackingNo
());
request
.
setTrackingNo
(
LogThreadLocal
.
getTrackingNo
());
request
.
set
Business
Type
(
BusinessTypeEnum
.
getByType
(
menuType
).
getCode
());
request
.
set
Menu
Type
(
BusinessTypeEnum
.
getByType
(
menuType
).
getCode
());
BaseResponse
<
List
<
ProductBeanDTO
>>
baseResponse
=
BaseResponse
<
List
<
ProductBeanDTO
>>
baseResponse
=
shoppingCartService
.
getProductsInfo
(
request
);
shoppingCartService
.
getProductsInfo
(
request
);
if
(
baseResponse
==
null
||
!
ResponseResult
.
SUCCESS
.
getCode
().
equals
(
baseResponse
.
getCode
())
||
CollectionUtils
.
isEmpty
(
baseResponse
.
getResult
()))
{
if
(
baseResponse
==
null
||
!
ResponseResult
.
SUCCESS
.
getCode
().
equals
(
baseResponse
.
getCode
())
||
CollectionUtils
.
isEmpty
(
baseResponse
.
getResult
()))
{
...
...
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