购物车加入销量
This commit is contained in:
@@ -259,6 +259,7 @@ public class ListingMallServiceImpl extends ServiceImpl<ListingMallMapper, Listi
|
||||
vo.setProductCategory(entity.getProductCategory());
|
||||
vo.setShopName(designer != null ? designer.getShopName() : null);
|
||||
vo.setSellerId(entity.getSellerId());
|
||||
vo.setSalesVolume(entity.getSalesVolume());
|
||||
return vo;
|
||||
})
|
||||
.toList();
|
||||
|
||||
@@ -36,4 +36,7 @@ public class ListingMallVO implements Serializable {
|
||||
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long sellerId;
|
||||
|
||||
/** 销量 */
|
||||
private Integer salesVolume;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user