自动化立体仓库 - WMS系统
lsh
4 天以前 f6e17ebcf5e66b590391e13595968b7e05a7f966
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
package com.zy.asrs.entity.param;
 
import lombok.Data;
 
/*
 *  Created by Monkey D. Luffy on 2025.10.28
 * */
@Data
public class QualityInspectionParam {
    private String boxNo;  //        是    字符串    木箱编号(唯一字段,出库依据,出库时按照木箱编号出库)
    private String model;  //    是    字符串    卷编号(唯一字段)
    private Integer judge;  //待判  是否合格 1合格 2不合格
    private Integer danger;//待判  是否合格 1合格 2不合格
    private String memo;    //    备注  (不合格才有备注)
 
    public void setJudge(Integer judge) {
        this.judge = judge;
        this.danger = judge;
    }
 
    public String getDanger$(){
        if (null == this.danger){ return null; }
        switch (this.danger){
            case 1:
                return "合格";
            case 2:
                return "不合格";
            case 0:
                return "待判";
            default:
                return String.valueOf(this.danger);
        }
    }
}