Browse Source

管乐迷需求迭代

zouxuan 2 years ago
parent
commit
045614f20c

+ 1 - 0
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentManageServiceImpl.java

@@ -135,6 +135,7 @@ public class StudentManageServiceImpl implements StudentManageService {
             List<Integer> organIds = dataList.stream().map(e -> e.getOrganId()).distinct().collect(Collectors.toList());
             List<Integer> courseTeacherIds = dataList.stream().map(e -> e.getCourseTeacher()).distinct().collect(Collectors.toList());
             organIds.removeAll(Collections.singleton(null));
+            courseTeacherIds.removeAll(Collections.singleton(null));
             List<SysUserCashAccount> accounts = sysUserCashAccountDao.findByUserIds(userIds);
             Map<Integer, Organization> organMap = null;
             if(!CollectionUtils.isEmpty(organIds)){