bug修改 --renpc

This commit is contained in:
Renpc-kilig 2023-12-18 14:38:40 +08:00
parent 8b265e88b0
commit 131001ad80
2 changed files with 8 additions and 2 deletions

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\\民族东路社区(1).xlsx";
String fileName = "C:\\Users\\29492\\Desktop\\万泉佳苑底店楼宇批量导入.xlsx";
List<Object> list = EasyExcel.read(fileName, ReadExcelResidentialModel.class,
new AnalysisEventListener<ReadExcelResidentialModel>() {

View File

@ -515,7 +515,13 @@ public class HouseServiceImpl extends AbstractService implements IHouseService {
flagNum += 1;
}
houseNum = floor + "0" + flagNum;
if(flagNum < 10) {
houseNum = floor + "0" + flagNum;
}else {
houseNum = floor + "" + flagNum;
}
HouseVO houseVO = new HouseVO();
// 基本信息街道社区小区楼栋