update:
1. 改为价格正序
This commit is contained in:
@@ -54,7 +54,7 @@ public class MallProductServiceImpl extends BaseServiceImpl<MallProductMapper, M
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<MallProductApiVO> apiVoList() {
|
public List<MallProductApiVO> apiVoList() {
|
||||||
List<MallProductEntity> list = list(Wrappers.<MallProductEntity>lambdaQuery().eq(MallProductEntity::getStatus, 1).eq(MallProductEntity::getIsDeleted, 0).orderByDesc(MallProductEntity::getRetailPrice));
|
List<MallProductEntity> list = list(Wrappers.<MallProductEntity>lambdaQuery().eq(MallProductEntity::getStatus, 1).eq(MallProductEntity::getIsDeleted, 0).orderByAsc(MallProductEntity::getRetailPrice));
|
||||||
return AppMallConvert.INSTANCE.convertMallProductApiListVO(list);
|
return AppMallConvert.INSTANCE.convertMallProductApiListVO(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user