feat:添加app质量概况接口
parent
1ea54b1f57
commit
13183a6a2a
@ -0,0 +1,67 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.controller.admin.plan.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(description = "管理后台 - 生产计划质量概况 Response VO")
|
||||||
|
public class PlanQualityOverviewRespVO {
|
||||||
|
|
||||||
|
@Schema(description = "报工总数")
|
||||||
|
private Long totalWangongNumber;
|
||||||
|
|
||||||
|
@Schema(description = "合格总数")
|
||||||
|
private Long totalPassNumber;
|
||||||
|
|
||||||
|
@Schema(description = "不合格总数")
|
||||||
|
private Long totalNoPassNumber;
|
||||||
|
|
||||||
|
@Schema(description = "总合格率")
|
||||||
|
private BigDecimal totalPassRate;
|
||||||
|
|
||||||
|
@Schema(description = "按产品合格率排行")
|
||||||
|
private List<ProductPassRateItem> productPassRateList;
|
||||||
|
|
||||||
|
@Schema(description = "双折线图数据")
|
||||||
|
private List<TrendItem> trendList;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(description = "产品合格率项")
|
||||||
|
public static class ProductPassRateItem {
|
||||||
|
|
||||||
|
@Schema(description = "产品ID")
|
||||||
|
private Long productId;
|
||||||
|
|
||||||
|
@Schema(description = "产品名称")
|
||||||
|
private String productName;
|
||||||
|
|
||||||
|
@Schema(description = "报工总数")
|
||||||
|
private Long wangongNumber;
|
||||||
|
|
||||||
|
@Schema(description = "合格数")
|
||||||
|
private Long passNumber;
|
||||||
|
|
||||||
|
@Schema(description = "不合格数")
|
||||||
|
private Long noPassNumber;
|
||||||
|
|
||||||
|
@Schema(description = "合格率")
|
||||||
|
private BigDecimal passRate;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(description = "趋势项")
|
||||||
|
public static class TrendItem {
|
||||||
|
|
||||||
|
@Schema(description = "日期")
|
||||||
|
private String day;
|
||||||
|
|
||||||
|
@Schema(description = "合格数")
|
||||||
|
private Long passNumber;
|
||||||
|
|
||||||
|
@Schema(description = "不合格数")
|
||||||
|
private Long noPassNumber;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue