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
1389e782
Commit
1389e782
authored
Dec 01, 2020
by
缪晖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
清除自己的购物车调整
parent
773ff967
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartCollageServiceImpl.java
+4
-4
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartCollageServiceImpl.java
View file @
1389e782
...
@@ -1072,17 +1072,17 @@ public class ShoppingCartCollageServiceImpl extends AbstractShoppingCartImpl imp
...
@@ -1072,17 +1072,17 @@ public class ShoppingCartCollageServiceImpl extends AbstractShoppingCartImpl imp
throw
new
ServiceException
(
ResponseResult
.
COLLAGE_NOT_EXIST
);
throw
new
ServiceException
(
ResponseResult
.
COLLAGE_NOT_EXIST
);
}
}
// 校验用户选好了状态
// 校验用户是否在拼单内
// 只有用户不是选好了状态的时候才能更改购物车
CollageOrderDto
collageOrderDto
=
CollageOrderDto
.
builder
()
CollageOrderDto
collageOrderDto
=
CollageOrderDto
.
builder
()
.
sessionId
(
""
)
.
sessionId
(
""
)
.
createCollageUserId
(
crateUserId
)
.
createCollageUserId
(
crateUserId
)
.
partnerId
(
partnerId
)
.
partnerId
(
partnerId
)
.
storeId
(
storeId
)
.
storeId
(
storeId
)
.
currentUserId
(
currentUserId
)
.
build
();
.
build
();
Boolean
flag
=
collageOrderBaseService
.
isInCollagePartnerMemberList
(
collageOrderDto
);
Boolean
flag
=
collageOrderBaseService
.
isInCollagePartnerMemberList
(
collageOrderDto
);
if
(
flag
){
if
(
!
flag
){
throw
new
ServiceException
(
ResponseResult
.
COLLAGE_
ALREADY_CHOOSE
);
throw
new
ServiceException
(
ResponseResult
.
COLLAGE_
NOT_ADD
);
}
}
List
<
CartGoods
>
cartGoodsList
=
new
ArrayList
<>();
List
<
CartGoods
>
cartGoodsList
=
new
ArrayList
<>();
...
...
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