查询商品列表是增加库存大于0限制
This commit is contained in:
@@ -110,6 +110,7 @@ public class ShopProductLabelController {
|
||||
shopProductEntityMPJLambdaWrapper.eq(ShopProductToLabelEntity::getSplId,splId);
|
||||
shopProductEntityMPJLambdaWrapper.eq(ShopProductToLabelEntity::getDelFlag,0);
|
||||
shopProductEntityMPJLambdaWrapper.eq(ShopProduct::getDelFlag,0);
|
||||
shopProductEntityMPJLambdaWrapper.gt(ShopProduct::getProductStock,0);
|
||||
Page<ShopProduct> shopProductEntityPage = shopProductToLabelDao.selectJoinPage(new Page<ShopProduct>(page, limit), ShopProduct.class, shopProductEntityMPJLambdaWrapper);
|
||||
|
||||
return R.ok().put("page",shopProductEntityPage);
|
||||
|
||||
Reference in New Issue
Block a user