1. 改为价格正序
This commit is contained in:
2026-02-06 12:07:00 +08:00
parent bd6dcedc0f
commit 63fed8b70b

View File

@@ -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);
} }