批量导入

This commit is contained in:
Renpc-kilig 2024-01-05 17:28:18 +08:00
parent 911fc74f3e
commit e7842b408b

View File

@ -190,7 +190,7 @@ public class ResidentialController extends AbstractController {
@ApiOperation(value = "新增小区管理", notes = "新增小区管理接口")
@GetMapping("excel")
public SuccessResult excel() {
String fileName = "C:\\Users\\29492\\Desktop\\万泉佳苑底店楼宇批量导入.xlsx";
String fileName = "C:\\Users\\29492\\Desktop\\春华社区建房(1).xlsx";
List<Object> list = EasyExcel.read(fileName, ReadExcelResidentialModel.class,
new AnalysisEventListener<ReadExcelResidentialModel>() {