自动化立体仓库 - WMS系统
LSH
2023-07-21 bc8e064b89dcb9cf3500a5aeaaecf9e0a7f6b4ab
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
package com.zy.asrs.entity.param;
 
import com.core.common.Cools;
import lombok.Data;
 
import java.util.List;
/*
 *  Created by Monkey D. Luffy on 2023.07.19
 * */
@Data
public class PalletizingCompleteParam {
 
    private String barcode;//    是    字符串    托盘码
    private String palletizingNo;//    是    字符串    码垛位编号
    private String boxType;//    是    字符串    码垛位编号
    private String createTime;//    是    字符串    创建时间
 
    private List<MatList> matLists;//        是    列表    拆垛货物信息(2箱,尾箱可能1箱)
 
    @Data
    public static class MatList{
        private String matnr;//    是    字符串    物料编码
        private String maktx;//    是    字符串    物料名称
        private String boxNo;//    是    字符串    木箱编号(唯一字段,出库依据,出库时按照木箱编号出库)
        private String position;//    是    字符串    木箱码垛位置(拆垛时需要)
        private Double weight;//    是    小数型    重量
        private Integer anfme;//    是    数字型    木箱中铜箔数量
        private String batch;//    (是否分批)    字符串    批次号
        private String specs;//    (是否需要)    字符串    规格
    }
 
    public Integer getDevNo$(){
        if (!Cools.isEmpty(this.palletizingNo)){
            switch (this.palletizingNo){
                case "1":
                    return 220;
                case "2":
                    return 216;
                case "3":
                    return 118;
                default:
                    return null;
            }
        }
        return null;
    }
 
}