|
@@ -21,7 +21,7 @@ public interface GoodsMapper extends BaseMapperX<GoodsDO> {
|
|
.eqIfPresent(GoodsDO::getSn, params.getSn())
|
|
.eqIfPresent(GoodsDO::getSn, params.getSn())
|
|
.eqIfPresent(GoodsDO::getName, params.getName())
|
|
.eqIfPresent(GoodsDO::getName, params.getName())
|
|
.eqIfPresent(GoodsDO::getCategoryId, params.getCategoryId())
|
|
.eqIfPresent(GoodsDO::getCategoryId, params.getCategoryId())
|
|
- .orderByDesc(GoodsDO::getSort)
|
|
|
|
|
|
+ .orderByAsc(GoodsDO::getSn)
|
|
.page(params);
|
|
.page(params);
|
|
}
|
|
}
|
|
|
|
|