商品分组排序需求
This commit is contained in:
@@ -50,7 +50,7 @@ public class ProdGroup implements Serializable {
|
||||
*/
|
||||
private Integer sort;
|
||||
/**
|
||||
* 排序方式 0-默认; 1-价格从高到低; 2-销量由高到低;
|
||||
* 排序方式 0-默认; 1-价格从高到低; 2-价格从低到高; 3-销量由高到低;
|
||||
*/
|
||||
private String sortMode;
|
||||
/**
|
||||
|
||||
@@ -56,8 +56,9 @@ public interface ProdGroupService extends IService<ProdGroup> {
|
||||
* 更新商品分组
|
||||
*
|
||||
* @param dto 商品分组DTO
|
||||
* @param isUpdateProduct 是否需要修改分组下的商品
|
||||
*/
|
||||
void updateProdGroup(ProdGroupDTO dto);
|
||||
void updateProdGroup(ProdGroupDTO dto,boolean isUpdateProduct);
|
||||
|
||||
/**
|
||||
* 禁用商品分组
|
||||
|
||||
@@ -109,4 +109,8 @@ public class ShopProductVo implements Serializable {
|
||||
* 排序
|
||||
*/
|
||||
private Integer sort;
|
||||
/**
|
||||
* 销量
|
||||
*/
|
||||
private BigDecimal salesVolume;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user