|
|
@@ -1,15 +1,43 @@
|
|
|
package com.sooka.sponest.construction.view.database.mapper;
|
|
|
|
|
|
import com.sooka.sponest.construction.drainage.domain.DrainagePumpingStation;
|
|
|
+import com.sooka.sponest.construction.gas.domain.GasManhole;
|
|
|
import com.sooka.sponest.construction.gas.domain.GasPipe;
|
|
|
import com.sooka.sponest.construction.gas.domain.GasStation;
|
|
|
+import com.sooka.sponest.construction.gas.domain.bo.GasManholeBO;
|
|
|
+import com.sooka.sponest.construction.gas.domain.bo.GasRepairRecordBO;
|
|
|
+import com.sooka.sponest.construction.gas.domain.bo.GasStationBO;
|
|
|
import com.sooka.sponest.construction.heating.domain.HeatingHeatExchangeStation;
|
|
|
+import com.sooka.sponest.construction.view.database.domain.bo.DashboardBO;
|
|
|
import com.sooka.sponest.construction.waterSupply.domain.WaterSupplyPipe;
|
|
|
import com.sooka.sponest.construction.drainage.domain.DrainagePipe;
|
|
|
import com.sooka.sponest.construction.heating.domain.HeatingPipe;
|
|
|
import com.sooka.sponest.construction.utilityTunnel.domain.UtilityTunnelBodyInformation;
|
|
|
import com.sooka.sponest.construction.bridge.domain.BridgeInfo;
|
|
|
import com.sooka.sponest.construction.waterSupply.domain.WaterSupplyPumpStation;
|
|
|
+import com.sooka.sponest.construction.waterSupply.domain.bo.WaterSupplyManholeBO;
|
|
|
+import com.sooka.sponest.construction.drainage.domain.bo.DrainageManholeBO;
|
|
|
+import com.sooka.sponest.construction.heating.domain.bo.HeatingManholeBO;
|
|
|
+import com.sooka.sponest.construction.bridge.domain.bo.BridgeInfoBO;
|
|
|
+import com.sooka.sponest.construction.utilityTunnel.domain.bo.UtilityTunnelBodyInformationBO;
|
|
|
+import com.sooka.sponest.construction.waterSupply.domain.bo.WaterSupplyPumpStationBO;
|
|
|
+import com.sooka.sponest.construction.drainage.domain.bo.DrainagePumpStationBO;
|
|
|
+import com.sooka.sponest.construction.heating.domain.bo.HeatingHeatExchangeStationBO;
|
|
|
+import com.sooka.sponest.construction.bridge.domain.bo.BridgeMaintenanceRepairBO;
|
|
|
+import com.sooka.sponest.construction.utilityTunnel.domain.bo.UtilityTunnelFacilityBO;
|
|
|
+import com.sooka.sponest.construction.waterSupply.domain.bo.WaterSupplyProjectRepositoryBO;
|
|
|
+import com.sooka.sponest.construction.waterSupply.domain.bo.WaterSupplyRepairOrderBO;
|
|
|
+import com.sooka.sponest.construction.drainage.domain.bo.DrainageOverpassBO;
|
|
|
+import com.sooka.sponest.construction.drainage.domain.bo.DrainageEasyFloodBO;
|
|
|
+import com.sooka.sponest.construction.drainage.domain.bo.DrainageRainGaugeStationBO;
|
|
|
+import com.sooka.sponest.construction.drainage.domain.bo.DrainageSewageTreatmentPlantsBO;
|
|
|
+import com.sooka.sponest.construction.drainage.domain.bo.DrainageEmbankmentBO;
|
|
|
+import com.sooka.sponest.construction.drainage.domain.bo.DrainageStorageFacilitiesBO;
|
|
|
+import com.sooka.sponest.construction.heating.domain.bo.HeatingSourcePlantBO;
|
|
|
+import com.sooka.sponest.construction.utilityTunnel.domain.bo.UtilityTunnelHiddendangerBO;
|
|
|
+import com.sooka.sponest.construction.utilityTunnel.domain.bo.UtilityTunnelMaintenanceRepairBO;
|
|
|
+import com.sooka.sponest.construction.bridge.domain.bo.BridgeAllyCrossPierBO;
|
|
|
+import com.sooka.sponest.construction.bridge.domain.bo.BridgeCheckDiseaseBO;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
|
|
import java.util.List;
|
|
|
@@ -56,6 +84,8 @@ public interface ViewMapper {
|
|
|
*/
|
|
|
List<Map<String, Object>> selectWaterSupplyPipeLengthStats(WaterSupplyPipe waterSupplyPipe);
|
|
|
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 按行政区划统计供水管线长度
|
|
|
*
|
|
|
@@ -81,6 +111,14 @@ public interface ViewMapper {
|
|
|
List<Map<String, Object>> selectDrainagePipeLengthStats(DrainagePipe drainagePipe);
|
|
|
|
|
|
/**
|
|
|
+ * 统计供热管线长度
|
|
|
+ *
|
|
|
+ * @param heatingPipe 供热管线查询条件
|
|
|
+ * @return 排水管线长度统计结果
|
|
|
+ */
|
|
|
+ List<Map<String, Object>> calculateHeatingPipeLength(HeatingPipe heatingPipe);
|
|
|
+
|
|
|
+ /**
|
|
|
* 按行政区划统计排水管线长度
|
|
|
*
|
|
|
* @param drainagePipe 排水管线查询条件
|
|
|
@@ -105,14 +143,6 @@ public interface ViewMapper {
|
|
|
List<Map<String, Object>> selectGasPipeLengthByCategory(GasPipe gasPipe);
|
|
|
|
|
|
/**
|
|
|
- * 按类别统计供水管线长度
|
|
|
- *
|
|
|
- * @param waterSupplyPipe 供水管线查询条件
|
|
|
- * @return 按类别统计的供水管线长度结果
|
|
|
- */
|
|
|
- List<Map<String, Object>> selectWaterSupplyPipeLengthByCategory(WaterSupplyPipe waterSupplyPipe);
|
|
|
-
|
|
|
- /**
|
|
|
* 按类别统计排水管线长度
|
|
|
*
|
|
|
* @param drainagePipe 排水管线查询条件
|
|
|
@@ -161,6 +191,14 @@ public interface ViewMapper {
|
|
|
List<Map<String, Object>> selectManholeCountByInstallDateAndIndustry(Integer type);
|
|
|
|
|
|
/**
|
|
|
+ * 按类别统计供水管线长度
|
|
|
+ *
|
|
|
+ * @param waterSupplyPipe 供水管线查询条件
|
|
|
+ * @return 按类别统计的供水管线长度结果
|
|
|
+ */
|
|
|
+ List<Map<String, Object>> selectWaterSupplyPipeLengthByCategory(WaterSupplyPipe waterSupplyPipe);
|
|
|
+
|
|
|
+ /**
|
|
|
* 按区划名称和出厂日期统计燃气场站数量
|
|
|
*
|
|
|
* @param gasStation 燃气场站查询条件
|
|
|
@@ -197,105 +235,105 @@ public interface ViewMapper {
|
|
|
*
|
|
|
* @return 燃气窨井数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectGasManholeCount();
|
|
|
+ List<Map<String, Object>> selectGasManholeCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计燃气维修台账数量
|
|
|
*
|
|
|
* @return 燃气维修台账数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectGasMaintenanceCount();
|
|
|
+ List<Map<String, Object>> selectGasMaintenanceCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计燃气场站数量
|
|
|
*
|
|
|
* @return 燃气场站数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectGasStationCount();
|
|
|
+ List<Map<String, Object>> selectGasStationCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计供水窨井数量
|
|
|
*
|
|
|
* @return 供水窨井数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectWaterSupplyManholeCount();
|
|
|
+ List<Map<String, Object>> selectWaterSupplyManholeCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计供水泵站数量
|
|
|
*
|
|
|
* @return 供水泵站数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectWaterSupplyPumpStationCount();
|
|
|
+ List<Map<String, Object>> selectWaterSupplyPumpStationCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计供水维修记录数量
|
|
|
*
|
|
|
* @return 供水维修记录数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectWaterSupplyMaintenanceCount();
|
|
|
+ List<Map<String, Object>> selectWaterSupplyMaintenanceCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计供水项目库数量
|
|
|
*
|
|
|
* @return 供水项目库数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectWaterSupplyProjectCount();
|
|
|
+ List<Map<String, Object>> selectWaterSupplyProjectCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计排水窨井数量
|
|
|
*
|
|
|
* @return 排水窨井数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectDrainageManholeCount();
|
|
|
+ List<Map<String, Object>> selectDrainageManholeCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计排水泵站数量
|
|
|
*
|
|
|
* @return 排水泵站数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectDrainagePumpStationCount();
|
|
|
+ List<Map<String, Object>> selectDrainagePumpStationCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计下穿立交数量
|
|
|
*
|
|
|
* @return 下穿立交数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectUnderpassCount();
|
|
|
+ List<Map<String, Object>> selectUnderpassCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计易涝点数量
|
|
|
*
|
|
|
* @return 易涝点数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectFloodPointCount();
|
|
|
+ List<Map<String, Object>> selectFloodPointCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计雨量站数量
|
|
|
*
|
|
|
* @return 雨量站数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectRainfallStationCount();
|
|
|
+ List<Map<String, Object>> selectRainfallStationCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计污水处理厂数量
|
|
|
*
|
|
|
* @return 污水处理厂数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectSewageTreatmentPlantCount();
|
|
|
+ List<Map<String, Object>> selectSewageTreatmentPlantCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计堤防信息数量
|
|
|
*
|
|
|
* @return 堤防信息数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectDikeInfoCount();
|
|
|
+ List<Map<String, Object>> selectDikeInfoCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计调蓄设施数量
|
|
|
*
|
|
|
* @return 调蓄设施数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectStorageFacilityCount();
|
|
|
+ List<Map<String, Object>> selectStorageFacilityCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计供热管线总长度
|
|
|
@@ -310,77 +348,77 @@ public interface ViewMapper {
|
|
|
*
|
|
|
* @return 换热站数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectHeatingHeatExchangeStationCount();
|
|
|
+ List<Map<String, Object>> selectHeatingHeatExchangeStationCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计热源厂数量
|
|
|
*
|
|
|
* @return 热源厂数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectHeatingHeatSourceFactoryCount();
|
|
|
+ List<Map<String, Object>> selectHeatingHeatSourceFactoryCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计供热窨井数量
|
|
|
*
|
|
|
* @return 供热窨井数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectHeatingManholeCount();
|
|
|
+ List<Map<String, Object>> selectHeatingManholeCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计桥梁基本信息数量
|
|
|
*
|
|
|
* @return 桥梁基本信息数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectBridgeInfoCount();
|
|
|
+ List<Map<String, Object>> selectBridgeInfoCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计连跨数量
|
|
|
*
|
|
|
* @return 连跨数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectContinuousSpanCount();
|
|
|
+ List<Map<String, Object>> selectContinuousSpanCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计检查病害数量
|
|
|
*
|
|
|
* @return 检查病害数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectInspectionDiseaseCount();
|
|
|
+ List<Map<String, Object>> selectInspectionDiseaseCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计桥梁养护维修数量
|
|
|
*
|
|
|
* @return 桥梁养护维修数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectBridgeMaintenanceRepairCount();
|
|
|
+ List<Map<String, Object>> selectBridgeMaintenanceRepairCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计管廊本体数量
|
|
|
*
|
|
|
* @return 管廊本体数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectUtilityTunnelBodyCount();
|
|
|
+ List<Map<String, Object>> selectUtilityTunnelBodyCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计管廊设施数量
|
|
|
*
|
|
|
* @return 管廊设施数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectUtilityTunnelFacilityCount();
|
|
|
+ List<Map<String, Object>> selectUtilityTunnelFacilityCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计管廊隐患信息数量
|
|
|
*
|
|
|
* @return 管廊隐患信息数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectUtilityTunnelRiskCount();
|
|
|
+ List<Map<String, Object>> selectUtilityTunnelRiskCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 统计管廊养护维修数量
|
|
|
*
|
|
|
* @return 管廊养护维修数量统计结果
|
|
|
*/
|
|
|
- List<Map<String, Object>> selectUtilityTunnelMaintenanceCount();
|
|
|
+ List<Map<String, Object>> selectUtilityTunnelMaintenanceCount(DashboardBO bo);
|
|
|
|
|
|
/**
|
|
|
* 按建设年份统计燃气管道数量
|