店铺列表顺序修改

This commit is contained in:
张松
2025-03-03 11:04:06 +08:00
parent 4040919e9d
commit 0409cda25a
2 changed files with 2 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ public class ShopInfoServiceImpl extends ServiceImpl<ShopInfoMapper, ShopInfo> i
if (status != null) {
queryWrapper.eq(ShopInfo::getStatus, status);
}
queryWrapper.orderBy(ShopInfo::getCreateTime, false);
return page(new Page<>(pageDTO.page(), pageDTO.size()), queryWrapper);
}