|
@@ -108,7 +108,7 @@ public class MusicGroupPaymentCalenderDetailServiceImpl extends BaseServiceImpl<
|
|
// }
|
|
// }
|
|
//为了解决学员欠费数量的问题,只要学员没有缴费就可以修改金额
|
|
//为了解决学员欠费数量的问题,只要学员没有缴费就可以修改金额
|
|
Set<Integer> studentIds = new HashSet<>();
|
|
Set<Integer> studentIds = new HashSet<>();
|
|
- calenderDetails.forEach(e->{
|
|
|
|
|
|
+ for (MusicGroupPaymentCalenderDetail e : calenderDetails) {
|
|
if(e.getPaymentStatus() == null || e.getPaymentStatus() != NON_PAYMENT){
|
|
if(e.getPaymentStatus() == null || e.getPaymentStatus() != NON_PAYMENT){
|
|
throw new BizException("修改失败:缴费状态不匹配");
|
|
throw new BizException("修改失败:缴费状态不匹配");
|
|
}
|
|
}
|