新版
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user