This commit is contained in:
wangjinlei
2023-09-20 15:12:14 +08:00
parent 4f614135a5
commit f0f7e3827a

View File

@@ -219,6 +219,10 @@ public class ShopProductController {
//获取此商品下的books
List<Integer> ids = shopProudictBookService.getBookidsByProductId(productId);
if(ids.size()==0){
return R.ok();
}
List<ShopProudictBookEntity> ss = shopProudictBookService.getBaseMapper().selectList(new QueryWrapper<ShopProudictBookEntity>()
.eq("del_flag",0)
.in("book_id",ids)