|
@@ -315,12 +315,12 @@ public class MusicGroupController extends BaseController {
|
|
|
|
|
|
Integer userId = studentRegistration.getUserId();
|
|
|
|
|
|
- StudentPaymentOrder ApplyOrder = studentPaymentOrderService.findMusicGroupApplyOrderByStatus(userId, studentRegistration.getMusicGroupId(), DealStatusEnum.SUCCESS);
|
|
|
+ /*StudentPaymentOrder ApplyOrder = studentPaymentOrderService.findMusicGroupApplyOrderByStatus(userId, studentRegistration.getMusicGroupId(), DealStatusEnum.SUCCESS);
|
|
|
if (ApplyOrder != null) {
|
|
|
return failed("您已支付成功,请勿重复支付");
|
|
|
- }
|
|
|
+ }*/
|
|
|
//判断用户是否已存在订单
|
|
|
- ApplyOrder = studentPaymentOrderService.findMusicGroupApplyOrderByStatus(userId, studentRegistration.getMusicGroupId(), DealStatusEnum.ING);
|
|
|
+ StudentPaymentOrder ApplyOrder = studentPaymentOrderService.findMusicGroupApplyOrderByStatus(userId, studentRegistration.getMusicGroupId(), DealStatusEnum.ING);
|
|
|
if (ApplyOrder != null) {
|
|
|
return failed(HttpStatus.CONTINUE, "您有待支付的订单");
|
|
|
}
|