Commit 1389e782 by 缪晖

清除自己的购物车调整

parent 773ff967
......@@ -1072,17 +1072,17 @@ public class ShoppingCartCollageServiceImpl extends AbstractShoppingCartImpl imp
throw new ServiceException(ResponseResult.COLLAGE_NOT_EXIST);
}
// 校验用户选好了状态
// 只有用户不是选好了状态的时候才能更改购物车
// 校验用户是否在拼单内
CollageOrderDto collageOrderDto = CollageOrderDto.builder()
.sessionId("")
.createCollageUserId(crateUserId)
.partnerId(partnerId)
.storeId(storeId)
.currentUserId(currentUserId)
.build();
Boolean flag = collageOrderBaseService.isInCollagePartnerMemberList(collageOrderDto);
if(flag){
throw new ServiceException(ResponseResult.COLLAGE_ALREADY_CHOOSE);
if(!flag){
throw new ServiceException(ResponseResult.COLLAGE_NOT_ADD);
}
List<CartGoods> cartGoodsList = new ArrayList<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment