|
@@ -15,7 +15,17 @@ import java.util.Arrays;
|
|
|
@AllArgsConstructor
|
|
@AllArgsConstructor
|
|
|
public enum MesDvCheckPlanStatusEnum implements ArrayValuable<Integer> {
|
|
public enum MesDvCheckPlanStatusEnum implements ArrayValuable<Integer> {
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 草稿
|
|
|
|
|
+ *
|
|
|
|
|
+ * 对应 MesDvCheckPlanService#createCheckPlan 方法
|
|
|
|
|
+ */
|
|
|
PREPARE(0, "草稿"),
|
|
PREPARE(0, "草稿"),
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 已启用
|
|
|
|
|
+ *
|
|
|
|
|
+ * 对应 MesDvCheckPlanService#enableCheckPlan 方法
|
|
|
|
|
+ */
|
|
|
ENABLED(1, "已启用");
|
|
ENABLED(1, "已启用");
|
|
|
|
|
|
|
|
public static final Integer[] ARRAYS = Arrays.stream(values()).map(MesDvCheckPlanStatusEnum::getStatus).toArray(Integer[]::new);
|
|
public static final Integer[] ARRAYS = Arrays.stream(values()).map(MesDvCheckPlanStatusEnum::getStatus).toArray(Integer[]::new);
|