|
@@ -68,7 +68,8 @@ public class ExcelController {
|
|
|
@PostMapping("/uploadExcel")
|
|
|
public ResultData uploadExcel(@RequestParam(required = false) MultipartFile file,
|
|
|
@RequestParam(required = false,defaultValue = "0") Integer type) throws IOException {
|
|
|
- return ResultData.ok(excelService.uploadExcel(file,type));
|
|
|
+ Integer count = excelService.uploadExcel(file, type);
|
|
|
+ return ResultData.ok("成功导入"+count+"条数据。");
|
|
|
}
|
|
|
|
|
|
|