|
@@ -885,6 +885,9 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
if (studentPaymentOrders != null && studentPaymentOrders.size() > 0) {
|
|
|
throw new BizException("缴费存在交易中的数据,不能取消乐团");
|
|
|
}
|
|
|
+
|
|
|
+ //删除续费记录
|
|
|
+ musicGroupStudentFeeDao.deleteByMusicGroupId(musicGroupId);
|
|
|
|
|
|
// 查询已缴费信息
|
|
|
studentPaymentOrders = studentPaymentOrderDao.queryByDealStatus(musicGroupId, OrderTypeEnum.APPLY, DealStatusEnum.SUCCESS);
|