|
@@ -29,7 +29,7 @@ public interface ArticleMapper extends BaseMapperX<ArticleDO> {
|
|
|
.eqIfPresent(ArticleDO::getRecommendHot, reqVO.getRecommendHot())
|
|
|
.eqIfPresent(ArticleDO::getRecommendBanner, reqVO.getRecommendBanner())
|
|
|
.betweenIfPresent(ArticleDO::getCreateTime, reqVO.getCreateTime())
|
|
|
- .orderByDesc(ArticleDO::getId));
|
|
|
+ .orderByAsc(ArticleDO::getSort));
|
|
|
}
|
|
|
|
|
|
default List<ArticleDO> selectList(Boolean recommendHot, Boolean recommendBanner) {
|