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;
|
}
|
|
}
|