czt
20 小时以前 9f6dacf7b39e5aeba37d8faf575c9e56d8cbe51a
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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
package com.fzzy.async.whhpjl.entity;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fzzy.api.Constant;
import com.fzzy.otherview.whhpjl.dto.ShareApi2013Dd;
import com.fzzy.otherview.whhpjl.dto.ShareApi2013Dm;
import com.fzzy.otherview.whhpjl.dto.ShareApi2013Syy;
import com.fzzy.otherview.whhpjl.dto.ShareApi2013Xmf;
import lombok.Data;
 
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
 
/**
 * 质量管理,2023年5月26日 根据新国粮规优化调整
 *
 * @author chen
 */
@Data
@Entity
@Table(name = "D_M_QUALITY")
public class Fz40WhjlMQuality implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "主键ID", description = "ZJ+检验类别+年月日时分秒")
    private String id;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    @Column(name = "DEPT_ID_", length = 40)
    @PropertyDef(label = "库区编码")
    private String deptId;
 
    @Column(name = "DEPOT_ID_", length = 50)
    @PropertyDef(label = "仓库编码")
    private String depotId;
 
    @Column(name = "FOOD_VARIETY_", length = 10)
    @PropertyDef(label = "粮食品种")
    private String foodVariety;
 
    @Column(name = "FOOD_LEVEL_", length = 10)
    @PropertyDef(label = "粮食等级")
    private String foodLevel;
 
    @PropertyDef(label = "入库日期")
    @Column(name = "STORE_DATE_")
    private Date storeDate;
 
    @Column(name = "TYPE_", length = 10)
    @PropertyDef(label = "检验类别", description = "01:入仓验收 02:出仓检验 03:3 月末普检04:9 月末普检 05:入仓初检 06:月度检查 07:3 月末库内普查 08:9 月末库内普查")
    private String type;
 
    @Column(name = "TIME_")
    @PropertyDef(label = "检验时间")
    private Date time;
 
    @Column(name = "UNIT_", length = 50)
    @PropertyDef(label = "检验单位")
    private String unit;
 
    @Column(name = "USER_", length = 50)
    @PropertyDef(label = "检验人", description = "检验人员姓名,若有多个保管员")
    private String user;
 
    @Column(name = "STANDARD_", length = 4)
    @PropertyDef(label = "检验依据", description = "1-国标,0-其他")
    private String standard;
 
 
    @PropertyDef(label = "指标类别", description = "1: 质量指标检验2:储存品质检验3:食品安全检验 如果同时检验了多个,用#隔开,例如:1#2#3")
    @Column(name = "zblb", length = 8)
    private String zblb;
 
    @Column(name = "RESULT_", length = 40)
    @PropertyDef(label = "检验结论", description = "1、质量指标填写/达标/不达标 2、储存品质指标填写“宜存”、轻度不宜存”、“重度不宜存”3、食品安全指标填写“合格”、不合格” 多项指标时以#分隔,例如:达标|综合判定#宜存#合格 ")
    private String result;
 
    @Column(name = "spaqzbsfhg", length = 40)
    @PropertyDef(label = "食品安全指标是否合格", description = "0-不合格,1-合格")
    private String spaqzbsfhg;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "签发日期")
    @Column(name = "qfrq")
    private Date qfrq;
 
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "报告出具时间")
    @Column(name = "bgcjsj")
    private Date bgcjsj;
 
    @PropertyDef(label = "审核人姓名")
    @Column(name = "shrxm", length = 64)
    private String shrxm;
 
    @PropertyDef(label = "扦样单编号")
    @Column(name = "qydbh", length = 64)
    private String qydbh;
 
    @Column(name = "CHECK_TIME_")
    @PropertyDef(label = "扦样时间", required = true)
    private Date checkTime;
 
    @Column(name = "CHECK_AREA_", length = 50)
    @PropertyDef(label = "扦样区域")
    private String checkArea;
 
    @Column(name = "CHECK_USER_", length = 50)
    @PropertyDef(label = "扦样人", required = true)
    private String checkUser;
 
    @PropertyDef(label = "监督人姓名")
    @Column(name = "jdrxm", length = 64)
    private String jdrxm;
 
    @PropertyDef(label = "样品编号")
    @Column(name = "ypbh", length = 64)
    private String ypbh;
 
    @PropertyDef(label = "样品数量", required = true)
    @Column(name = "ypsl", precision = 20, scale = 6)
    private Double ypsl;
 
    @PropertyDef(label = "代表数量")
    @Column(name = "dbsl", precision = 20, scale = 6)
    private Double dbsl;
 
    @PropertyDef(label = "样品等级")
    @Column(name = "ypdj", length = 2)
    private String ypdj;
 
    @Column(name = "NORMAL_YEAR_", length = 10)
    @PropertyDef(label = "是否正常存储年限")
    private String normalYear;
 
    @Column(name = "REMARK_", length = 200)
    @PropertyDef(label = "备注", description = "备注信息")
    private String remark;
 
    @Column(name = "UPDATE_TIME_")
    @PropertyDef(label = "数据更新时间")
    private Date updateTime;
 
 
    /**
     * --------附件--------
     **/
    @Column(name = "FILE_ID_", length = 30)
    @PropertyDef(label = "附件id")
    private String fileId;
 
    @Column(name = "FILE_NAME_", length = 50)
    @PropertyDef(label = "附件名称")
    private String fileName;
 
    @Column(name = "FILE_TIME_")
    @PropertyDef(label = "附件上传时间")
    private Date fileTime;
 
    /************
     * 黄陂军粮用-省质检中心报告
     ************/
 
    @Column(name = "PROV_RESERVE_", length = 1)
    @PropertyDef(label = "是否为省级质检中心报告", description = "Y-是,N-否")
    private String provReserve = Constant.YN_N;
 
    @Column(name = "QLY_ORG_REPORTID_", length = 20)
    @PropertyDef(label = "质检报告id")
    private String qlyOrgReportId;  //质检报告id
 
    @Column(name = "ORDER_ID_", length = 20)
    @PropertyDef(label = "订单表ID")
    private String orderId;  //订单表ID
 
    @Column(name = "SAMPLE_ID_", length = 20)
    @PropertyDef(label = "样品表ID")
    private String sampleId;  //样品表ID
 
    @Column(name = "ORG_ID_", length = 20)
    @PropertyDef(label = "机构表ID")
    private String orgId;  //机构表ID
 
    @Column(name = "QUALITY_ORG_ID_", length = 50)
    @PropertyDef(label = "质检机构编号")
    private String qualityOrgId;  //质检机构编号
 
    @Column(name = "QUALITY_ORG_NAME_", length = 50)
    @PropertyDef(label = "质检机构名称")
    private String qualityOrgName;  //质检机构名称
 
    @Column(name = "GYSXYDM_", length = 50)
    @PropertyDef(label = "供应商信用代码")
    private String gysxydm;  //供应商信用代码
 
    @Column(name = "JLQYBH_", length = 50)
    @PropertyDef(label = "军粮企业编号")
    private String jlqybh;  //军粮企业编号
 
    @Column(name = "JLQYMC_", length = 50)
    @PropertyDef(label = "军粮企业名称")
    private String jlqymc;  //军粮企业名称
 
    @Column(name = "KDBM_", length = 20)
    @PropertyDef(label = "库点编码")
    private String kdbm;  //库点编码
 
    @Column(name = "KDMC_", length = 50)
    @PropertyDef(label = "库点名称")
    private String kdmc;  //库点名称
 
    @Column(name = "DELECTION_TYPE_", length = 20)
    @PropertyDef(label = "检测报告类型")
    private String delectionType;  //检测报告类型
 
    @Column(name = "DELETCTION_NUMBER_", length = 50)
    @PropertyDef(label = "检测报告编号")
    private String deletctionNumber;  //检测报告编号
 
    @Column(name = "JLCPMC_", length = 50)
    @PropertyDef(label = "军粮产品名称")
    private String jlcpmc;  //军粮产品名称
 
    @Column(name = "JLLSPZ_", length = 50)
    @PropertyDef(label = "军粮粮食品种")
    private String jllspz;  //军粮粮食品种
 
    @Column(name = "LOT_NUMBER_", length = 50)
    @PropertyDef(label = "批号")
    private String lotNumber;  //批号
 
    @Column(name = "SPECIFICATION_MODEL_", length = 50)
    @PropertyDef(label = "规格型号")
    private String specificationModel;  //规格型号
 
    @Column(name = "CYSM_", length = 200)
    @PropertyDef(label = "抽样说明")
    private String cysm;  //抽样说明
 
    @JSONField(format = "yyyy-MM-dd")
    @Column(name = "REGISTRATION_", length = 20)
    @PropertyDef(label = "登记时间")
    private String registration;  //登记时间
 
    @Column(name = "INSPECT_PLAN_", length = 200)
    @PropertyDef(label = "检验方案")
    private String inspectPlan;  //检验方案
 
    @Column(name = "PRODUCT_TYPE_", length = 20)
    @PropertyDef(label = "产品类型")
    private String productType;  //产品类型
 
    @Column(name = "CYJS_", length = 20)
    @PropertyDef(label = "抽样基数")
    private String cyjs;  //抽样基数
 
    @Column(name = "CYSL_", length = 20)
    @PropertyDef(label = "抽样数量")
    private String cysl;  //抽样数量
 
    @Column(name = "SAMPLER_", length = 50)
    @PropertyDef(label = "抽样人")
    private String sampler;  //抽样人
 
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "SAMPLER_TIME_", length = 20)
    @PropertyDef(label = "抽样时间")
    private String samplerTime;  //抽样时间
 
    @Column(name = "SAMPLER_AREA_", length = 200)
    @PropertyDef(label = "抽样地点")
    private String samplerArea;  //抽样地点
 
    @JSONField(format = "yyyy-MM-dd")
    @Column(name = "CREATE_TIME_", length = 20)
    @PropertyDef(label = "生产日期")
    private Date createTime;  //生产日期
 
    @Column(name = "IS_ACTIVE_", length = 1)
    @PropertyDef(label = "是否有效")
    private String isActive;  //是否有效
 
    @Column(name = "REPORT_FILE_", length = 200)
    @PropertyDef(label = "质检报告文件")
    private String reportFile;  //质检报告文件
 
    @Column(name = "CREATE_DATE_", length = 40)
    @PropertyDef(label = "创建时间")
    private String createDate;  //创建时间
 
    @Column(name = "CREATE_BY_", length = 50)
    @PropertyDef(label = "创建人")
    private String createBy;  //创建人
 
    @Column(name = "UPDATE_DATE_", length = 40)
    @PropertyDef(label = "更新时间")
    private String updateDate;  //更新时间
 
    @Column(name = "UPDATE_BY_", length = 50)
    @PropertyDef(label = "更新人")
    private String updateBy;  //更新人
 
 
}