1. 增加质检单生成类型

yun-zuoyi
于学杰 6 years ago
parent e2249ea8dd
commit bcc7c282ca

@ -4101,4 +4101,39 @@ public class WmsEnumUtil {
return tmp;
}
}
/**
*
* 10
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum CREATE_QC_ORDER_TYPE {
BY_MOVE(10, "按库存移动单"), BY_PART(20, "按物料编号");
private int value;
private String description;
CREATE_QC_ORDER_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
}
Loading…
Cancel
Save