Merge remote-tracking branch 'origin/upgrade' into upgrade
This commit is contained in:
commit
a63dfbaa23
@ -190,7 +190,7 @@ public class ResidentialController extends AbstractController {
|
|||||||
@ApiOperation(value = "新增小区管理", notes = "新增小区管理接口")
|
@ApiOperation(value = "新增小区管理", notes = "新增小区管理接口")
|
||||||
@GetMapping("excel")
|
@GetMapping("excel")
|
||||||
public SuccessResult 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,
|
List<Object> list = EasyExcel.read(fileName, ReadExcelResidentialModel.class,
|
||||||
new AnalysisEventListener<ReadExcelResidentialModel>() {
|
new AnalysisEventListener<ReadExcelResidentialModel>() {
|
||||||
|
|
||||||
|
@ -515,7 +515,13 @@ public class HouseServiceImpl extends AbstractService implements IHouseService {
|
|||||||
flagNum += 1;
|
flagNum += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
houseNum = floor + "0" + flagNum;
|
if(flagNum < 10) {
|
||||||
|
houseNum = floor + "0" + flagNum;
|
||||||
|
}else {
|
||||||
|
houseNum = floor + "" + flagNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
HouseVO houseVO = new HouseVO();
|
HouseVO houseVO = new HouseVO();
|
||||||
// 基本信息:街道、社区、小区、楼栋
|
// 基本信息:街道、社区、小区、楼栋
|
||||||
|
Loading…
Reference in New Issue
Block a user