From 7a63eeb3857b8dd1bea7b022bbe44013feea6c12 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Wed, 22 Nov 2023 16:31:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A5=BC=E6=A0=8B=E7=BC=96=E5=8F=B7=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E9=9D=9E=E6=95=B0=E5=AD=97=20=20--renpc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/api/residential/ResidentialController.java | 2 +- .../java/com/cm/population/pojo/vos/building/BuildingVO.java | 3 --- src/main/resources/templates/building/save.html | 2 +- src/main/resources/templates/building/update.html | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/cm/population/controller/api/residential/ResidentialController.java b/src/main/java/com/cm/population/controller/api/residential/ResidentialController.java index e8134d6..9961d2d 100644 --- a/src/main/java/com/cm/population/controller/api/residential/ResidentialController.java +++ b/src/main/java/com/cm/population/controller/api/residential/ResidentialController.java @@ -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 list = EasyExcel.read(fileName, ReadExcelResidentialModel.class, new AnalysisEventListener() { diff --git a/src/main/java/com/cm/population/pojo/vos/building/BuildingVO.java b/src/main/java/com/cm/population/pojo/vos/building/BuildingVO.java index 5fb58a0..817da22 100644 --- a/src/main/java/com/cm/population/pojo/vos/building/BuildingVO.java +++ b/src/main/java/com/cm/population/pojo/vos/building/BuildingVO.java @@ -26,13 +26,10 @@ public class BuildingVO { @ApiModelProperty(name = "name", value = "楼排名称") private String name; @ApiModelProperty(name = "buildNum", value = "楼/排号") - @CheckNumberAnnotation(name = "楼/排号") private String buildNum; @ApiModelProperty(name = "floorsNum", value = "楼层数") - @CheckNumberAnnotation(name = "楼层数") private String floorsNum; @ApiModelProperty(name = "unitNum", value = "单元/排数") - @CheckNumberAnnotation(name = "单元/排数") private String unitNum; @ApiModelProperty(name = "address", value = "详细地址") private String address; diff --git a/src/main/resources/templates/building/save.html b/src/main/resources/templates/building/save.html index 8726137..637a068 100644 --- a/src/main/resources/templates/building/save.html +++ b/src/main/resources/templates/building/save.html @@ -70,7 +70,7 @@
- +
diff --git a/src/main/resources/templates/building/update.html b/src/main/resources/templates/building/update.html index cdc6b78..dc7b25a 100644 --- a/src/main/resources/templates/building/update.html +++ b/src/main/resources/templates/building/update.html @@ -70,7 +70,7 @@
- +