4 天以前 741918a903e17b2ec7522556d2c043b8d35dd8a1
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
package com.ruoyi.quality.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.basic.dto.StorageBlobDTO;
import com.ruoyi.basic.dto.StorageBlobVO;
import com.ruoyi.dto.DateQueryDto;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
 
/**
 * 质量管理--不合格品处理单
 * quality_unqualified_order
 */
@TableName(value = "quality_unqualified_order")
@Data
public class QualityUnqualifiedOrder extends DateQueryDto implements Serializable {
    private static final long serialVersionUID = 1L;
 
    @TableId(type = IdType.AUTO)
    private Long id;
 
    @Schema(description = "处理单编号")
    private String orderNo;
 
    @Schema(description = "关联不合格品ID")
    private Long unqualifiedId;
 
    @Excel(name = "项目名称")
    private String projectName;
 
    @Excel(name = "项目编号")
    private String projectNo;
 
    @Schema(description = "关联设备ID")
    private Long equipmentId;
 
    @Excel(name = "设备名称")
    private String equipmentName;
 
    @Schema(description = "设备图号")
    private String equipmentDrawingNo;
 
    @Excel(name = "物料/部件名称")
    private String materialName;
 
    @Schema(description = "关联产品型号ID")
    private Long productModelId;
 
    @Schema(description = "物料图号")
    private String materialDrawingNo;
 
    @Excel(name = "型号规格")
    private String specificationModel;
 
    @Schema(description = "材质")
    private String materialQuality;
 
    @Excel(name = "总数量")
    private BigDecimal quantity;
 
    @Excel(name = "不合格数量")
    private BigDecimal unqualifiedQuantity;
 
    @Excel(name = "不合格工序", readConverterExp = "1=来料,2=制程,3=成品")
    private Integer unqualifiedProcess;
 
    @Excel(name = "供应商名称")
    private String supplierName;
 
    @Excel(name = "检验员")
    private String inspectorName;
 
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检验日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectDate;
 
    @Schema(description = "责任人")
    private String responsiblePerson;
 
    @Schema(description = "责任部门")
    private String responsibleDept;
 
    @Schema(description = "问题描述")
    private String problemDescription;
 
    @Schema(description = "原因分析及建议")
    private String reasonAnalysis;
 
    @Schema(description = "纠正措施")
    private String correctionAction;
 
    @Excel(name = "处置方式", readConverterExp = "1=让步接收,2=厂内维修,3=返厂维修,4=换货,5=退货,6=报废")
    private Integer disposalMethod;
 
    @Schema(description = "厂内/返厂维修评估")
    private String repairEvaluation;
 
    @Schema(description = "预防措施")
    private String preventiveAction;
 
    @Excel(name = "状态", readConverterExp = "0=草稿,1=待审批,2=审批中,3=已完成,4=已驳回")
    private Integer status;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "责任部门主管意见")
    private String deptOpinion;
 
    @Schema(description = "公司处理决定")
    private String companyDecision;
 
    @Schema(description = "总经理意见")
    private String generalManagerOpinion;
 
    @Schema(description = "创建用户")
    @TableField(value = "create_by", fill = FieldFill.INSERT)
    private Integer createBy;
 
    @Schema(description = "修改用户")
    @TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE)
    private Integer updateBy;
 
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    @Schema(description = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    @Schema(description = "租户ID")
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
 
    @Schema(description = "部门ID")
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
 
    @TableField(fill = FieldFill.INSERT)
    private Integer deleted;
 
    @Schema(description = "附件列表(新增/编辑时传入)")
    @TableField(exist = false)
    private List<StorageBlobDTO> storageBlobDTOs;
 
    @Schema(description = "附件列表(查询时返回)")
    @TableField(exist = false)
    private List<StorageBlobVO> storageBlobVOs;
}