@@ -147,6 +147,9 @@ public class TeacherImportAnalysis extends DataAnalysis<TeacherImportAnalysis> {
ret.append("老师声部不能为空;");
}else {
String[] split = item.getSubjectName().replaceAll(" ", "").replaceAll(",", ",").split(",");
+ if (split.length > 5) {
+ ret.append("声部最多选择5个;");
+ }
String subjectIds = "";
for (String s : split) {
if (!subjectMap.containsKey(s)) {