diff --git a/lzbi-admin/src/main/resources/application-dev.yml b/lzbi-admin/src/main/resources/application-dev.yml index ba0b3a5..c57a77c 100644 --- a/lzbi-admin/src/main/resources/application-dev.yml +++ b/lzbi-admin/src/main/resources/application-dev.yml @@ -108,4 +108,14 @@ logging: org.springframework: warn # 指标模板 target-model: - user: TM00051 + user: TM000YH # 用户 + boiler: TM000GL # 锅炉 + electricityConsumes: TM000DH #电耗 + waterConsumes: TM000SH # 水耗 + coalConsumes: TM000MH # 煤耗 + calorific: TM000FRL # 发热量 + heatSupplied: TM000GRL # 供热量 + acreage: MJ01 # 面积 + outputOfPlant: TM000FDL # 发电量 + provideWaterAverageTemperature: TM000GSJW # 供水均温 + answerWaterAverageTemperature: TM000HSJW # 回水均温 diff --git a/lzbi-common/src/main/java/com/lzbi/common/config/TargetModelConfig.java b/lzbi-common/src/main/java/com/lzbi/common/config/TargetModelConfig.java index 7051558..a251e5e 100644 --- a/lzbi-common/src/main/java/com/lzbi/common/config/TargetModelConfig.java +++ b/lzbi-common/src/main/java/com/lzbi/common/config/TargetModelConfig.java @@ -16,4 +16,54 @@ public class TargetModelConfig { * 用户 */ private String user; + + /** + * 锅炉 + */ + private String boiler; + + /** + * 电耗 + */ + private String electricityConsumes; + + /** + * 水耗 + */ + private String waterConsumes; + + /** + * 煤耗 + */ + private String coalConsumes; + + /** + * 发热量 + */ + private String calorific; + + /** + * 供热量 + */ + private String heatSupplied; + + /** + * 面积 + */ + private String acreage; + + /** + * 发电量 + */ + private String outputOfPlant; + + /** + * 供水均温 + */ + private String provideWaterAverageTemperature; + + /** + * 回水均温 + */ + private String answerWaterAverageTemperature; } diff --git a/lzbi-module/src/main/java/com/lzbi/asset/domain/DcBaseAssetInfo.java b/lzbi-module/src/main/java/com/lzbi/asset/domain/DcBaseAssetInfo.java index 61fb367..8276ae2 100644 --- a/lzbi-module/src/main/java/com/lzbi/asset/domain/DcBaseAssetInfo.java +++ b/lzbi-module/src/main/java/com/lzbi/asset/domain/DcBaseAssetInfo.java @@ -13,7 +13,6 @@ import lombok.experimental.Accessors; * @date 2023-11-27 */ @Data -//@TableName("dc_base_work_special") @Accessors(chain = true) public class DcBaseAssetInfo extends BaseModuleEntity { private static final long serialVersionUID = 1L; diff --git a/lzbi-module/src/main/java/com/lzbi/bi/domain/CalorificValueVO.java b/lzbi-module/src/main/java/com/lzbi/bi/domain/CalorificValueVO.java index 4cd5004..76e7ba6 100644 --- a/lzbi-module/src/main/java/com/lzbi/bi/domain/CalorificValueVO.java +++ b/lzbi-module/src/main/java/com/lzbi/bi/domain/CalorificValueVO.java @@ -24,5 +24,5 @@ public class CalorificValueVO { /** * 百分比 */ - private double percentage; + private int percentage; } diff --git a/lzbi-module/src/main/java/com/lzbi/bi/domain/ConsumesStatisticsDTO.java b/lzbi-module/src/main/java/com/lzbi/bi/domain/ConsumesStatisticsDTO.java new file mode 100644 index 0000000..f215bc2 --- /dev/null +++ b/lzbi-module/src/main/java/com/lzbi/bi/domain/ConsumesStatisticsDTO.java @@ -0,0 +1,32 @@ +package com.lzbi.bi.domain; + +import lombok.Data; + +@Data +public class ConsumesStatisticsDTO { + + /** + * 公司id + */ + private Long companyId; + /** + * 年 + */ + private String year; + /** + * 月 + */ + private String month; + /** + * 电耗指标模板 + */ + private String electricityConsumes; + /** + * 水耗指标模板 + */ + private String waterConsumes; + /** + * 煤耗指标模板 + */ + private String coalConsumes; +} diff --git a/lzbi-module/src/main/java/com/lzbi/bi/domain/CorporateStatisticsDTO.java b/lzbi-module/src/main/java/com/lzbi/bi/domain/CorporateStatisticsDTO.java new file mode 100644 index 0000000..742449a --- /dev/null +++ b/lzbi-module/src/main/java/com/lzbi/bi/domain/CorporateStatisticsDTO.java @@ -0,0 +1,36 @@ +package com.lzbi.bi.domain; + +import lombok.Data; + +@Data +public class CorporateStatisticsDTO { + + /** + * 公司id + */ + private Long companyId; + /** + * 年 + */ + private String year; + /** + * 月 + */ + private String month; + /** + * 面积 + */ + private String acreage; + /** + * 发电量 + */ + private String outputOfPlant; + /** + * 发热量 + */ + private String calorificValue; + /** + * 供热量 + */ + private String heatSupplied; +} diff --git a/lzbi-module/src/main/java/com/lzbi/bi/domain/HeatSuppliedVO.java b/lzbi-module/src/main/java/com/lzbi/bi/domain/HeatSuppliedVO.java index 531b241..c4b09dc 100644 --- a/lzbi-module/src/main/java/com/lzbi/bi/domain/HeatSuppliedVO.java +++ b/lzbi-module/src/main/java/com/lzbi/bi/domain/HeatSuppliedVO.java @@ -1,6 +1,8 @@ package com.lzbi.bi.domain; +import lombok.AllArgsConstructor; import lombok.Data; +import lombok.NoArgsConstructor; import java.math.BigDecimal; import java.util.List; @@ -11,7 +13,17 @@ import java.util.List; @Data public class HeatSuppliedVO { - private List labelArr; + private List