|
@@ -114,7 +114,8 @@ public class UserExchangeController extends BaseApiController {
|
|
|
.eq(Goods::getStatus, GoodsStatusEnum.PUT_ON)
|
|
|
.eq(Goods::getExchangeShow, 1)
|
|
|
.in(!CollectionUtils.isEmpty(goodsIds), Goods::getGoodsId, goodsIds)
|
|
|
- .orderByDesc(Goods::getSortWeight));
|
|
|
+ .orderByDesc(Goods::getSortWeight)
|
|
|
+ .orderByAsc(Goods::getExchangePrice));
|
|
|
List<GoodsListVO> goodsListVOList = mapperFacade.mapAsList(goodsList, GoodsListVO.class);
|
|
|
TableDataInfo rspData = getDataTable(goodsList);
|
|
|
rspData.setRows(goodsListVOList);
|