xiaoyi
3 天以前 abf1c0a35d85d38239ff5d2ed746a4e4b797c9d1
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.feedback.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 MesProFeedbackSummaryRespVO {
 
    @Schema(description = "累计报工数量")
    private BigDecimal totalFeedbackQuantity;
 
    @Schema(description = "累计合格数量")
    private BigDecimal totalQualifiedQuantity;
 
    @Schema(description = "累计报工单数")
    private Integer totalFeedbackCount;
 
    @Schema(description = "按工单类型汇总")
    private List<TypeSummaryItem> byType;
 
    @Schema(description = "按日期汇总")
    private List<DateSummaryItem> byDate;
 
    @Schema(description = "按工单类型汇总项")
    @Data
    public static class TypeSummaryItem {
 
        @Schema(description = "工单类型")
        private Integer workOrderType;
 
        @Schema(description = "工单类型名称")
        private String workOrderTypeName;
 
        @Schema(description = "报工数量")
        private BigDecimal feedbackQuantity;
 
        @Schema(description = "合格数量")
        private BigDecimal qualifiedQuantity;
 
        @Schema(description = "报工单数")
        private Integer feedbackCount;
    }
 
    @Schema(description = "按日期汇总项")
    @Data
    public static class DateSummaryItem {
 
        @Schema(description = "日期")
        private LocalDate date;
 
        @Schema(description = "报工数量")
        private BigDecimal feedbackQuantity;
 
        @Schema(description = "合格数量")
        private BigDecimal qualifiedQuantity;
 
        @Schema(description = "报工单数")
        private Integer feedbackCount;
    }
 
}