|
|
|
@ -13,6 +13,32 @@ import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
public class MesPcnEnumUtil {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 物料校验项数据查询类型
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum PART_CHECK_DATA_TYPE {
|
|
|
|
|
ALL_DATA(1, "所有数据"),
|
|
|
|
|
LAST_DATA(2, "最后一条数据");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
PART_CHECK_DATA_TYPE(int value, String description) {
|
|
|
|
|
this.value = value;
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int getValue() {
|
|
|
|
|
return value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getDescription() {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 注塑生产操作模式
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|