|
|
@@ -410,14 +410,13 @@ public class CartServiceImpl implements CartService {
|
|
|
*/
|
|
|
@Override
|
|
|
public Page<Cart> findPageInfoByUu(final PageInfo info) {
|
|
|
+ Long uu = SystemSession.getUser().getUserUU();
|
|
|
+ info.filter("uu", uu);
|
|
|
if (SystemSession.getUser().getEnterprise() != null) {
|
|
|
info.filter("enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
} else {
|
|
|
info.filter("dissociative", Type.PERSONAL.value());
|
|
|
}
|
|
|
-
|
|
|
- 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(Sort.Direction.DESC, "storeUuid", "id");
|