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
287aa839
Commit
287aa839
authored
Jun 08, 2021
by
张跃
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组织id
parent
0ea70850
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
shopping-cart-application-service/src/main/java/cn/freemud/service/CommonService.java
+1
-1
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartNewServiceImpl.java
+1
-1
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/service/CommonService.java
View file @
287aa839
...
@@ -68,7 +68,7 @@ public interface CommonService {
...
@@ -68,7 +68,7 @@ public interface CommonService {
if
(
CollectionUtils
.
isEmpty
(
orgResponseList
)){
if
(
CollectionUtils
.
isEmpty
(
orgResponseList
)){
return
null
;
return
null
;
}
}
return
orgResponseList
.
stream
().
map
(
org
->
org
.
getOrganization
Id
()).
collect
(
Collectors
.
toList
());
return
orgResponseList
.
stream
().
map
(
org
->
org
.
getOrganization
Code
()).
collect
(
Collectors
.
toList
());
}
}
return
null
;
return
null
;
}
}
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartNewServiceImpl.java
View file @
287aa839
...
@@ -2952,7 +2952,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
...
@@ -2952,7 +2952,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
Integer
orderType
=
requestVo
.
getOrderType
();
Integer
orderType
=
requestVo
.
getOrderType
();
CouponAvailableCartInfo
couponAvailableCartInfo
;
CouponAvailableCartInfo
couponAvailableCartInfo
;
List
<
String
>
orgCodes
=
commonService
.
getOrg
Codes
(
partnerId
,
storeId
);
List
<
String
>
orgCodes
=
commonService
.
getOrg
IdsForCoupon
(
partnerId
,
storeId
);
// 获取购物车商品
// 获取购物车商品
List
<
CartGoods
>
cartGoodsList
=
assortmentSdkService
.
getShoppingCartForCoupon
(
partnerId
,
requestVo
.
getStoreId
(),
userId
,
""
,
shoppingCartBaseService
);
List
<
CartGoods
>
cartGoodsList
=
assortmentSdkService
.
getShoppingCartForCoupon
(
partnerId
,
requestVo
.
getStoreId
(),
userId
,
""
,
shoppingCartBaseService
);
if
(
grayPush
(
partnerId
,
storeId
,
"2"
))
{
if
(
grayPush
(
partnerId
,
storeId
,
"2"
))
{
...
...
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