mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
提升系统稳定性
This commit is contained in:
@@ -136,6 +136,9 @@ public class CourseHourServiceImpl extends ServiceImpl<CourseHourMapper, CourseH
|
||||
|
||||
@Override
|
||||
public List<CourseHour> chunk(List<Integer> hourIds) {
|
||||
if (hourIds == null || hourIds.size() == 0) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
return list(query().getWrapper().in("id", hourIds));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user