yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
package com.qianwen.smartman.modules.coproduction.enums;
 
import java.util.Arrays;
import com.qianwen.smartman.common.constant.CommonConstant;
import com.qianwen.core.tool.utils.Func;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/enums/CoProductionEnum.class */
public class CoProductionEnum {
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/enums/CoProductionEnum$WhetherTest.class */
    public enum WhetherTest {
        NO(0, "否"),
        YES(1, "是");
        
        private final Integer code;
        private final String name;
 
        public Integer getCode() {
            return this.code;
        }
 
        public String getName() {
            return this.name;
        }
 
        WhetherTest(int code, String name) {
            this.code = Integer.valueOf(code);
            this.name = name;
        }
 
        public String getNameByCode(Integer code) {
            return (String) Arrays.stream(values()).filter(o -> {
                return Func.isNotEmpty(code) && code.equals(o.getCode());
            }).map((v0) -> {
                return v0.getName();
            }).findFirst().orElse("");
        }
    }
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/enums/CoProductionEnum$WhetherParallel.class */
    public enum WhetherParallel {
        NO(0, "否"),
        YES(1, "是");
        
        private final Integer code;
        private final String name;
 
        public Integer getCode() {
            return this.code;
        }
 
        public String getName() {
            return this.name;
        }
 
        WhetherParallel(int code, String name) {
            this.code = Integer.valueOf(code);
            this.name = name;
        }
 
        public String getNameByCode(Integer code) {
            return (String) Arrays.stream(values()).filter(o -> {
                return Func.isNotEmpty(code) && code.equals(o.getCode());
            }).map((v0) -> {
                return v0.getName();
            }).findFirst().orElse("");
        }
    }
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/enums/CoProductionEnum$RecordStatus.class */
    public enum RecordStatus {
        NO(0, "开工"),
        YES(1, "完工");
        
        private final Integer code;
        private final String name;
 
        public Integer getCode() {
            return this.code;
        }
 
        public String getName() {
            return this.name;
        }
 
        RecordStatus(int code, String name) {
            this.code = Integer.valueOf(code);
            this.name = name;
        }
 
        public String getNameByCode(Integer code) {
            return (String) Arrays.stream(values()).filter(o -> {
                return Func.isNotEmpty(code) && code.equals(o.getCode());
            }).map((v0) -> {
                return v0.getName();
            }).findFirst().orElse("");
        }
    }
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/enums/CoProductionEnum$WorkstationStatus.class */
    public enum WorkstationStatus {
        NO(1, "未开工"),
        YES(2, "已开工");
        
        private final Integer code;
        private final String name;
 
        public Integer getCode() {
            return this.code;
        }
 
        public String getName() {
            return this.name;
        }
 
        WorkstationStatus(int code, String name) {
            this.code = Integer.valueOf(code);
            this.name = name;
        }
 
        public String getNameByCode(Integer code) {
            return (String) Arrays.stream(values()).filter(o -> {
                return Func.isNotEmpty(code) && code.equals(o.getCode());
            }).map((v0) -> {
                return v0.getName();
            }).findFirst().orElse("");
        }
    }
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/enums/CoProductionEnum$OrderStatus.class */
    public enum OrderStatus {
        TOBE_START(1, "待加工"),
        PROCESSING(2, "加工中"),
        TIME_OUT(3, "暂停"),
        CLOSED(4, "关闭"),
        COMPLETED(5, CommonConstant.FINISH);
        
        private final Integer code;
        private final String name;
 
        public Integer getCode() {
            return this.code;
        }
 
        public String getName() {
            return this.name;
        }
 
        OrderStatus(int code, String name) {
            this.code = Integer.valueOf(code);
            this.name = name;
        }
 
        public String getNameByCode(Integer code) {
            return (String) Arrays.stream(values()).filter(o -> {
                return Func.isNotEmpty(code) && code.equals(o.getCode());
            }).map((v0) -> {
                return v0.getName();
            }).findFirst().orElse("");
        }
    }
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/enums/CoProductionEnum$SystemOrOrdinaryStatus.class */
    public enum SystemOrOrdinaryStatus {
        ORDINARY(0, "普通报工"),
        SYSTEM(1, "系统报工");
        
        private final Integer code;
        private final String name;
 
        public Integer getCode() {
            return this.code;
        }
 
        public String getName() {
            return this.name;
        }
 
        SystemOrOrdinaryStatus(int code, String name) {
            this.code = Integer.valueOf(code);
            this.name = name;
        }
 
        public String getNameByCode(Integer code) {
            return (String) Arrays.stream(values()).filter(o -> {
                return Func.isNotEmpty(code) && code.equals(o.getCode());
            }).map((v0) -> {
                return v0.getName();
            }).findFirst().orElse("");
        }
    }
}