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