自动化立体仓库 - WMS系统
pang.jiabao
昨天 203e2664c13883f8bb64f638cb1794c0b4480ec2
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
package com.zy.asrs.entity.result;
 
import com.zy.asrs.entity.LocDetl;
import com.zy.asrs.entity.WaitPakin;
import com.zy.asrs.entity.WrkDetl;
import com.zy.asrs.entity.param.FullStoreParam;
 
public class FindLocNoAttributeVo {
    private String matnr = "";
    private String specs = "";
    private String batch = "";
    private String grade = "";
    private String brand = "";
    private String model = "";
    private String standby1 = "";
    private String standby2 = "";
    private String standby3 = "";
    private String boxType1 = "1";
    private String boxType2 = "1";
    private String boxType3 = "1";
 
    public FindLocNoAttributeVo() {
    }
 
    public FindLocNoAttributeVo(String matnr) {
        this.matnr = matnr;
    }
 
    public FindLocNoAttributeVo(String matnr, String batch) {
        this.matnr = matnr;
        this.batch = batch;
    }
 
    public FindLocNoAttributeVo(String matnr, String specs, String batch, String grade, String brand, String standby1, String standby2, String standby3, String boxType1, String boxType2, String boxType3) {
        this.matnr = matnr;
        this.specs = specs;
        this.batch = batch;
        this.grade = grade;
        this.brand = brand;
        this.standby1 = standby1;
        this.standby2 = standby2;
        this.standby3 = standby3;
        this.boxType1 = boxType1;
        this.boxType2 = boxType2;
        this.boxType3 = boxType3;
    }
 
    public FindLocNoAttributeVo(String matnr, String batch, String brand) {
        this.matnr = matnr;
        this.batch = batch;
        this.brand = brand;
    }
 
    public FindLocNoAttributeVo(String matnr, String batch, String standby1, String standby2, String standby3) {
        this.matnr = matnr;
        this.batch = batch;
        this.standby1 = standby1;
        this.standby2 = standby2;
        this.standby3 = standby3;
    }
 
    public FindLocNoAttributeVo(String matnr, String specs, String batch, String grade, String brand, String standby1, String standby2, String standby3) {
        this.matnr = matnr;
        this.specs = specs;
        this.batch = batch;
        this.grade = grade;
        this.brand = brand;
        this.standby1 = standby1;
        this.standby2 = standby2;
        this.standby3 = standby3;
    }
 
    public FindLocNoAttributeVo(WaitPakin waitPakin) {
        this.matnr = waitPakin.getMatnr();
        this.specs = waitPakin.getSpecs();
        this.batch = waitPakin.getBatch();
        this.model = waitPakin.getModel();
//        this.grade = waitPakin.g;
        this.brand = waitPakin.getBrand();
        this.standby1 = waitPakin.getStandby1();
        this.standby2 = waitPakin.getStandby2();
        this.standby3 = waitPakin.getStandby3();
        this.boxType1 = waitPakin.getBoxType1();
        this.boxType2 = waitPakin.getBoxType2();
        this.boxType3 = waitPakin.getBoxType3();
    }
 
    public FindLocNoAttributeVo(FullStoreParam.MatCodeStore matCodeStore) {
        this.matnr = matCodeStore.getMatnr();
        this.specs = matCodeStore.getSpecs();
        this.batch = matCodeStore.getBatch();
//        this.grade = waitPakin.g;
        this.brand = matCodeStore.getBrand();
        this.standby1 = matCodeStore.getStandby1();
        this.standby2 = matCodeStore.getStandby2();
        this.standby3 = matCodeStore.getStandby3();
        this.boxType1 = matCodeStore.getBoxType1();
        this.boxType2 = matCodeStore.getBoxType2();
        this.boxType3 = matCodeStore.getBoxType3();
    }
 
    public FindLocNoAttributeVo(LocDetl locDetl) {
        this.matnr = locDetl.getMatnr();
        this.specs = locDetl.getSpecs();
        this.batch = locDetl.getBatch();
//        this.grade = waitPakin.g;
        this.brand = locDetl.getBrand();
        this.standby1 = locDetl.getStandby1();
        this.standby2 = locDetl.getStandby2();
        this.standby3 = locDetl.getStandby3();
        this.boxType1 = locDetl.getBoxType1();
        this.boxType2 = locDetl.getBoxType2();
        this.boxType3 = locDetl.getBoxType3();
    }
 
    public String getModel() {
        return model;
    }
 
    public void setModel(String model) {
        this.model = model;
    }
    public String getBoxType1() {
        return boxType1;
    }
 
    public void setBoxType1(String boxType1) {
        this.boxType1 = boxType1;
    }
 
    public String getBoxType2() {
        return boxType2;
    }
 
    public void setBoxType2(String boxType2) {
        this.boxType2 = boxType2;
    }
 
    public String getBoxType3() {
        return boxType3;
    }
 
    public void setBoxType3(String boxType3) {
        this.boxType3 = boxType3;
    }
 
    public String getMatnr() {
        return matnr;
    }
 
    public void setMatnr(String matnr) {
        this.matnr = matnr;
    }
 
    public String getSpecs() {
        return specs;
    }
 
    public void setSpecs(String specs) {
        this.specs = specs;
    }
 
    public String getBatch() {
        return batch;
    }
 
    public void setBatch(String batch) {
        this.batch = batch;
    }
 
    public String getGrade() {
        return grade;
    }
 
    public void setGrade(String grade) {
        this.grade = grade;
    }
 
    public String getBrand() {
        return brand;
    }
 
    public void setBrand(String brand) {
        this.brand = brand;
    }
 
    public String getStandby1() {
        return standby1;
    }
 
    public void setStandby1(String standby1) {
        this.standby1 = standby1;
    }
 
    public String getStandby2() {
        return standby2;
    }
 
    public void setStandby2(String standby2) {
        this.standby2 = standby2;
    }
 
    public String getStandby3() {
        return standby3;
    }
 
    public void setStandby3(String standby3) {
        this.standby3 = standby3;
    }
 
 
    public boolean beSimilar(LocDetl locDetl){
        return (this.matnr.equals(locDetl.getMatnr())
                        && this.batch.equals(locDetl.getBatch())
                        && this.brand.equals(locDetl.getBrand())
                        && this.standby1.equals(locDetl.getStandby1())
                        && this.standby2.equals(locDetl.getStandby2())
                        && this.standby3.equals(locDetl.getStandby3())
                        && this.boxType1.equals(locDetl.getBoxType1())
                        && this.boxType2.equals(locDetl.getBoxType2())
                        && this.boxType3.equals(locDetl.getBoxType3())
        );
    }
 
    public boolean beSimilar(WrkDetl wrkDetl){
        return (this.matnr.equals(wrkDetl.getMatnr())
                && this.batch.equals(wrkDetl.getBatch())
                && this.brand.equals(wrkDetl.getBrand())
                && this.standby1.equals(wrkDetl.getStandby1())
                && this.standby2.equals(wrkDetl.getStandby2())
                && this.standby3.equals(wrkDetl.getStandby3())
                && this.boxType1.equals(wrkDetl.getBoxType1())
                && this.boxType2.equals(wrkDetl.getBoxType2())
                && this.boxType3.equals(wrkDetl.getBoxType3())
        );
    }
}