| | |
| | | List<ThStudentBatch> updateThStudentBatchList = new ArrayList<>(); |
| | | for (ThStudentReqDTO studentReqDTO : saveStudentReqDTOList) { |
| | | //学生表中过滤 |
| | | List<ThStudent> collect = students.stream().filter(s -> s.getIdcard().equals(studentReqDTO.getIdcard())).collect(Collectors.toList()); |
| | | List<ThStudent> collect = students.stream().filter(s -> s.getIdcard().equals(studentReqDTO.getIdcard()) && s.getInstitutionId().equals(institutionUser.getId()) ).collect(Collectors.toList()); |
| | | if(collect.size() > 0){ |
| | | ThStudent student = collect.get(0); |
| | | //修改 |