自动化立体仓库 - WMS系统
zyx
2024-02-02 00b8e7a256d8508043784f061a4afe5b1107d9aa
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
package com.zy.asrs.entity;
 
import com.alibaba.excel.annotation.ExcelProperty;
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 io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.text.SimpleDateFormat;
import java.util.Date;
 
@Data
@TableName("asr_pla_detl_log")
public class PlaLog {
    @ApiModelProperty(value= "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    //入库时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date pakinTime;
 
    //主体
    @ExcelProperty(value = "主体")
    @TableField("owner")
    private String owner;
 
    //主体
    @ExcelProperty(value = "物资类别")
    @TableField("type")
    private String type;
 
    //生产订单编号
    @ExcelProperty(value = "生产订单编号")
    @TableField("pro_order_no")
    private String proOrderNo;
 
    //车间
    @ExcelProperty(value = "生产车间")
    @TableField("workshop")
    private String workshop;
 
    //生产线
    @ExcelProperty(value = "生产线")
    @TableField("line")
    private String line;
 
    //生产线
    @ExcelProperty(value = "存货编码")
    @TableField("matnr")
    private String matnr;
 
    //牌号
    @ExcelProperty(value = "牌号")
    @TableField("brand")
    private String brand;
 
    //批号
    @TableField("batch")
    @ExcelProperty(value = "批号")
    private String batch;
 
    //包装号
    @TableField("package_no")
    @ExcelProperty(value = "包装号")
    private String packageNo;
 
    //包装号
    @ExcelProperty(value = "生产日期")
    @TableField("pro_date")
    private String proDate;
 
    //重量
    @TableField("weight")
    @ExcelProperty(value = "重量")
    private Double weight;
 
    @ApiModelProperty(value= "单位")
    @ExcelProperty(value = "单位")
    @TableField("unit")
    private String unit;
 
    //包装类型
    @TableField("package_type")
    @ExcelProperty(value = "包装类型")
    private String packageType;
 
    //托盘类型
    @TableField("zpallet_type")
    @ExcelProperty(value = "托盘类型")
    private String zpalletType;
 
    //缠膜
    @TableField("film_wrap")
    @ExcelProperty(value = "缠膜")
    private String filmWrap;
 
    //熔指
    @TableField("finger_melting")
    @ExcelProperty(value = "熔指")
    private Double fingerMelting;
 
    //水分
    @TableField("water")
    @ExcelProperty(value = "水分")
    private Double water;
 
    //熔点
    @TableField("fusing_point")
    @ExcelProperty(value = "熔点")
    private Double fusingPoint;
 
    //挥发份1
    @TableField("vadf1")
    @ExcelProperty(value = "挥发份1")
    private Double vadf1;
 
    //挥发份2
    @TableField("vadf2")
    @ExcelProperty(value = "挥发份2")
    private Double vadf2;
 
    //黄度
    @TableField("yellowness")
    @ExcelProperty(value = "黄度")
    private Double yellowness;
 
    //不透明度
    @TableField("opacity")
    @ExcelProperty(value = "不透明度")
    private Double opacity;
 
    //L值
    @TableField("l")
    @ExcelProperty(value = "l值")
    private Double l;
 
    //a值
    @TableField("a")
    @ExcelProperty(value = "a值")
    private Double a;
 
    //b值
    @TableField("b")
    @ExcelProperty(value = "b值")
    private Double b;
 
    //填充
    @TableField("fill_in")
    @ExcelProperty(value = "填充")
    private Double fillIn;
 
    //质量状态
    @TableField("mass_state")
    @ExcelProperty(value = "质量状体")
    private String massState;
 
    //质量问题
    @TableField("problem")
    @ExcelProperty(value = "备注")
    private String problem;
 
    //应用方向
    @ExcelProperty(value = "应用方向")
    @TableField("direction")
    private String direction;
 
    //存放位置
    @ExcelProperty(value = "存放位置")
    @TableField("position")
    private String position;
 
    //剩余重量
    @TableField("weight_anfme")
    @ExcelProperty(value = "入库量")
    private Double weightAnfme = 0.0;
    //待出库数量
    @TableField("qty_anfme")
    private Double qtyAnfme = 0.0;
 
    //仓库
    @TableField("stash")
    //@ExcelProperty(value = "仓库")
    private String stash;
 
    //库位
    @TableField("loc_no")
    //@ExcelProperty(value = "库位")
    private String locNo;
 
    //状态
    @TableField("status")
    private String status;
 
    //步骤
    @TableField("step")
    private int step;
 
    @TableField("create_time")
    private Date createTime;
 
    @TableField("modify_time")
    private Date modifyTime;
 
    @TableField("create_user")
    private String createUser;
 
    @TableField("modify_user")
    private String modifyUser;
 
    @TableField("order_no")
    private String orderNo;
 
    @TableField("pakout_time")
    private String pakoutTime;
 
    @TableField("order_weight")
    private Double orderWeight;
 
    @TableField("handler_by")
    private String handlerBy;
 
    @TableField("transfer")
    private String transfer;
 
    @TableField("customer")
    private String customer;
 
    @TableField("allocate")
    private String allocate;
 
    @TableField("memo")
    private String memo;
 
    public String getPakinTime$() {
        if (Cools.isEmpty(this.pakinTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.pakinTime);
    }
}