bug
jiangping
2023-11-07 64b432916af9c9218ab3f3eca614e26c542142ae
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
package doumeemes.dao.ext.vo;
 
import doumeemes.core.annotation.excel.ExcelColumn;
import doumeemes.dao.business.model.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
import java.util.Date;
/**
 * @author 江蹄蹄
 * @date 2022/04/20 10:56
 */
@Data
@ApiModel("检验信息列表对象")
public class WorkorderCheckExtListVO implements Serializable{
 
    @ApiModelProperty(value = "主键", example = "1")
    private Integer id;
 
    @ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "1")
    private Integer deleted;
 
 
    @ApiModelProperty(value = "编号")
    @ExcelColumn(name="检验记录编号",index = 1,width =15)
    private String code;
 
    @ApiModelProperty(value = "检验日期")
    @ExcelColumn(name="检验时间",dateFormat = "yyyy-MM-dd HH:mm:ss",index = 2,width =15)
    // @JsonFormat(pattern = "yyyy-MM-dd")
    private Date checkDate;
 
 
    @ApiModelProperty(value = "检验人员姓名")
    @ExcelColumn(name="检验人员",index = 3,width =15)
    private String smodelRealName;
 
    @ApiModelProperty(value = "检验人员联系方式")
    private String smodelMobile;
 
    @ApiModelProperty(value = "工装容器编号")
//    @ExcelColumn(name="工装容器编号",index = 4,width =15)
    private String amodelcode;
 
 
 
    @ApiModelProperty(value = "检验合格数量", example = "1")
    @ExcelColumn(name="合格数量",index = 5,width =15)
    private String qualifiedNumname;
    @ApiModelProperty(value = "检验不合格数量", example = "1")
    @ExcelColumn(name="不良数量",index = 6,width =15)
    private String unqualifiedNumname;
 
    @ApiModelProperty(value = "工单编码)", example = "1")
    @ExcelColumn(name="工单编码",index = 7,width =15)
    private String workorderCode;
 
    @ApiModelProperty(value = "数量", example = "1")
    @ExcelColumn(name="生产数量",index = 8,width =15)
    private String numname;
 
 
    @ApiModelProperty(value = "检验类型 0巡线、1巡检、2终检", example = "1")
    @ExcelColumn(name="检验类型" ,valueMapping = "0=巡线;1=巡检;2=完工检",index = 9,width =15)
    private String checkTypename;
 
 
 
    @ApiModelProperty(value = "物料名称", example = "1")
    @ExcelColumn(name="物料名称" ,index = 10,width =15)
    private String mmodelname;
 
 
    @ApiModelProperty(value = "物料编码", example = "1")
    @ExcelColumn(name="物料编码" ,index = 11,width =15)
    private String mmodelcode;
 
    @ApiModelProperty(value = "工序", example = "1")
    @ExcelColumn(name="工序" ,index = 12,width =15)
    private String pmodelname;
 
    @ApiModelProperty(value = "生产日期")
    @ExcelColumn(name="完工时间",dateFormat = "yyyy-MM-dd",index = 13,width =15)
    // @JsonFormat(pattern = "yyyy-MM-dd")
    private Date proDate;
 
 
 
    @ApiModelProperty(value = "生产设备", example = "1")
    @ExcelColumn(name="生产设备" ,index = 14,width =15)
    private String devmodelname;
 
 
    @ApiModelProperty(value = "检验合格数量", example = "1")
    private Integer qualifiedNum;
 
    @ApiModelProperty(value = "检验不合格数量", example = "1")
    private Integer unqualifiedNum;
 
    @ApiModelProperty(value = "数量", example = "1")
    private Integer num;
 
 
    @ApiModelProperty(value = "创建人编码", example = "1")
    private Integer createUser;
 
    @ApiModelProperty(value = "创建时间")
   // @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
 
    @ApiModelProperty(value = "更新人编码", example = "1")
    private Integer updateUser;
 
    @ApiModelProperty(value = "更新时间")
  //  @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "主组织编码(关联department表根组织)", example = "1")
    private Integer rootDepartId;
 
    @ApiModelProperty(value = "公司级组织编码(关联department表)", example = "1")
    private Integer departId;
 
    @ApiModelProperty(value = "所属计划编码", example = "1")
    private Integer planId;
 
    @ApiModelProperty(value = "工单编码(关联department表)", example = "1")
    private Integer workorderId;
 
 
    @ApiModelProperty(value = "批次号")
    private String batch;
 
    @ApiModelProperty(value = "生产工厂机级组织编码(关联department表)", example = "1")
    private Integer factoryId;
 
    @ApiModelProperty(value = "生产工序编码(关联procedures表)", example = "1")
    private Integer procedureId;
 
    @ApiModelProperty(value = "生产设备编码(关联device表)", example = "1")
    private Integer proDeviceId;
 
    @ApiModelProperty(value = "工装编码(关联appliances表)", example = "1")
    private Integer appliancesId;
 
 
    @ApiModelProperty(value = "生产类型0.投料,1.产出", example = "1")
    private Integer type;
 
 
 
    @ApiModelProperty(value = "报工类型0合格 1不良(只有type=1才有值)", example = "1")
    private Integer doneType;
 
    @ApiModelProperty(value = "物料编码(关联material_distribute表)", example = "1")
    private Integer materialId;
 
    @ApiModelProperty(value = "单位编码(关联unit_distribute表)", example = "1")
    private Integer unitId;
 
    @ApiModelProperty(value = "物料批次号")
    private String materialBatch;
 
 
    @ApiModelProperty(value = "检验方法 0全检 1抽检", example = "1")
    private Integer checkWay;
 
    @ApiModelProperty(value = "检验人员编码", example = "1")
    private Integer checkUserId;
    @ApiModelProperty(value = "检验人员部门名称", example = "1")
    private String checkUserDepartName;
 
 
 
 
 
    @ApiModelProperty(value = "检查范围 0工单 1容器", example = "1")
    private Integer checkScope;
 
 
 
    @ApiModelProperty(value = "检验说明")
    private String checkInfo;
 
    @ApiModelProperty(value = "检验不良品工装编码(关联appliances表)")
    private String qualifiedApplianceId;
 
    @ApiModelProperty(value = "检验不良品工装编码")
    private String qualifiedApplianceCode;
 
 
    @ApiModelProperty(value = "生产人员编码集合([1],[2],...形式存储,优化查询)")
    private String proUserids;
 
    @ApiModelProperty(value = "检验类型 0巡线、1巡检、2终检", example = "1")
    private Integer checkType;
 
 
 
    @ApiModelProperty(value = "系统-组织信息表信息")
    private Department dmodel;
 
    @ApiModelProperty(value = "仓库信息表信息")
    private Warehouse wmodel;
 
    @ApiModelProperty(value = "系统-组织信息表信息")
    private Department fmodel;
 
    @ApiModelProperty(value = "工序信息表信息")
    private Procedures pmodel;
 
    @ApiModelProperty(value = "工装器具信息表信息")
    private Appliances amodel;
 
    @ApiModelProperty(value = "生产设备信息表信息")
    private Device devmodel;
 
    @ApiModelProperty(value = "物料基本信息表信息")
    private Material mmodel;
 
    @ApiModelProperty(value = "物料单位信息表信息")
    private Unit umodel;
 
 
    @ApiModelProperty(value = "工单状态")
    private Integer workorderstatus;
}