|
@@ -304,17 +304,7 @@ public class CourseTableServiceImpl extends ServiceImpl<CourseTableMapper, Cours
|
|
|
}
|
|
|
dto.setAdjustType(adjustType);
|
|
|
//查询正在进行中或者已经完成
|
|
|
- List<WfCourseAdjust> exceptCourseList = courseTableMapper.getExceptCourseList(dto.getTeacherId());
|
|
|
- List<Long> courseIds = new ArrayList<>();
|
|
|
- for (WfCourseAdjust courseAdjust : exceptCourseList) {
|
|
|
- String[] split = courseAdjust.getCourseId().split(",");
|
|
|
- for (String s : split) {
|
|
|
- if(StrUtil.isEmpty(s)){
|
|
|
- continue;
|
|
|
- }
|
|
|
- courseIds.add(Long.parseLong(s));
|
|
|
- }
|
|
|
- }
|
|
|
+ List<Long> courseIds = courseTableMapper.getExceptCourseIds(dto.getTeacherId());
|
|
|
dto.setExceptCourseList(courseIds);
|
|
|
List<CourseListVo> list = courseTableMapper.getAdjustList(dto);
|
|
|
for (CourseListVo courseListVo : list) {
|