Explorar el Código

Merge branch 'saas_zouxuan_04_24_course' of http://git.dayaedu.com/yonge/mec into master_saas

zouxuan hace 3 años
padre
commit
155c3e2ed7

+ 2 - 2
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentExtracurricularExercisesSituationServiceImpl.java

@@ -596,7 +596,7 @@ public class StudentExtracurricularExercisesSituationServiceImpl extends BaseSer
 			return;
 		}
 		studentExtracurricularExercisesSituationDao.batchInsert(situations);
-		String collect = situations.stream().map(e -> e.getCourseIds()).filter(e -> StringUtils.isNotEmpty(e)).collect(Collectors.joining());
+		String collect = situations.stream().map(e -> e.getCourseIds()).filter(e -> StringUtils.isNotEmpty(e)).collect(Collectors.joining(","));
 		if(StringUtils.isNotEmpty(collect)){
 			//更新课程服务指标
 			courseScheduleStatisticsDao.updateCourseService(collect,1);
@@ -622,7 +622,7 @@ public class StudentExtracurricularExercisesSituationServiceImpl extends BaseSer
 		}
 		List<Long> collect1 = situations.stream().map(e -> e.getId()).collect(Collectors.toList());
 		studentExtracurricularExercisesSituationDao.batchDelete(collect1);
-		String collect = situations.stream().map(e -> e.getCourseIds()).filter(e -> StringUtils.isNotEmpty(e)).collect(Collectors.joining());
+		String collect = situations.stream().map(e -> e.getCourseIds()).filter(e -> StringUtils.isNotEmpty(e)).collect(Collectors.joining(","));
 		if(StringUtils.isNotEmpty(collect)){
 			//更新课程服务指标
 			courseScheduleStatisticsDao.updateCourseService(collect,0);