bug
This commit is contained in:
@@ -38,6 +38,7 @@ public class ShopProductServiceImpl extends ServiceImpl<ShopProductDao, ShopProd
|
||||
wrapper.selectAll(ShopProduct.class);
|
||||
wrapper.leftJoin(ShopProductToSociologyMarket.class,ShopProductToSociologyMarket::getProductId,ShopProduct::getProductId);
|
||||
wrapper.eq(ShopProductToSociologyMarket::getSociologyMarketId,param.getId());
|
||||
wrapper.orderByAsc(ShopProductToSociologyMarket::getSort);
|
||||
Page<ShopProduct> shopProductPage = this.getBaseMapper().selectJoinPage(new Page<>(param.getPage(), param.getLimit()), ShopProduct.class, wrapper);
|
||||
return shopProductPage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user