@@ -125,7 +125,7 @@ public class OrderGoodsServiceImpl extends ServiceImpl<OrderGoodsMapper, OrderGo
throw new CustomException("参数错误");
}
OrderGoods db = this.baseMapper.selectById(bo.getOrderGoodsId());
- if(db.getStatus()==0){
+ if(db.getStatus()==0||db.getRefundStatus()>0||db.getPayStatus()==1){
throw new CustomException("无法操作");