bug
This commit is contained in:
@@ -35,7 +35,7 @@ public class TaihuWelfareServiceImpl extends ServiceImpl<TaihuWelfareDao, TaihuW
|
||||
wrapper.leftJoin(ShopProduct.class,ShopProduct::getProductId,ShopStoreToProductEntity::getProductId);
|
||||
wrapper.eq(ShopStoreToProductEntity::getStoreId,1);
|
||||
wrapper.orderByAsc(ShopStoreToProductEntity::getSort);
|
||||
Page<ShopStoreToProductEntity> shopStoreToProductEntityPage = shopStoreToProductDao.selectPage(new Page<>(param.getPage(), param.getLimit()), wrapper);
|
||||
return R.ok().put("page",shopStoreToProductEntityPage);
|
||||
Page<ShopProduct> shopProductPage = shopStoreToProductDao.selectJoinPage(new Page<>(param.getPage(), param.getLimit()), ShopProduct.class, wrapper);
|
||||
return R.ok().put("page",shopProductPage);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user