|
@@ -93,7 +93,7 @@ public class FactoryController {
|
|
|
|
|
|
@ApiOperation("excel批量导入")
|
|
|
@PostMapping("factoryExcelImport")
|
|
|
- public BaseResponse factoryExcelImport(@RequestParam("file") MultipartFile file) throws Exception {
|
|
|
+ public BaseResponse<ExcelImportRes> factoryExcelImport(@RequestParam("file") MultipartFile file) throws Exception {
|
|
|
List<FactoryProperty> factoryPropertyList = ExcelInputFactory.getExcelPojoList(file, FactoryProperty.class);
|
|
|
//excel批量导入
|
|
|
ExcelImportRes result = factoryService.factoryExcelImport(factoryPropertyList);
|