|
@@ -834,6 +834,9 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
if (payStatus == PayStatus.SUCCESSED) {
|
|
|
throw new BizException("订单已支付成功,请勿重复支付");
|
|
|
}
|
|
|
+ if (payStatus == PayStatus.PAYING) {
|
|
|
+ throw new BizException("有一笔支付中的订单,请勿重复支付");
|
|
|
+ }
|
|
|
if (!repeatPay) {
|
|
|
return BaseController.failed(HttpStatus.CONTINUE, "您有待支付的订单,是否继续支付");
|
|
|
}
|