|
@@ -215,16 +215,16 @@ public class MusicGroupPaymentCalenderDetailServiceImpl extends BaseServiceImpl<
|
|
|
if(calender == null){
|
|
|
throw new BizException("缴费信息不存在");
|
|
|
}
|
|
|
- MusicGroupPaymentCalenderDetail userLastCalenderDetail = musicGroupPaymentCalenderDetailDao.getUserLastCalenderDetail(calender.getMusicGroupId(), userId);
|
|
|
+ /*MusicGroupPaymentCalenderDetail userLastCalenderDetail = musicGroupPaymentCalenderDetailDao.getUserLastCalenderDetail(calender.getMusicGroupId(), userId);
|
|
|
if(userLastCalenderDetail != null){
|
|
|
throw new BizException("缴费信息已存在");
|
|
|
- }
|
|
|
+ }*/
|
|
|
Date date = new Date();
|
|
|
- Integer countOpenPayment = musicGroupPaymentCalenderDetailDao.countOpenPayment(calender.getMusicGroupId(), userId);
|
|
|
+// Integer countOpenPayment = musicGroupPaymentCalenderDetailDao.countOpenPayment(calender.getMusicGroupId(), userId);
|
|
|
MusicGroupStudentFee studentFee = musicGroupStudentFeeDao.findByUser(userId, calender.getMusicGroupId());
|
|
|
- if(countOpenPayment > 0){
|
|
|
+ /*if(countOpenPayment > 0){
|
|
|
throw new BizException("操作失败: 学员有未完成的缴费");
|
|
|
- }
|
|
|
+ }*/
|
|
|
calender.setUpdateTime(date);
|
|
|
//生成详情
|
|
|
MusicGroupPaymentCalenderDetail musicGroupPaymentCalenderDetail = new MusicGroupPaymentCalenderDetail();
|