14 changed files with 678 additions and 2 deletions
@ -0,0 +1,24 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.dto.form.PageFormDTO; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 15:06 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class HouseInformationFormDTO extends PageFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 2348447479132364176L; |
||||
|
private String staffId; |
||||
|
private String communityId; |
||||
|
private String gridId; |
||||
|
private String neighborHoodId; |
||||
|
private String buildingId; |
||||
|
private String unitId; |
||||
|
private String name; |
||||
|
private String sort; |
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:49 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class BuildingCountResultDTO { |
||||
|
private String buildingId; |
||||
|
private String buildingType; |
||||
|
private Integer unitCount; |
||||
|
private Integer houseCount; |
||||
|
private Integer personCount; |
||||
|
private Integer unitRealCount; |
||||
|
private Integer houseRealCount; |
||||
|
private Integer personRealCount; |
||||
|
} |
@ -0,0 +1,25 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:45 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class BuildingListResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -1423424057500044373L; |
||||
|
private String id; |
||||
|
private String name; |
||||
|
private Integer buildingCount; |
||||
|
private Integer houseCount; |
||||
|
private Integer personCount; |
||||
|
private Integer differBuildingCount; |
||||
|
private Integer differHouseCount; |
||||
|
private Integer differPersonCount; |
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 15:24 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class CommunityCountResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -1677303397440121269L; |
||||
|
private Integer buildingCount; |
||||
|
private Integer houseCount; |
||||
|
private Integer personCount; |
||||
|
private Integer buildingRealCount; |
||||
|
private Integer houseRealCount; |
||||
|
private Integer personRealCount; |
||||
|
} |
@ -0,0 +1,25 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 15:35 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class GridCountListResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -7938740461257344347L; |
||||
|
private String id; |
||||
|
private String name; |
||||
|
private Integer buildingCount; |
||||
|
private Integer houseCount; |
||||
|
private Integer personCount; |
||||
|
private Integer differBuildingCount; |
||||
|
private Integer differHouseCount; |
||||
|
private Integer differPersonCount; |
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 15:37 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class GridStatisticsResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -2022337690871957027L; |
||||
|
private Integer buildingCount; |
||||
|
private Integer houseCount; |
||||
|
private Integer personCount; |
||||
|
private Integer buildingRealCount; |
||||
|
private Integer houseRealCount; |
||||
|
private Integer personRealCount; |
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 17:00 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class HomeListResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -1098032063828430218L; |
||||
|
private String id; |
||||
|
private String name; |
||||
|
private Double personCount; |
||||
|
private String houseType; |
||||
|
private String houseCode; |
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:41 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class NeighborHoodCountResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 4148009467129407023L; |
||||
|
private String neighborHoodId; |
||||
|
private Integer buildingCount; |
||||
|
private Integer houseCount; |
||||
|
private Integer personCount; |
||||
|
private Integer buildingRealCount; |
||||
|
private Integer houseRealCount; |
||||
|
private Integer personRealCount; |
||||
|
} |
@ -0,0 +1,25 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:21 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class NeighborHoodListResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -5333918463141094854L; |
||||
|
private String id; |
||||
|
private String name; |
||||
|
private Integer buildingCount; |
||||
|
private Integer houseCount; |
||||
|
private Integer personCount; |
||||
|
private Integer differBuildingCount; |
||||
|
private Integer differHouseCount; |
||||
|
private Integer differPersonCount; |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:56 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class UnitCountResultDTO { |
||||
|
private String unitId; |
||||
|
private Integer houseCount; |
||||
|
private Integer personCount; |
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:53 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class UnitListResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -8750897881106004416L; |
||||
|
private String id; |
||||
|
private String name; |
||||
|
private Double houseCount; |
||||
|
private Double personCount; |
||||
|
private Double differHouseCount; |
||||
|
} |
@ -0,0 +1,112 @@ |
|||||
|
package com.epmet.service; |
||||
|
|
||||
|
import com.epmet.commons.tools.page.PageData; |
||||
|
import com.epmet.dto.form.HouseInformationFormDTO; |
||||
|
import com.epmet.dto.result.*; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 15:14 |
||||
|
*/ |
||||
|
public interface HouseInformationService { |
||||
|
/** |
||||
|
* 【双实录入】社区录入数据统计 |
||||
|
* |
||||
|
* @Param formDTO |
||||
|
* @Return {@link CommunityCountResultDTO} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 15:31 |
||||
|
*/ |
||||
|
CommunityCountResultDTO getCommunityCount(HouseInformationFormDTO formDTO); |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】社区-网格列表 |
||||
|
* |
||||
|
* @Param formDTO |
||||
|
* @Return {@link PageData<GridCountListResultDTO>} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 15:41 |
||||
|
*/ |
||||
|
PageData<GridCountListResultDTO> getGridList(HouseInformationFormDTO formDTO); |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】网格录入数据统计 |
||||
|
* |
||||
|
* @Param formDTO |
||||
|
* @Return {@link GridStatisticsResultDTO} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 15:41 |
||||
|
*/ |
||||
|
GridStatisticsResultDTO getGridCount(HouseInformationFormDTO formDTO); |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】网格-小区列表 |
||||
|
* |
||||
|
* @Param formDTO |
||||
|
* @Return {@link PageData<NeighborHoodListResultDTO>} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:24 |
||||
|
*/ |
||||
|
PageData<NeighborHoodListResultDTO> getNeighborHoodList(HouseInformationFormDTO formDTO); |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】小区录入数据统计 |
||||
|
* |
||||
|
* @Param formDTO |
||||
|
* @Return {@link NeighborHoodCountResultDTO} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:43 |
||||
|
*/ |
||||
|
NeighborHoodCountResultDTO getNeighborHoodCount(HouseInformationFormDTO formDTO); |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】小区-楼栋列表 |
||||
|
* |
||||
|
* @Param formDTO |
||||
|
* @Return {@link PageData<BuildingListResultDTO>} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:47 |
||||
|
*/ |
||||
|
PageData<BuildingListResultDTO> getBuildingList(HouseInformationFormDTO formDTO); |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】楼栋录入数据统计 |
||||
|
* |
||||
|
* @Param formDTO |
||||
|
* @Return {@link BuildingCountResultDTO} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:50 |
||||
|
*/ |
||||
|
BuildingCountResultDTO getBuildingCount(HouseInformationFormDTO formDTO); |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】楼栋-单元列表 |
||||
|
* |
||||
|
* @Param formDTO |
||||
|
* @Return {@link PageData<UnitListResultDTO>} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:54 |
||||
|
*/ |
||||
|
PageData<UnitListResultDTO> getUnitList(HouseInformationFormDTO formDTO); |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】单元录入数据统计 |
||||
|
* |
||||
|
* @Param formDTO |
||||
|
* @Return {@link UnitCountResultDTO} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:57 |
||||
|
*/ |
||||
|
UnitCountResultDTO getUnitCount(HouseInformationFormDTO formDTO); |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】单元-房屋列表 |
||||
|
* |
||||
|
* @Param formDTO |
||||
|
* @Return {@link PageData<HomeListResultDTO>} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 17:01 |
||||
|
*/ |
||||
|
PageData<HomeListResultDTO> getHouseList(HouseInformationFormDTO formDTO); |
||||
|
} |
@ -0,0 +1,157 @@ |
|||||
|
package com.epmet.service.impl; |
||||
|
|
||||
|
import com.epmet.commons.tools.page.PageData; |
||||
|
import com.epmet.dto.form.HouseInformationFormDTO; |
||||
|
import com.epmet.dto.result.*; |
||||
|
import com.epmet.service.HouseInformationService; |
||||
|
import lombok.extern.slf4j.Slf4j; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 15:14 |
||||
|
*/ |
||||
|
@Slf4j |
||||
|
@Service |
||||
|
public class HouseInformationServiceImpl implements HouseInformationService { |
||||
|
/** |
||||
|
* 【双实录入】社区录入数据统计 |
||||
|
* |
||||
|
* @param formDTO |
||||
|
* @Param formDTO |
||||
|
* @Return {@link CommunityCountResultDTO} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 15:31 |
||||
|
*/ |
||||
|
@Override |
||||
|
public CommunityCountResultDTO getCommunityCount(HouseInformationFormDTO formDTO) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】社区-网格列表 |
||||
|
* |
||||
|
* @param formDTO |
||||
|
* @Param formDTO |
||||
|
* @Return {@link PageData < GridCountListResultDTO >} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 15:41 |
||||
|
*/ |
||||
|
@Override |
||||
|
public PageData<GridCountListResultDTO> getGridList(HouseInformationFormDTO formDTO) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】网格录入数据统计 |
||||
|
* |
||||
|
* @param formDTO |
||||
|
* @Param formDTO |
||||
|
* @Return {@link GridStatisticsResultDTO} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 15:41 |
||||
|
*/ |
||||
|
@Override |
||||
|
public GridStatisticsResultDTO getGridCount(HouseInformationFormDTO formDTO) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】网格-小区列表 |
||||
|
* |
||||
|
* @param formDTO |
||||
|
* @Param formDTO |
||||
|
* @Return {@link PageData< NeighborHoodListResultDTO >} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:24 |
||||
|
*/ |
||||
|
@Override |
||||
|
public PageData<NeighborHoodListResultDTO> getNeighborHoodList(HouseInformationFormDTO formDTO) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】小区录入数据统计 |
||||
|
* |
||||
|
* @param formDTO |
||||
|
* @Param formDTO |
||||
|
* @Return {@link NeighborHoodCountResultDTO} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:43 |
||||
|
*/ |
||||
|
@Override |
||||
|
public NeighborHoodCountResultDTO getNeighborHoodCount(HouseInformationFormDTO formDTO) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】小区-楼栋列表 |
||||
|
* |
||||
|
* @param formDTO |
||||
|
* @Param formDTO |
||||
|
* @Return {@link PageData<BuildingListResultDTO>} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:47 |
||||
|
*/ |
||||
|
@Override |
||||
|
public PageData<BuildingListResultDTO> getBuildingList(HouseInformationFormDTO formDTO) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】楼栋录入数据统计 |
||||
|
* |
||||
|
* @param formDTO |
||||
|
* @Param formDTO |
||||
|
* @Return {@link BuildingCountResultDTO} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:50 |
||||
|
*/ |
||||
|
@Override |
||||
|
public BuildingCountResultDTO getBuildingCount(HouseInformationFormDTO formDTO) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】楼栋-单元列表 |
||||
|
* |
||||
|
* @param formDTO |
||||
|
* @Param formDTO |
||||
|
* @Return {@link PageData<UnitListResultDTO>} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:54 |
||||
|
*/ |
||||
|
@Override |
||||
|
public PageData<UnitListResultDTO> getUnitList(HouseInformationFormDTO formDTO) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】单元录入数据统计 |
||||
|
* |
||||
|
* @param formDTO |
||||
|
* @Param formDTO |
||||
|
* @Return {@link UnitCountResultDTO} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 16:57 |
||||
|
*/ |
||||
|
@Override |
||||
|
public UnitCountResultDTO getUnitCount(HouseInformationFormDTO formDTO) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 【双实录入】单元-房屋列表 |
||||
|
* |
||||
|
* @param formDTO |
||||
|
* @Param formDTO |
||||
|
* @Return {@link PageData<HomeListResultDTO>} |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/6/28 17:01 |
||||
|
*/ |
||||
|
@Override |
||||
|
public PageData<HomeListResultDTO> getHouseList(HouseInformationFormDTO formDTO) { |
||||
|
return null; |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue