|
|
@@ -197,7 +197,7 @@ public class SchoolTeacherController extends BladeController {
|
|
|
@ApiOperation(value = "导入教职工信息", notes = "传入excel")
|
|
|
public R importSupplierDesc(@RequestParam("file") MultipartFile file)
|
|
|
{
|
|
|
- //校验模板
|
|
|
+ /* //校验模板
|
|
|
String excelPattern = null;
|
|
|
try {
|
|
|
excelPattern = ExcelCheck.checkExcelPattern(file, new SchoolTeacherExcel());
|
|
|
@@ -206,7 +206,7 @@ public class SchoolTeacherController extends BladeController {
|
|
|
}
|
|
|
if (StringUtils.isNotBlank(excelPattern)){
|
|
|
throw new SecurityException(excelPattern);
|
|
|
- }
|
|
|
+ }*/
|
|
|
List<SchoolTeacherExcel> excelList = ExcelUtil.read(file, SchoolTeacherExcel.class);
|
|
|
if(CollectionUtils.isEmpty(excelList))
|
|
|
{
|