|
|
@@ -57,6 +57,9 @@ public class WfCourseAdjustServiceImpl extends MPJBaseServiceImpl<WfCourseAdjust
|
|
|
bakMap.put(courseTableBak.getId(), courseTableBak);
|
|
|
}
|
|
|
List<Long> courseIds = bakList.stream().map(CourseTableBak::getId).collect(Collectors.toList());
|
|
|
+ if(courseIds.isEmpty()){
|
|
|
+ return true;
|
|
|
+ }
|
|
|
List<CourseTable> list = courseTableService.listByIds(courseIds);
|
|
|
if(CourseAdjustTypeEnum.courseSubstitute.getCode().equals(courseAdjust.getAdjustType())){//顶课
|
|
|
for (CourseTable courseTable : list) {
|