|
@@ -1361,9 +1361,16 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
classGradeStudentVos.addAll(iClassGradeService.listGrade(bo1));
|
|
classGradeStudentVos.addAll(iClassGradeService.listGrade(bo1));
|
|
});
|
|
});
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ Set<Long> userIds = new HashSet<>();
|
|
|
|
+ List<ClassGradeStudentVo> classGradeStudentList = new ArrayList<>();
|
|
for (ClassGradeStudentVo classGradeStudentVo : classGradeStudentVos) {
|
|
for (ClassGradeStudentVo classGradeStudentVo : classGradeStudentVos) {
|
|
|
|
+ if (!userIds.contains(classGradeStudentVo.getUserId())) {
|
|
|
|
+ userIds.add(classGradeStudentVo.getUserId());
|
|
|
|
+ classGradeStudentList.add(classGradeStudentVo);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ for (ClassGradeStudentVo classGradeStudentVo : classGradeStudentList) {
|
|
InformRemindVo informRemindVo = informRemindService.queryById(25L);
|
|
InformRemindVo informRemindVo = informRemindService.queryById(25L);
|
|
if (informRemindVo.getWayStatus().equals(1)) {
|
|
if (informRemindVo.getWayStatus().equals(1)) {
|
|
InformUserAddBo informUserAddBo = new InformUserAddBo();
|
|
InformUserAddBo informUserAddBo = new InformUserAddBo();
|