|
@@ -1673,7 +1673,7 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
if (ObjectUtils.isNull(user)){
|
|
|
throw new CustomException("用户不存在,请检查!");
|
|
|
}
|
|
|
- OrderGoods orderGoods = iOrderGoodsService.getById(bo.getGoodsId());
|
|
|
+ OrderGoods orderGoods = iOrderGoodsService.getById(bo.getOrderGoodsId());
|
|
|
if (ObjectUtils.isNull(orderGoods)){
|
|
|
throw new CustomException("订单不存在,请检查!");
|
|
|
}
|