|
@@ -86,6 +86,8 @@ public class CartClubServiceImpl implements CartClubService {
|
|
|
if (null != shopInfoList && shopInfoList.size()>0) {
|
|
|
// 遍历供应商列表
|
|
|
shopInfoList.forEach(shop -> {
|
|
|
+ // 默认未选中状态(前端要求)
|
|
|
+ shop.setIsChecked(false);
|
|
|
// 该供应商下商品种类
|
|
|
AtomicInteger shopKindCount = new AtomicInteger(0);
|
|
|
// 该供应商总价
|
|
@@ -107,7 +109,7 @@ public class CartClubServiceImpl implements CartClubService {
|
|
|
if (cartItemVo.getValidFlag() == 2) {
|
|
|
// 设置商品有效
|
|
|
cartItemVo.setStatus(0);
|
|
|
- // 默认所有商品选中状态
|
|
|
+ // 默认所有商品未选中状态(前端要求)
|
|
|
cartItemVo.setIsChecked(false);
|
|
|
// 价格是否可见
|
|
|
boolean priceVisible = (cartItemVo.getPriceFlag() == 0 || (cartItemVo.getPriceFlag() == 2 && userIdentity == 2));
|