|
@@ -659,6 +659,15 @@ public class CourseScheduleServiceImpl extends ServiceImpl<CourseScheduleDao, Co
|
|
|
if (replied != null) {
|
|
|
//按评价筛选 0:未评价 1:已评价
|
|
|
if (replied == 0) {
|
|
|
+ if (CollectionUtils.isEmpty(studentList)) {
|
|
|
+ search.setRepliedIds(null);
|
|
|
+ } else {
|
|
|
+ search.setRepliedIds(studentList);
|
|
|
+ search.setClassIds(classList);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ if (replied == 1) {
|
|
|
//查询所有购课用户
|
|
|
List<Long> userList = paymentDao.selectAll();
|
|
|
//取差集
|
|
@@ -668,15 +677,6 @@ public class CourseScheduleServiceImpl extends ServiceImpl<CourseScheduleDao, Co
|
|
|
}
|
|
|
search.setRepliedIds(userList);
|
|
|
}
|
|
|
-
|
|
|
- if (replied == 1) {
|
|
|
- if (CollectionUtils.isEmpty(studentList)) {
|
|
|
- search.setRepliedIds(null);
|
|
|
- } else {
|
|
|
- search.setRepliedIds(studentList);
|
|
|
- search.setClassIds(classList);
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
return page.setRecords(baseMapper.queryTeacherPracticeCourse(page, monthToDate(search)));
|
|
|
}
|