|
@@ -3158,7 +3158,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
if(Objects.isNull(practiceGroupId)){
|
|
|
throw new BizException("请指定需要重新支付的课程组");
|
|
|
}
|
|
|
- PracticeGroup practiceGroup = practiceGroupDao.get(practiceGroupId.longValue());
|
|
|
+ PracticeGroup practiceGroup = practiceGroupDao.lockPracticeGroup(practiceGroupId);
|
|
|
if(Objects.isNull(practiceGroup)){
|
|
|
throw new BizException("此课程组已过期,请重新购买");
|
|
|
}
|