|
@@ -1532,6 +1532,12 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
if (musicGroupStudentFee == null) {
|
|
|
throw new BizException("个人续费信息错误");
|
|
|
}
|
|
|
+
|
|
|
+ StudentRegistration studentRegistration = studentRegistrationService.queryByUserIdAndMusicGroupId(userId, musicGroupId);
|
|
|
+ if(studentRegistration == null || studentRegistration.getPaymentStatus() != PaymentStatusEnum.YES){
|
|
|
+ throw new BizException("请走报名缴费流程");
|
|
|
+ }
|
|
|
+
|
|
|
//判断是否是续费
|
|
|
/*List<StudentPaymentOrder> orderList = studentPaymentOrderDao.queryByCondition(GroupType.MUSIC, musicGroupId, userId, DealStatusEnum.SUCCESS);
|
|
|
if (orderList == null || orderList.size() == 0) {
|