自动化立体仓库 - WMS系统
zjj
2023-09-06 914a092bc4c21d69641f94b68fecf61b25ddaca1
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
package com.zy.common.model;
 
import com.core.common.Cools;
import lombok.AllArgsConstructor;
import lombok.Data;
 
import java.util.List;
 
/**
 * Created by vincent on 2022/3/28
 */
@Data
public class LocDto {
 
    private Long hostId;
 
    private String locNo;
 
    private String matnr;
 
    private String maktx;
 
    private String batch;
 
    private String orderNo;
    private String manu;
 
    //实际出库量
    private Double anfme;
 
 
    //所需出库量
    private Double needQty;
 
    private boolean lack = false;
 
    private List<Integer> staNos;
 
    private Integer staNo;
 
    public LocDto() {
    }
 
    public LocDto(Long hostId,String locNo, String matnr, String batch, Double anfme,String manu) {
        this.locNo = locNo;
        this.matnr = matnr;
        this.batch = batch;
        this.anfme = anfme;
        this.hostId = hostId;
        this.manu = manu;
    }
 
    public LocDto(Long hostId,String locNo, String matnr, String batch, String orderNo, Double anfme,String manu) {
        this.locNo = locNo;
        this.matnr = matnr;
        this.batch = batch;
        this.orderNo = orderNo;
        this.anfme = anfme;
        this.hostId = hostId;
        this.manu = manu;
    }
 
    public LocDto(Long hostId,String locNo, String matnr, String maktx, String batch, String orderNo, Double anfme,String manu) {
        this.locNo = locNo;
        this.matnr = matnr;
        this.maktx = maktx;
        this.batch = batch;
        this.orderNo = orderNo;
        this.anfme = anfme;
        this.hostId = hostId;
        this.manu = manu;
 
    }
 
    public LocDto(Long hostId,String locNo, String matnr, String maktx, String batch, String orderNo, Double anfme, Double needQty,String manu) {
        this.locNo = locNo;
        this.matnr = matnr;
        this.maktx = maktx;
        this.batch = batch;
        this.orderNo = orderNo;
        this.anfme = anfme;
        this.needQty = needQty;
        this.hostId = hostId;
        this.manu = manu;
    }
 
    public String getTitle() {
        return this.matnr + "(" + this.maktx + ")";
    }
 
    public void setStaNos(List<Integer> staNos) {
        this.staNos = staNos;
        if (!Cools.isEmpty(staNos)) {
            this.staNo = staNos.get(0);
        }
    }
 
}