From 34981c30a78e8bbd7791131059a9210f9928b62c Mon Sep 17 00:00:00 2001
From: 刘光辉 <347230014@qq.com>
Date: 星期四, 17 九月 2026 09:24:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into master

---
 jnpf-flowable/jnpf-flowable-entity/src/main/java/jnpf/flowable/enums/CategoryEnum.java |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/jnpf-flowable/jnpf-flowable-entity/src/main/java/jnpf/flowable/enums/CategoryEnum.java b/jnpf-flowable/jnpf-flowable-entity/src/main/java/jnpf/flowable/enums/CategoryEnum.java
new file mode 100644
index 0000000..2da4241
--- /dev/null
+++ b/jnpf-flowable/jnpf-flowable-entity/src/main/java/jnpf/flowable/enums/CategoryEnum.java
@@ -0,0 +1,57 @@
+package jnpf.flowable.enums;
+
+
+import lombok.Getter;
+
+@Getter
+public enum CategoryEnum {
+    /**
+     * 娌℃湁缁忚繃
+     */
+    NONE("-1", "鏃�"),
+    /**
+     * 寰呯浜嬪疁
+     */
+    SIGN("0", "寰呯浜嬪疁"),
+    /**
+     * 寰呭姙浜嬪疁
+     */
+    TODO("1", "寰呭姙浜嬪疁"),
+    /**
+     * 鍦ㄥ姙浜嬪疁
+     */
+    DOING("2", "鍦ㄥ姙浜嬪疁"),
+    /**
+     * 宸插姙浜嬪疁
+     */
+    DONE("3", "宸插姙浜嬪疁"),
+    /**
+     * 鎶勯�佷簨瀹�
+     */
+    CIRCULATE("4", "鎶勯�佷簨瀹�"),
+    /**
+     * 鎵归噺鍦ㄥ姙浜嬪疁
+     */
+    BATCH_DOING("5", "鎵归噺鍦ㄥ姙浜嬪疁"),
+
+    ;
+
+
+    private final String type;
+    private final String message;
+
+    CategoryEnum(String type, String message) {
+        this.type = type;
+        this.message = message;
+    }
+
+
+    public static CategoryEnum getType(String type) {
+        for (CategoryEnum status : CategoryEnum.values()) {
+            if (status.getType().equals(type)) {
+                return status;
+            }
+        }
+        return CategoryEnum.NONE;
+    }
+}

--
Gitblit v1.8.0