【3484 20063-待处理报工基础数据-20210610】

yun-zuoyi
陈思洁 4 years ago
parent bef8415707
commit 0170a86f60

@ -2102,8 +2102,8 @@ public class MesEnumUtil {
MES_JISA(640, "jisaExcelService", "JISA导入"),
MES_CONTROL_PLAN(650, "controlPlanExcelService", "控制计划导入"),
MES_HOLIDAY_VACATION(660, "holidayVacationExcelService", "节假日导入"),
MES_PENDING_REPORT_TYPE(670, "PendingReportTypeExcelService", "待处理报工类型导入"),
MES_FAILURE_MODE_PARTS(680, "FailureModePartsExcelService", "失效模式零件导入");
MES_PENDING_REPORT_TYPE(670, "pendingReportTypeExcelService", "待处理报工类型导入"),
MES_FAILURE_MODE_PARTS(680, "failureModePartsExcelService", "失效模式零件导入");
private int value;
private String service;
@ -8467,4 +8467,37 @@ public class MesEnumUtil {
return description;
}
}
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PERSONNEL_LEVEL {
ONE(10, "一级"),
TWO(20, "二级");
private int value;
private String description;
PERSONNEL_LEVEL(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 value;
}
public String getDescription() {
return description;
}
}
}

Loading…
Cancel
Save