gaoluyang
昨天 8c65f898ed6e5b0c7a94c792c4562f6ec831dccd
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.worktime.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.List;
 
@Schema(description = "管理后台 - MES 工时考核报表 Response VO")
@Data
public class MesProWorktimeReportRespVO {
 
    @Schema(description = "合计")
    private Row summary;
 
    @Schema(description = "分组明细")
    private List<Row> rows;
 
    @Data
    @Schema(description = "工时考核报表行")
    public static class Row {
 
        @Schema(description = "分组键:人员/工序/机台编号或日期", example = "2026-11-01")
        private String dimKey;
 
        @Schema(description = "分组名称", example = "张三 / 绝缘50机 / 2026-11-01")
        private String dimName;
 
        @Schema(description = "报工单数", example = "8")
        private Long feedbackCount;
 
        @Schema(description = "生产长度合计(米)", example = "8000.00")
        private BigDecimal productionLength;
 
        @Schema(description = "实际工时合计(小时)", example = "12.50")
        private BigDecimal actualHours;
 
        @Schema(description = "标准工时合计(小时)", example = "10.00")
        private BigDecimal standardHours;
 
        @Schema(description = "工时差异合计(小时)= 实际 - 标准", example = "2.50")
        private BigDecimal workHoursDiff;
 
        @Schema(description = "工时差异率(%)= (实际 - 标准) ÷ 标准 × 100", example = "25.00")
        private BigDecimal workHoursDiffRate;
 
        @Schema(description = "报工工资合计(元)", example = "375.00")
        private BigDecimal wageAmount;
 
    }
 
}