|
@@ -149,9 +149,9 @@ public class TeachStudentServiceImpl extends ServiceImpl<TeachStudentMapper, Tea
|
|
|
List<TeachStudent> teachStudentList = new ArrayList<>();
|
|
|
if (basicStudentList != null && basicStudentList.size() > 0) {
|
|
|
for (BasicStudent basicStudent : basicStudentList) {
|
|
|
- if (!SystemConstant.longNotNull(basicStudent.getCampusId())){
|
|
|
- throw ExceptionResultEnum.ERROR.exception("学号为【" + basicStudent.getStudentCode() + "】,名称为【" + basicStudent.getStudentName() + "】的学生缺失'校区信息',请联系管理员创建");
|
|
|
- }
|
|
|
+// if (!SystemConstant.longNotNull(basicStudent.getCampusId())){
|
|
|
+// throw ExceptionResultEnum.ERROR.exception("学号为【" + basicStudent.getStudentCode() + "】,名称为【" + basicStudent.getStudentName() + "】的学生缺失'校区信息',请联系管理员创建");
|
|
|
+// }
|
|
|
Long basicStudentId = basicStudent.getId();
|
|
|
// 批量新增重复的课程跳过
|
|
|
if (this.checkTeachStudentRepeat(basicStudentId, teachClazzId, schoolId)) {
|