|
|
|
@ -703,19 +703,17 @@ public class WmsEnumUtil {
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum PART_ABC {
|
|
|
|
|
A(1, "A", "正常"),
|
|
|
|
|
B(2, "B", "正常"),
|
|
|
|
|
C(3, "C", "取消"),
|
|
|
|
|
D(4, "D", "取消"),
|
|
|
|
|
E(5, "E", "取消");
|
|
|
|
|
A(1, "A"),
|
|
|
|
|
B(2, "B"),
|
|
|
|
|
C(3, "C"),
|
|
|
|
|
D(4, "D"),
|
|
|
|
|
E(5, "E");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String code;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
PART_ABC(int value, String code, String description) {
|
|
|
|
|
PART_ABC(int value, String description) {
|
|
|
|
|
this.value = value;
|
|
|
|
|
this.code = code;
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -727,10 +725,6 @@ public class WmsEnumUtil {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getCode() {
|
|
|
|
|
return code;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String valueOf(int val) {
|
|
|
|
|
String tmp = null;
|
|
|
|
|
for (int i = 0; i < values().length; i++) {
|
|
|
|
|