|
@@ -353,7 +353,7 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
|
|
|
// 判断缴费开始时间、结束时间是否被其他缴费记录占用
|
|
|
// int count = musicGroupPaymentCalenderDao.queryIntersectionByPaymentDate(calender.getMusicGroupId(), startTime,endTime);
|
|
|
int count = musicGroupPaymentCalenderDao.queryIntersectionByDate(calender.getMusicGroupId(), startTime,endTime);
|
|
|
- if (count > 1) {
|
|
|
+ if (count > 0) {
|
|
|
throw new BizException("缴费时间存在冲突,请修改缴费开始日期");
|
|
|
}
|
|
|
calender.setStartPaymentDate(startTime);
|