增加查询条件

tags/yfai-mes-ext-v1.0
LML丶 1 year ago
parent 98751db0e5
commit 5578becfaa

@ -177,6 +177,44 @@ public class MesExtEnumUtil {
} }
/** /**
*
*/
@JsonFormat(
shape = JsonFormat.Shape.OBJECT
)
public static enum SHIPPING_ORDER_TYPE {
SORT_SHIPPING(10, "排序发运");
private int value;
private String description;
private SHIPPING_ORDER_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; ++i) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
public int getValue() {
return this.value;
}
public String getDescription() {
return this.description;
}
}
/**
* *
*/ */
@JsonFormat( @JsonFormat(

Loading…
Cancel
Save