|
@@ -1135,6 +1135,9 @@ public class TaskLogicServiceImpl implements TaskLogicService {
|
|
|
if (Objects.isNull(studentName) || studentName.length() > 30) {
|
|
|
excelErrorTemp.add(new ExcelError(y + 1, "excel第" + (i + 1) + "个sheet第" + (y + 1) + "行[学生名称]不符合输入规范"));
|
|
|
}
|
|
|
+ if (Objects.nonNull(phoneNumber) && !phoneNumber.matches(SystemConstant.REGULAR_EXPRESSION_OF_PHONE)) {
|
|
|
+ excelErrorTemp.add(new ExcelError(y + 1, "excel第" + (i + 1) + "个sheet第" + (y + 1) + "行[电话号码]不符合输入规范"));
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
if (excelErrorTemp.size() > 0) {
|