自动化立体仓库 - WCS系统
luxiaotao1123
2021-01-12 ad2697fec86e0bfcc6e3ba20af7f973ccbb5abe7
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
590
591
592
593
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.core.common.Cools;
import com.core.common.SpringUtils;
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
import io.swagger.annotations.ApiModelProperty;
 
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
 
@TableName("bas_mat_code")
public class MatCode implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 商品编号
     */
    @ApiModelProperty(value= "商品编号")
    @TableId(value = "mat_no", type = IdType.INPUT)
    @TableField("mat_no")
    private String matNo;
 
    /**
     * 条码
     */
    @ApiModelProperty(value= "条形码")
    private String barcode;
 
    /**
     * 商品名称
     */
    @ApiModelProperty(value= "商品名称")
    @TableField("mat_name")
    private String matName;
 
    /**
     * 物料单位
     */
    @ApiModelProperty(value= "单位")
    private String str1;
 
    @ApiModelProperty(value= "规格")
    private String str2;
 
    @ApiModelProperty(value= "品项数")
    private String str3;
 
    @ApiModelProperty(value= "客户名称")
    private String str4;
 
    @ApiModelProperty(value= "型号")
    private String str5;
 
    @ApiModelProperty(value= "批号")
    private String str6;
 
    @ApiModelProperty(value= "单据编号")
    private String str7;
 
    @ApiModelProperty(value= "")
    private String str8;
 
    @ApiModelProperty(value= "")
    private String str9;
 
    @ApiModelProperty(value= "")
    private String str10;
 
    @ApiModelProperty(value= "")
    private String str11;
 
    @ApiModelProperty(value= "")
    private String str12;
 
    @ApiModelProperty(value= "")
    private String str13;
 
    @ApiModelProperty(value= "")
    private String str14;
 
    @ApiModelProperty(value= "")
    private String str15;
 
    @ApiModelProperty(value= "")
    private String str16;
 
    @ApiModelProperty(value= "")
    private String str17;
 
    @ApiModelProperty(value= "")
    private String str18;
 
    @ApiModelProperty(value= "")
    private String str19;
 
    @ApiModelProperty(value= "")
    private String str20;
 
    @ApiModelProperty(value= "")
    private String str21;
 
    @ApiModelProperty(value= "")
    private String str22;
 
    @ApiModelProperty(value= "")
    private String str23;
 
    @ApiModelProperty(value= "重量")
    private Double num1;
 
    @ApiModelProperty(value= "")
    private Double num2;
 
    @ApiModelProperty(value= "")
    private Double num3;
 
    @ApiModelProperty(value= "")
    private Double num4;
 
    @ApiModelProperty(value= "")
    private Double num5;
 
    @ApiModelProperty(value= "")
    private Double num6;
 
    @ApiModelProperty(value= "")
    private Date date1;
 
    /**
     * 创建者
     */
    @ApiModelProperty(value= "创建者")
    @TableField("appe_user")
    private Long appeUser;
 
    /**
     * 添加时间
     */
    @ApiModelProperty(value= "添加时间")
    @TableField("appe_time")
    private Date appeTime;
 
    /**
     * 修改人员
     */
    @ApiModelProperty(value= "修改人员")
    @TableField("modi_user")
    private Long modiUser;
 
    /**
     * 修改时间
     */
    @ApiModelProperty(value= "修改时间")
    @TableField("modi_time")
    private Date modiTime;
 
    @ApiModelProperty(value= "")
    private Short status;
 
    public MatCode() {}
 
    public MatCode(String barcode,String matName,String str1,String str2,String str3,String str4,String str5,String str6,String str7,String str8,String str9,String str10,String str11,String str12,String str13,String str14,String str15,String str16,String str17,String str18,String str19,String str20,String str21,String str22,String str23,Double num1,Double num2,Double num3,Double num4,Double num5,Double num6,Date date1,Long appeUser,Date appeTime,Long modiUser,Date modiTime,Short status) {
        this.barcode = barcode;
        this.matName = matName;
        this.str1 = str1;
        this.str2 = str2;
        this.str3 = str3;
        this.str4 = str4;
        this.str5 = str5;
        this.str6 = str6;
        this.str7 = str7;
        this.str8 = str8;
        this.str9 = str9;
        this.str10 = str10;
        this.str11 = str11;
        this.str12 = str12;
        this.str13 = str13;
        this.str14 = str14;
        this.str15 = str15;
        this.str16 = str16;
        this.str17 = str17;
        this.str18 = str18;
        this.str19 = str19;
        this.str20 = str20;
        this.str21 = str21;
        this.str22 = str22;
        this.str23 = str23;
        this.num1 = num1;
        this.num2 = num2;
        this.num3 = num3;
        this.num4 = num4;
        this.num5 = num5;
        this.num6 = num6;
        this.date1 = date1;
        this.appeUser = appeUser;
        this.appeTime = appeTime;
        this.modiUser = modiUser;
        this.modiTime = modiTime;
        this.status = status;
    }
 
//    MatCode matCode = new MatCode(
//            null,    // 条码
//            null,    // 商品名称
//            null,    // 物料单位
//            null,    // 规格
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 创建者
//            null,    // 添加时间
//            null,    // 修改人员
//            null,    // 修改时间
//            null    // 
//    );
 
    public String getMatNo() {
        return matNo;
    }
 
    public void setMatNo(String matNo) {
        this.matNo = matNo;
    }
 
    public String getBarcode() {
        return barcode;
    }
 
    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }
 
    public String getMatName() {
        return matName;
    }
 
    public void setMatName(String matName) {
        this.matName = matName;
    }
 
    public String getStr1() {
        return str1;
    }
 
    public void setStr1(String str1) {
        this.str1 = str1;
    }
 
    public String getStr2() {
        return str2;
    }
 
    public void setStr2(String str2) {
        this.str2 = str2;
    }
 
    public String getStr3() {
        return str3;
    }
 
    public void setStr3(String str3) {
        this.str3 = str3;
    }
 
    public String getStr4() {
        return str4;
    }
 
    public void setStr4(String str4) {
        this.str4 = str4;
    }
 
    public String getStr5() {
        return str5;
    }
 
    public void setStr5(String str5) {
        this.str5 = str5;
    }
 
    public String getStr6() {
        return str6;
    }
 
    public void setStr6(String str6) {
        this.str6 = str6;
    }
 
    public String getStr7() {
        return str7;
    }
 
    public void setStr7(String str7) {
        this.str7 = str7;
    }
 
    public String getStr8() {
        return str8;
    }
 
    public void setStr8(String str8) {
        this.str8 = str8;
    }
 
    public String getStr9() {
        return str9;
    }
 
    public void setStr9(String str9) {
        this.str9 = str9;
    }
 
    public String getStr10() {
        return str10;
    }
 
    public void setStr10(String str10) {
        this.str10 = str10;
    }
 
    public String getStr11() {
        return str11;
    }
 
    public void setStr11(String str11) {
        this.str11 = str11;
    }
 
    public String getStr12() {
        return str12;
    }
 
    public void setStr12(String str12) {
        this.str12 = str12;
    }
 
    public String getStr13() {
        return str13;
    }
 
    public void setStr13(String str13) {
        this.str13 = str13;
    }
 
    public String getStr14() {
        return str14;
    }
 
    public void setStr14(String str14) {
        this.str14 = str14;
    }
 
    public String getStr15() {
        return str15;
    }
 
    public void setStr15(String str15) {
        this.str15 = str15;
    }
 
    public String getStr16() {
        return str16;
    }
 
    public void setStr16(String str16) {
        this.str16 = str16;
    }
 
    public String getStr17() {
        return str17;
    }
 
    public void setStr17(String str17) {
        this.str17 = str17;
    }
 
    public String getStr18() {
        return str18;
    }
 
    public void setStr18(String str18) {
        this.str18 = str18;
    }
 
    public String getStr19() {
        return str19;
    }
 
    public void setStr19(String str19) {
        this.str19 = str19;
    }
 
    public String getStr20() {
        return str20;
    }
 
    public void setStr20(String str20) {
        this.str20 = str20;
    }
 
    public String getStr21() {
        return str21;
    }
 
    public void setStr21(String str21) {
        this.str21 = str21;
    }
 
    public String getStr22() {
        return str22;
    }
 
    public void setStr22(String str22) {
        this.str22 = str22;
    }
 
    public String getStr23() {
        return str23;
    }
 
    public void setStr23(String str23) {
        this.str23 = str23;
    }
 
    public Double getNum1() {
        return num1;
    }
 
    public void setNum1(Double num1) {
        this.num1 = num1;
    }
 
    public Double getNum2() {
        return num2;
    }
 
    public void setNum2(Double num2) {
        this.num2 = num2;
    }
 
    public Double getNum3() {
        return num3;
    }
 
    public void setNum3(Double num3) {
        this.num3 = num3;
    }
 
    public Double getNum4() {
        return num4;
    }
 
    public void setNum4(Double num4) {
        this.num4 = num4;
    }
 
    public Double getNum5() {
        return num5;
    }
 
    public void setNum5(Double num5) {
        this.num5 = num5;
    }
 
    public Double getNum6() {
        return num6;
    }
 
    public void setNum6(Double num6) {
        this.num6 = num6;
    }
 
    public Date getDate1() {
        return date1;
    }
 
    public String getDate1$(){
        if (Cools.isEmpty(this.date1)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.date1);
    }
 
    public void setDate1(Date date1) {
        this.date1 = date1;
    }
 
    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 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 Short getStatus() {
        return status;
    }
 
    public void setStatus(Short status) {
        this.status = status;
    }
 
 
}