|
|
@@ -396,8 +396,9 @@ public class CartServiceImpl implements CartService {
|
|
|
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
Map<String, List<Cart>> contentMap = new HashMap<>();
|
|
|
- info.sorting("storeUuid", Sort.Direction.DESC);
|
|
|
- info.sorting("id", Sort.Direction.DESC);
|
|
|
+// info.sorting("storeUuid", Sort.Direction.DESC);
|
|
|
+// info.sorting("id", Sort.Direction.DESC);
|
|
|
+ info.sorting(Sort.Direction.DESC, "storeUuid", "id");
|
|
|
// 获取当前页的购物车记录信息
|
|
|
Page<Cart> carts = cartDao.findAll(new Specification<Cart>() {
|
|
|
@Override
|