|
@@ -75,7 +75,8 @@ public class UserExchangeController extends BaseApiController {
|
|
|
startPage();
|
|
|
List<Goods> goodsList = goodsService.list(new LambdaQueryWrapper<Goods>()
|
|
|
.eq(null != goods.getCategoryId() && 0 != goods.getCategoryId(), Goods::getCategoryId, goods.getCategoryId())
|
|
|
- .eq(Goods::getStatus, GoodsStatusEnum.PUT_ON));
|
|
|
+ .eq(Goods::getStatus, GoodsStatusEnum.PUT_ON)
|
|
|
+ .eq(Goods::getExchangeShow, 1));
|
|
|
List<GoodsListVO> goodsListVOList = mapperFacade.mapAsList(goodsList, GoodsListVO.class);
|
|
|
TableDataInfo rspData = getDataTable(goodsList);
|
|
|
rspData.setRows(goodsListVOList);
|