|
@@ -1421,7 +1421,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
}
|
|
|
|
|
|
int studentCourseNum = classGroupStudentMapperDao.countClassGroupNormalStudentNum(classGroup.getId());
|
|
|
- if(studentCourseNum<=0){
|
|
|
+ if(studentCourseNum<=0&&classGroup.getStudentNum().equals(classGroup.getExpectStudentNum())){
|
|
|
vipGroup.setStatus(VipGroupStatusEnum.PAUSE);
|
|
|
if(!CollectionUtils.isEmpty(courseScheduleIds)){
|
|
|
courseScheduleTeacherSalaryDao.batchDeleteByCourseScheduleIds(courseScheduleIds);
|