购物车加入销量

This commit is contained in:
litianxiang
2026-05-27 11:31:56 +08:00
parent 60ac110497
commit 86dadb3dce
2 changed files with 4 additions and 0 deletions

View File

@@ -259,6 +259,7 @@ public class ListingMallServiceImpl extends ServiceImpl<ListingMallMapper, Listi
vo.setProductCategory(entity.getProductCategory()); vo.setProductCategory(entity.getProductCategory());
vo.setShopName(designer != null ? designer.getShopName() : null); vo.setShopName(designer != null ? designer.getShopName() : null);
vo.setSellerId(entity.getSellerId()); vo.setSellerId(entity.getSellerId());
vo.setSalesVolume(entity.getSalesVolume());
return vo; return vo;
}) })
.toList(); .toList();

View File

@@ -36,4 +36,7 @@ public class ListingMallVO implements Serializable {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long sellerId; private Long sellerId;
/** 销量 */
private Integer salesVolume;
} }