|
@@ -1564,7 +1564,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
List<StudentRegistration> registrations = studentRegistrationDao.findStudentListByUserIdList(musicGroupId, userIds);
|
|
|
for (StudentRegistration registration : registrations) {
|
|
|
if(registration.getPaymentStatus().equals(PaymentStatusEnum.OPEN)||registration.getPaymentStatus().equals(PaymentStatusEnum.YES)){
|
|
|
- throw new BizException("开启缴费/已缴费的学员不能删除");
|
|
|
+ throw new BizException(registration.getName()+"("+registration.getPaymentStatus().getDesc()+"),不能删除");
|
|
|
}
|
|
|
}
|
|
|
if (registrations.size() <= 0) {
|