---快递发货问题和取消面单接口
This commit is contained in:
@@ -71,4 +71,16 @@ public class ShopProudictBookServiceImpl extends ServiceImpl<ShopProudictBookDa
|
||||
shopProductEntity.setBookidsimages(prList);
|
||||
return prLists;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Integer> getBookidsByProductId(Integer productId) {
|
||||
List<ShopProudictBookEntity> spbs = this.list(new QueryWrapper<ShopProudictBookEntity>().eq("del_flag",0).eq("proudict_id",productId));
|
||||
List<Integer> ids = new ArrayList();
|
||||
for (ShopProudictBookEntity s : spbs){
|
||||
ids.add(s.getBookId());
|
||||
}
|
||||
return ids;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user