|
@@ -39,6 +39,9 @@ public class SubjectServiceImpl extends BaseServiceImpl<Long, Subject> implement
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public List<Subject> findBySubjectByIdList(List<Long> subjectIdList) {
|
|
public List<Subject> findBySubjectByIdList(List<Long> subjectIdList) {
|
|
|
|
+ if (CollectionUtils.isEmpty(subjectIdList)) {
|
|
|
|
+ return new ArrayList<>();
|
|
|
|
+ }
|
|
return subjectDao.findBySubjectIds(subjectIdList);
|
|
return subjectDao.findBySubjectIds(subjectIdList);
|
|
}
|
|
}
|
|
|
|
|