xiaoyi
4 天以前 883f5e73fbe7458fd760dbe8560dd5d8757e04cd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
package cn.iocoder.yudao.module.mes.controller.admin.em.statistics.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;
 
@Schema(description = "管理后台 - MES 能耗报表 Response VO")
@Data
public class MesEmReportRespVO {
 
    @Schema(description = "报表月份", example = "2026-10")
    private String period;
 
    @Schema(description = "开始日期")
    private LocalDate beginDate;
 
    @Schema(description = "结束日期")
    private LocalDate endDate;
 
    @Schema(description = "综合能耗(吨标煤)")
    private BigDecimal totalTce;
 
    @Schema(description = "总费用")
    private BigDecimal totalCost;
 
    @Schema(description = "上月综合能耗")
    private BigDecimal lastMonthTce;
 
    @Schema(description = "环比(%)")
    private BigDecimal momRate;
 
    @Schema(description = "去年同月综合能耗")
    private BigDecimal lastYearTce;
 
    @Schema(description = "同比(%)")
    private BigDecimal yoyRate;
 
    @Schema(description = "按能源类型统计")
    private List<TypeRow> typeRows;
 
    @Schema(description = "按车间统计")
    private List<WorkshopRow> workshopRows;
 
    @Data
    public static class TypeRow {
 
        @Schema(description = "能源类型")
        private Integer energyType;
 
        @Schema(description = "能源类型名称")
        private String energyTypeName;
 
        @Schema(description = "本月用量")
        private BigDecimal usage;
 
        @Schema(description = "计量单位")
        private String unit;
 
        @Schema(description = "本月费用")
        private BigDecimal cost;
 
        @Schema(description = "本月折标煤(吨)")
        private BigDecimal tce;
 
        @Schema(description = "上月用量")
        private BigDecimal lastMonthUsage;
 
        @Schema(description = "环比(%)")
        private BigDecimal momRate;
 
        @Schema(description = "去年同月用量")
        private BigDecimal lastYearUsage;
 
        @Schema(description = "同比(%)")
        private BigDecimal yoyRate;
 
    }
 
    @Data
    public static class WorkshopRow {
 
        @Schema(description = "车间编号")
        private Long workshopId;
 
        @Schema(description = "车间名称")
        private String workshopName;
 
        @Schema(description = "本月费用")
        private BigDecimal cost;
 
        @Schema(description = "本月折标煤(吨)")
        private BigDecimal tce;
 
        @Schema(description = "上月折标煤(吨)")
        private BigDecimal lastMonthTce;
 
        @Schema(description = "环比(%)")
        private BigDecimal momRate;
 
        @Schema(description = "去年同月折标煤(吨)")
        private BigDecimal lastYearTce;
 
        @Schema(description = "同比(%)")
        private BigDecimal yoyRate;
 
    }
 
}