|
@@ -3163,7 +3163,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
return BaseController.failed(HttpStatus.DESTINATION_LOCKED, "此课程组已过期,请重新购买");
|
|
|
}
|
|
|
if(!practiceGroup.getGroupStatus().equals(GroupStatusEnum.LOCK)){
|
|
|
- throw new BizException("此课程组订单正在支付中");
|
|
|
+ return BaseController.failed(HttpStatus.DESTINATION_LOCKED, "此课程组订单正在支付中");
|
|
|
}
|
|
|
List<StudentPaymentOrder> userGroupOrders = studentPaymentOrderDao.findUserGroupOrders(userId, practiceGroupId.toString(), GroupType.PRACTICE,null);
|
|
|
Map<DealStatusEnum, List<StudentPaymentOrder>> statusOrderMap = userGroupOrders.stream().collect(Collectors.groupingBy(StudentPaymentOrder::getStatus));
|