6 天以前 1e123568c2f561013f5636e45dc0db30b17a3517
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
package com.ruoyi.quality.dto;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
 
@Data
@Schema(name = "QualityTraceChainVo", description = "追溯链路(按生产订单分组)")
public class QualityTraceChainVo {
 
    @Schema(description = "生产订单id")
    private Long productionOrderId;
 
    @Schema(description = "生产订单号")
    private String npsNo;
 
    @Schema(description = "成品 名称/规格")
    private String finishedProduct;
 
    @Schema(description = "成品单位")
    private String unit;
 
    @Schema(description = "订单计划数量")
    private BigDecimal planQty;
 
    @Schema(description = "订单完工数量")
    private BigDecimal completeQty;
 
    @Schema(description = "订单状态")
    private Integer orderStatus;
 
    @Schema(description = "订单创建时间")
    private LocalDateTime orderCreateTime;
 
    @Schema(description = "该订单下命中查询批号的成品入库记录")
    private List<QualityTraceFinishedBatchVo> batches = new ArrayList<>();
 
    @Schema(description = "报工(工序)节点")
    private List<QualityTraceReportVo> reports = new ArrayList<>();
 
    @Schema(description = "报工投入物料")
    private List<QualityTraceInputVo> inputs = new ArrayList<>();
 
    @Schema(description = "生产领料批次(原料批号)")
    private List<QualityTracePickVo> picks = new ArrayList<>();
 
    @Schema(description = "过程/出厂检验单")
    private List<QualityTraceInspectVo> inspects = new ArrayList<>();
 
    @Schema(description = "不合格处理记录")
    private List<QualityTraceUnqualifiedVo> unqualifiedList = new ArrayList<>();
}