自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-07-15 304db327fb670a36c4212603fe0d68d62c67211b
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
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
package com.zy.asrs.entity;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
import com.core.common.Cools;
import com.core.common.SpringUtils;
import io.swagger.annotations.ApiModelProperty;
 
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
 
@TableName("asr_bas_devp")
public class BasDevp implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 编号
     */
    @ApiModelProperty(value= "编号")
    @TableId(value = "dev_no", type = IdType.INPUT)
    @TableField("dev_no")
    private Integer devNo;
 
    /**
     * 设备描述
     */
    @ApiModelProperty(value= "设备描述")
    @TableField("dec_desc")
    private String decDesc;
 
    /**
     * 备注
     */
    @ApiModelProperty(value= "备注")
    @TableField("dev_mk")
    private String devMk;
 
    /**
     * 可入
     */
    @ApiModelProperty(value= "可入")
    @TableField("in_enable")
    private String inEnable;
 
    /**
     * 可出
     */
    @ApiModelProperty(value= "可出")
    @TableField("out_enable")
    private String outEnable;
 
    /**
     * 自动
     */
    @ApiModelProperty(value= "自动")
    private String autoing;
 
    /**
     * 有物
     */
    @ApiModelProperty(value= "有物")
    private String loading;
 
    /**
     * 能入
     */
    @ApiModelProperty(value= "能入")
    private String canining;
 
    /**
     * 能出
     */
    @ApiModelProperty(value= "能出")
    private String canouting;
 
    @ApiModelProperty(value= "")
    private String fronting;
 
    @ApiModelProperty(value= "")
    private String rearing;
 
    @ApiModelProperty(value= "")
    private String uping;
 
    @ApiModelProperty(value= "")
    private String downing;
 
    /**
     * 需求1
     */
    @ApiModelProperty(value= "需求1")
    private String inreq1;
 
    /**
     * 需求2
     */
    @ApiModelProperty(value= "需求2")
    private String inreq2;
 
    /**
     * 工作号
     */
    @ApiModelProperty(value= "工作号")
    @TableField("wrk_no")
    private Integer wrkNo;
 
    @ApiModelProperty(value= "")
    @TableField("wrk_no1")
    private Integer wrkNo1;
 
    /**
     * 容器类型
     */
    @ApiModelProperty(value= "容器类型")
    @TableField("ctn_type")
    private Integer ctnType;
 
    /**
     * 条形码
     */
    @ApiModelProperty(value= "条形码")
    private String barcode;
 
    @ApiModelProperty(value= "")
    @TableField("in_qty")
    private Integer inQty;
 
    @ApiModelProperty(value= "")
    private Integer row1;
 
    @ApiModelProperty(value= "")
    @TableField("io_time")
    private Date ioTime;
 
    @ApiModelProperty(value= "")
    private String area;
 
    @ApiModelProperty(value= "")
    @TableField("in_ok")
    private String inOk;
 
    @ApiModelProperty(value= "")
    @TableField("out_ok")
    private String outOk;
 
    /**
     * 修改人员
     */
    @ApiModelProperty(value= "修改人员")
    @TableField("modi_user")
    private Long modiUser;
 
    /**
     * 修改时间
     */
    @ApiModelProperty(value= "修改时间")
    @TableField("modi_time")
    private Date modiTime;
 
    /**
     * 创建者
     */
    @ApiModelProperty(value= "创建者")
    @TableField("appe_user")
    private Long appeUser;
 
    /**
     * 添加时间
     */
    @ApiModelProperty(value= "添加时间")
    @TableField("appe_time")
    private Date appeTime;
 
    @ApiModelProperty(value= "")
    @TableField("std_qty")
    private Double stdQty;
 
    @ApiModelProperty(value= "")
    @TableField("min_wt")
    private Double minWt;
 
    @ApiModelProperty(value= "")
    @TableField("max_wt")
    private Double maxWt;
 
    /**
     * 重量
     */
    @ApiModelProperty(value= "重量")
    @TableField("gross_wt")
    private Double grossWt;
 
    @ApiModelProperty(value= "")
    @TableField("cart_pos")
    private Integer cartPos;
 
    public BasDevp() {}
 
    public BasDevp(String decDesc,String devMk,String inEnable,String outEnable,String autoing,String loading,String canining,String canouting,String fronting,String rearing,String uping,String downing,String inreq1,String inreq2,Integer wrkNo,Integer wrkNo1,Integer ctnType,String barcode,Integer inQty,Integer row1,Date ioTime,String area,String inOk,String outOk,Long modiUser,Date modiTime,Long appeUser,Date appeTime,Double stdQty,Double minWt,Double maxWt,Double grossWt,Integer cartPos) {
        this.decDesc = decDesc;
        this.devMk = devMk;
        this.inEnable = inEnable;
        this.outEnable = outEnable;
        this.autoing = autoing;
        this.loading = loading;
        this.canining = canining;
        this.canouting = canouting;
        this.fronting = fronting;
        this.rearing = rearing;
        this.uping = uping;
        this.downing = downing;
        this.inreq1 = inreq1;
        this.inreq2 = inreq2;
        this.wrkNo = wrkNo;
        this.wrkNo1 = wrkNo1;
        this.ctnType = ctnType;
        this.barcode = barcode;
        this.inQty = inQty;
        this.row1 = row1;
        this.ioTime = ioTime;
        this.area = area;
        this.inOk = inOk;
        this.outOk = outOk;
        this.modiUser = modiUser;
        this.modiTime = modiTime;
        this.appeUser = appeUser;
        this.appeTime = appeTime;
        this.stdQty = stdQty;
        this.minWt = minWt;
        this.maxWt = maxWt;
        this.grossWt = grossWt;
        this.cartPos = cartPos;
    }
 
//    BasDevp basDevp = new BasDevp(
//            null,    // 设备描述
//            null,    // 备注
//            null,    // 可入
//            null,    // 可出
//            null,    // 自动
//            null,    // 有物
//            null,    // 能入
//            null,    // 能出
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 需求1
//            null,    // 需求2
//            null,    // 工作号
//            null,    // 
//            null,    // 容器类型
//            null,    // 条形码
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 修改人员
//            null,    // 修改时间
//            null,    // 创建者
//            null,    // 添加时间
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 重量
//            null    // 
//    );
 
    public Integer getDevNo() {
        return devNo;
    }
 
    public void setDevNo(Integer devNo) {
        this.devNo = devNo;
    }
 
    public String getDecDesc() {
        return decDesc;
    }
 
    public void setDecDesc(String decDesc) {
        this.decDesc = decDesc;
    }
 
    public String getDevMk() {
        return devMk;
    }
 
    public void setDevMk(String devMk) {
        this.devMk = devMk;
    }
 
    public String getInEnable() {
        return inEnable;
    }
 
    public void setInEnable(String inEnable) {
        this.inEnable = inEnable;
    }
 
    public String getOutEnable() {
        return outEnable;
    }
 
    public void setOutEnable(String outEnable) {
        this.outEnable = outEnable;
    }
 
    public String getAutoing() {
        return autoing;
    }
 
    public void setAutoing(String autoing) {
        this.autoing = autoing;
    }
 
    public String getLoading() {
        return loading;
    }
 
    public void setLoading(String loading) {
        this.loading = loading;
    }
 
    public String getCanining() {
        return canining;
    }
 
    public void setCanining(String canining) {
        this.canining = canining;
    }
 
    public String getCanouting() {
        return canouting;
    }
 
    public void setCanouting(String canouting) {
        this.canouting = canouting;
    }
 
    public String getFronting() {
        return fronting;
    }
 
    public void setFronting(String fronting) {
        this.fronting = fronting;
    }
 
    public String getRearing() {
        return rearing;
    }
 
    public void setRearing(String rearing) {
        this.rearing = rearing;
    }
 
    public String getUping() {
        return uping;
    }
 
    public void setUping(String uping) {
        this.uping = uping;
    }
 
    public String getDowning() {
        return downing;
    }
 
    public void setDowning(String downing) {
        this.downing = downing;
    }
 
    public String getInreq1() {
        return inreq1;
    }
 
    public void setInreq1(String inreq1) {
        this.inreq1 = inreq1;
    }
 
    public String getInreq2() {
        return inreq2;
    }
 
    public void setInreq2(String inreq2) {
        this.inreq2 = inreq2;
    }
 
    public Integer getWrkNo() {
        return wrkNo;
    }
 
    public void setWrkNo(Integer wrkNo) {
        this.wrkNo = wrkNo;
    }
 
    public Integer getWrkNo1() {
        return wrkNo1;
    }
 
    public void setWrkNo1(Integer wrkNo1) {
        this.wrkNo1 = wrkNo1;
    }
 
    public Integer getCtnType() {
        return ctnType;
    }
 
    public void setCtnType(Integer ctnType) {
        this.ctnType = ctnType;
    }
 
    public String getBarcode() {
        return barcode;
    }
 
    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }
 
    public Integer getInQty() {
        return inQty;
    }
 
    public void setInQty(Integer inQty) {
        this.inQty = inQty;
    }
 
    public Integer getRow1() {
        return row1;
    }
 
    public void setRow1(Integer row1) {
        this.row1 = row1;
    }
 
    public Date getIoTime() {
        return ioTime;
    }
 
    public String getIoTime$(){
        if (Cools.isEmpty(this.ioTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.ioTime);
    }
 
    public void setIoTime(Date ioTime) {
        this.ioTime = ioTime;
    }
 
    public String getArea() {
        return area;
    }
 
    public void setArea(String area) {
        this.area = area;
    }
 
    public String getInOk() {
        return inOk;
    }
 
    public void setInOk(String inOk) {
        this.inOk = inOk;
    }
 
    public String getOutOk() {
        return outOk;
    }
 
    public void setOutOk(String outOk) {
        this.outOk = outOk;
    }
 
    public Long getModiUser() {
        return modiUser;
    }
 
    public String getModiUser$(){
        UserService service = SpringUtils.getBean(UserService.class);
        User user = service.selectById(this.modiUser);
        if (!Cools.isEmpty(user)){
            return String.valueOf(user.getUsername());
        }
        return null;
    }
 
    public void setModiUser(Long modiUser) {
        this.modiUser = modiUser;
    }
 
    public Date getModiTime() {
        return modiTime;
    }
 
    public String getModiTime$(){
        if (Cools.isEmpty(this.modiTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.modiTime);
    }
 
    public void setModiTime(Date modiTime) {
        this.modiTime = modiTime;
    }
 
    public Long getAppeUser() {
        return appeUser;
    }
 
    public String getAppeUser$(){
        UserService service = SpringUtils.getBean(UserService.class);
        User user = service.selectById(this.appeUser);
        if (!Cools.isEmpty(user)){
            return String.valueOf(user.getUsername());
        }
        return null;
    }
 
    public void setAppeUser(Long appeUser) {
        this.appeUser = appeUser;
    }
 
    public Date getAppeTime() {
        return appeTime;
    }
 
    public String getAppeTime$(){
        if (Cools.isEmpty(this.appeTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime);
    }
 
    public void setAppeTime(Date appeTime) {
        this.appeTime = appeTime;
    }
 
    public Double getStdQty() {
        return stdQty;
    }
 
    public void setStdQty(Double stdQty) {
        this.stdQty = stdQty;
    }
 
    public Double getMinWt() {
        return minWt;
    }
 
    public void setMinWt(Double minWt) {
        this.minWt = minWt;
    }
 
    public Double getMaxWt() {
        return maxWt;
    }
 
    public void setMaxWt(Double maxWt) {
        this.maxWt = maxWt;
    }
 
    public Double getGrossWt() {
        return grossWt;
    }
 
    public void setGrossWt(Double grossWt) {
        this.grossWt = grossWt;
    }
 
    public Integer getCartPos() {
        return cartPos;
    }
 
    public void setCartPos(Integer cartPos) {
        this.cartPos = cartPos;
    }
 
 
}