|
@@ -62,14 +62,14 @@ public class MusicGroupPaymentCalenderController extends BaseController {
|
|
throw new BizException("缴费项不存在该学员,请联系教务老师");
|
|
throw new BizException("缴费项不存在该学员,请联系教务老师");
|
|
}
|
|
}
|
|
if(calenderDetail.getPaymentStatus() == PaymentStatus.PAID_COMPLETED){
|
|
if(calenderDetail.getPaymentStatus() == PaymentStatus.PAID_COMPLETED){
|
|
- throw new BizException("当前缴费项已缴费");
|
|
|
|
|
|
+ throw new BizException("您已缴费,请勿重复提交");
|
|
}else if(calenderDetail.getPaymentStatus() == PaymentStatus.PROCESSING){
|
|
}else if(calenderDetail.getPaymentStatus() == PaymentStatus.PROCESSING){
|
|
throw new BizException("当前缴费项存在待处理的订单,请稍候尝试");
|
|
throw new BizException("当前缴费项存在待处理的订单,请稍候尝试");
|
|
}
|
|
}
|
|
if(calender.getStatus() == PaymentCalenderStatusEnum.OPEN){
|
|
if(calender.getStatus() == PaymentCalenderStatusEnum.OPEN){
|
|
StudentRegistration studentRegistration = studentRegistrationService.queryByUserIdAndMusicGroupId(userId,musicGroupId);
|
|
StudentRegistration studentRegistration = studentRegistrationService.queryByUserIdAndMusicGroupId(userId,musicGroupId);
|
|
if (studentRegistration == null) {
|
|
if (studentRegistration == null) {
|
|
- return failed("乐团报名信息找不到");
|
|
|
|
|
|
+ return failed("乐团报名信息不存在");
|
|
}
|
|
}
|
|
List<MusicGroupPaymentCalenderCourseSettings> calenderCourseSettings = musicGroupPaymentCalenderCourseSettingsDao.queryCalenderCourseSettings(calenderId);
|
|
List<MusicGroupPaymentCalenderCourseSettings> calenderCourseSettings = musicGroupPaymentCalenderCourseSettingsDao.queryCalenderCourseSettings(calenderId);
|
|
ModelMap model = new ModelMap();
|
|
ModelMap model = new ModelMap();
|