|  | @@ -668,7 +668,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  							}
 | 
	
		
			
				|  |  |  							Integer vipGroupActivityId = practiceGroup.getVipGroupActivityId();
 | 
	
		
			
				|  |  |  							if(vipGroupActivityId != null){
 | 
	
		
			
				|  |  | -								ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(practiceGroup.getId(),"PRACTICE");
 | 
	
		
			
				|  |  | +								ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(practiceGroup.getId(),"PRACTICE",null);
 | 
	
		
			
				|  |  |  								if(activityUserMapper != null){
 | 
	
		
			
				|  |  |  									Map<String, BigDecimal> map = practiceGroupService.countPracticeGroupPredictFee1(practiceGroup, cgtm.getUserId());
 | 
	
		
			
				|  |  |  									if(practiceGroup.getId().equals(activityUserMapper.getPracticeGroupId())){
 | 
	
	
		
			
				|  | @@ -2794,7 +2794,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  					Integer allowOnlineToOffline = 0;
 | 
	
		
			
				|  |  |  					if(Objects.nonNull(vipGroupActivity)){
 | 
	
		
			
				|  |  |  						allowOnlineToOffline = vipGroupActivity.getAllowOnlineToOffline();
 | 
	
		
			
				|  |  | -						ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(vipGroup.getId(), "VIP");
 | 
	
		
			
				|  |  | +						ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(vipGroup.getId(), "VIP",null);
 | 
	
		
			
				|  |  |  						if(activityUserMapper != null){
 | 
	
		
			
				|  |  |  							if(vipGroup.getId().equals(activityUserMapper.getGiveVipGroupId())){
 | 
	
		
			
				|  |  |  								allowOnlineToOffline = vipGroupActivity.getGiveAllowOnlineToOffline();
 | 
	
	
		
			
				|  | @@ -3009,7 +3009,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  				Integer allowOnlineToOffline = 0;
 | 
	
		
			
				|  |  |  				if(Objects.nonNull(vipGroupActivity)){
 | 
	
		
			
				|  |  |  					allowOnlineToOffline = vipGroupActivity.getAllowOnlineToOffline();
 | 
	
		
			
				|  |  | -					ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(vipGroup.getId(), "VIP");
 | 
	
		
			
				|  |  | +					ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(vipGroup.getId(), "VIP",null);
 | 
	
		
			
				|  |  |  					if(activityUserMapper != null){
 | 
	
		
			
				|  |  |  						if(vipGroup.getId().equals(activityUserMapper.getGiveVipGroupId())){
 | 
	
		
			
				|  |  |  							allowOnlineToOffline = vipGroupActivity.getGiveAllowOnlineToOffline();
 | 
	
	
		
			
				|  | @@ -3463,7 +3463,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  				Integer allowOnlineToOffline = 0;
 | 
	
		
			
				|  |  |  				if(Objects.nonNull(vipGroupActivity)){
 | 
	
		
			
				|  |  |  					allowOnlineToOffline = vipGroupActivity.getAllowOnlineToOffline();
 | 
	
		
			
				|  |  | -					ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(vipGroup.getId(), "VIP");
 | 
	
		
			
				|  |  | +					ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(vipGroup.getId(), "VIP",null);
 | 
	
		
			
				|  |  |  					if(activityUserMapper != null){
 | 
	
		
			
				|  |  |  						if(vipGroup.getId().equals(activityUserMapper.getGiveVipGroupId())){
 | 
	
		
			
				|  |  |  							allowOnlineToOffline = vipGroupActivity.getGiveAllowOnlineToOffline();
 | 
	
	
		
			
				|  | @@ -3810,7 +3810,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  							Map<String, BigDecimal> salaryMap = vipGroupService.countVipGroupPredictFee1(vipGroup, teacherId, ts.getCourseScheduleId());
 | 
	
		
			
				|  |  |  							BigDecimal teacherSalary = salaryMap.get("offlineTeacherSalary");
 | 
	
		
			
				|  |  |  							//是否是赠送课程
 | 
	
		
			
				|  |  | -							ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(vipGroup.getId(),"VIP");
 | 
	
		
			
				|  |  | +							ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(vipGroup.getId(),"VIP",null);
 | 
	
		
			
				|  |  |  							if(activityUserMapper != null){
 | 
	
		
			
				|  |  |  								if(vipGroup.getId().equals(activityUserMapper.getGiveVipGroupId())){
 | 
	
		
			
				|  |  |  									teacherSalary = salaryMap.get("giveOfflineTeacherSalary");
 | 
	
	
		
			
				|  | @@ -3839,7 +3839,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  							if(practiceGroup != null){
 | 
	
		
			
				|  |  |  								Integer vipGroupActivityId = practiceGroup.getVipGroupActivityId();
 | 
	
		
			
				|  |  |  								if(vipGroupActivityId != null){
 | 
	
		
			
				|  |  | -									ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(practiceGroup.getId(),"PRACTICE");
 | 
	
		
			
				|  |  | +									ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(practiceGroup.getId(),"PRACTICE",null);
 | 
	
		
			
				|  |  |  									if(activityUserMapper != null){
 | 
	
		
			
				|  |  |  										Map<String, BigDecimal> map = practiceGroupService.countPracticeGroupPredictFee1(practiceGroup, ts.getUserId());
 | 
	
		
			
				|  |  |  										if(practiceGroup.getId().equals(activityUserMapper.getPracticeGroupId())){
 | 
	
	
		
			
				|  | @@ -4044,7 +4044,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  					Map<String, BigDecimal> salaryMap = vipGroupService.countVipGroupPredictFee1(byCourseSchedule, newCourseSchedule.getActualTeacherId(), newCourseSchedule.getId());
 | 
	
		
			
				|  |  |  					BigDecimal teacherSalary = salaryMap.get("offlineTeacherSalary");
 | 
	
		
			
				|  |  |  					//是否是赠送课程
 | 
	
		
			
				|  |  | -					ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(byCourseSchedule.getId(),"VIP");
 | 
	
		
			
				|  |  | +					ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(byCourseSchedule.getId(),"VIP",null);
 | 
	
		
			
				|  |  |  					if(activityUserMapper != null){
 | 
	
		
			
				|  |  |  						if(byCourseSchedule.getId().equals(activityUserMapper.getGiveVipGroupId())){
 | 
	
		
			
				|  |  |  							teacherSalary = salaryMap.get("giveOfflineTeacherSalary");
 | 
	
	
		
			
				|  | @@ -5131,7 +5131,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  		if(practiceGroup != null){
 | 
	
		
			
				|  |  |  			Integer vipGroupActivityId = practiceGroup.getVipGroupActivityId();
 | 
	
		
			
				|  |  |  			if(vipGroupActivityId != null){
 | 
	
		
			
				|  |  | -				ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(practiceGroup.getId(),"PRACTICE");
 | 
	
		
			
				|  |  | +				ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(practiceGroup.getId(),"PRACTICE",null);
 | 
	
		
			
				|  |  |  				if(activityUserMapper != null){
 | 
	
		
			
				|  |  |  					Map<String, BigDecimal> map = practiceGroupService.countPracticeGroupPredictFee1(practiceGroup, teacherId);
 | 
	
		
			
				|  |  |  					if(practiceGroup.getId().equals(activityUserMapper.getPracticeGroupId())){
 | 
	
	
		
			
				|  | @@ -5255,7 +5255,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  					if(practiceGroup != null){
 | 
	
		
			
				|  |  |  						Integer vipGroupActivityId = practiceGroup.getVipGroupActivityId();
 | 
	
		
			
				|  |  |  						if(vipGroupActivityId != null){
 | 
	
		
			
				|  |  | -							ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(practiceGroup.getId(),"PRACTICE");
 | 
	
		
			
				|  |  | +							ActivityUserMapper activityUserMapper = activityUserMapperDao.findVipUserMapper(practiceGroup.getId(),"PRACTICE",null);
 | 
	
		
			
				|  |  |  							if(activityUserMapper != null){
 | 
	
		
			
				|  |  |  								Map<String, BigDecimal> map = practiceGroupService.countPracticeGroupPredictFee1(practiceGroup, teacherId);
 | 
	
		
			
				|  |  |  								if(practiceGroup.getId().equals(activityUserMapper.getPracticeGroupId())){
 |