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/model/util/FlowNature.java | 396 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 396 insertions(+), 0 deletions(-)
diff --git a/jnpf-flowable/jnpf-flowable-entity/src/main/java/jnpf/flowable/model/util/FlowNature.java b/jnpf-flowable/jnpf-flowable-entity/src/main/java/jnpf/flowable/model/util/FlowNature.java
new file mode 100644
index 0000000..c2bea38
--- /dev/null
+++ b/jnpf-flowable/jnpf-flowable-entity/src/main/java/jnpf/flowable/model/util/FlowNature.java
@@ -0,0 +1,396 @@
+package jnpf.flowable.model.util;
+
+import lombok.Data;
+
+/**
+ * 鍦ㄧ嚎宸ヤ綔娴佸紑鍙�
+ *
+ * @author JNPF寮�鍙戝钩鍙扮粍
+ * @version V3.1.0
+ * @copyright 寮曡繄淇℃伅鎶�鏈湁闄愬叕鍙�
+ * @date 2019骞�9鏈�27鏃� 涓婂崍9:18
+ */
+@Data
+public class FlowNature {
+ private FlowNature() {}
+
+ /**
+ * 瀛愯〃鏁版嵁鏍囪瘑
+ */
+ public static final String SUB_TABLE = "@subTable";
+ /**
+ * 鏁版嵁浼犻�� 鍏ㄥ眬鍙傛暟
+ */
+ public static final String GLOBAL_PARAMETER = "globalParameter";
+ /**
+ * 鎾ら攢娴佹按鍙风紪鐮�
+ */
+ public static final String REVOKE_BILL_CODE = "workflow_revoke";
+ /**
+ * 鎾ら攢琛ㄥ崟缂栫爜
+ */
+ public static final String REVOKE_FORM_CODE = "revoke";
+
+ /**
+ * 缁撴潫缂栫爜銆佸悕绉�
+ */
+ public static final String END_CODE = "end";
+ public static final String END_NAME = "缁撴潫";
+ /**
+ * 寮�濮嬬紪鐮併�佸悕绉�
+ */
+ public static final String START_CODE = "start";
+ public static final String START_NAME = "寮�濮�";
+ /**
+ * 瑙﹀彂鑺傜偣缂栫爜銆佸悕绉�
+ */
+ public static final String TRIGGER_CODE = "";
+ public static final String TRIGGER_NAME = "瑙﹀彂鑺傜偣";
+
+ /**
+ * 琛ㄥ崟瀛楁鍚庣紑
+ */
+ public static final String FORM_FIELD_SUFFIX = "_jnpfId";
+
+ /**
+ * 绯荤粺缂栫爜
+ */
+ public static final String SYSTEM_CODE = "jnpf";
+ /**
+ * 绯荤粺鍚嶇О
+ */
+ public static final String SYSTEM_NAME = "绯荤粺";
+ /**
+ * 绯荤粺澶村儚
+ */
+ public static final String SYSTEM_HEAD_ICON = "001.png";
+
+ /**
+ * 娴佺▼鏍囬
+ */
+ public static final Integer TITLE_TYPE = 0;
+
+ /**
+ * 鍙戣捣鏉冮檺
+ **/
+ public static final Integer LAUNCH_PERMISSION = 1;
+
+ /**
+ * 娴佺▼鐖惰妭鐐�
+ **/
+ public static final String PARENT_ID = "0";
+
+ //----------------------璁板綍銆佸鎵圭姸鎬�--------------------
+ /**
+ * 姝e父鐘舵��
+ */
+ public static final Integer NORMAL = 0;
+ /**
+ * 浣滃簾鐘舵�侊紙璁板綍锛�
+ */
+ public static final Integer INVALID = -1;
+ /**
+ * 鏈夋搷浣滐紙濡傚姞绛俱�佸悓鎰忕瓑锛夊彉1 (瀹℃壒)
+ */
+ public static final Integer ACTION = 1;
+
+ //----------------------椹冲洖绫诲瀷--------------------
+ /**
+ * 椹冲洖寮�濮�
+ **/
+ public static final String START = "0";
+
+ /**
+ * 椹冲洖涓婁竴鑺傜偣
+ **/
+ public static final String UP = "1";
+
+ /**
+ * 鑷�夎妭鐐�
+ **/
+ public static final String REJECT = "2";
+
+ //----------------------鍔炵悊绫诲瀷--------------------
+
+ /**
+ * 涓嶆槸鍔炵悊鑺傜偣
+ **/
+ public static final Integer NOT_PROCESSING = 0;
+
+ /**
+ * 鍔炵悊鑺傜偣
+ **/
+ public static final Integer PROCESSING = 1;
+
+ //----------------------鍙戣捣绫诲瀷--------------------
+
+ /**
+ * 浠诲姟鍙戣捣
+ **/
+ public static final Integer TASK_INITIATION = 1;
+
+ /**
+ * 閫愮骇鍙戣捣
+ **/
+ public static final Integer STEP_INITIATION = 2;
+
+ //----------------------瀹℃壒浜虹被鍨�--------------------
+
+ /**
+ * 鍊欓�変汉
+ **/
+ public static final Integer CANDIDATES = 1;
+
+ /**
+ * 寮傚父浜�
+ **/
+ public static final Integer CANDIDATES_ERROR = 2;
+
+ /**
+ * 閫夋嫨鍒嗘敮
+ **/
+ public static final Integer BRANCH = 3;
+
+ //----------------------澶栭儴浜嬩欢鐘舵��--------------------
+
+ /**
+ * 鎴愬姛
+ **/
+ public static final Integer SUCCESS = 0;
+
+ /**
+ * 澶辫触
+ **/
+ public static final Integer LOSE = 1;
+
+ //----------------------瀹℃壒鏂瑰紡--------------------
+
+ /**
+ * 閲嶆柊瀹℃壒
+ **/
+ public static final Integer RESTART_TYPE = 1;
+
+ /**
+ * 褰撳墠瀹℃壒
+ **/
+ public static final Integer PRESENT_TYPE = 2;
+
+ //-------------------------瀹℃壒绫诲瀷---------------------------
+
+ /**
+ * 鎴栫
+ **/
+ public static final Integer FIXED_APPROVER = 0;
+
+ /**
+ * 浼氱
+ **/
+ public static final Integer FIXED_JOINTLY_APPROVER = 1;
+
+ /**
+ * 渚濇
+ **/
+ public static final Integer IMPROPER_APPROVER = 2;
+
+ //-------------------------浼氱瀹℃壒鏂瑰紡---------------------------
+
+ /**
+ * 寤跺悗璁$畻
+ */
+ public static final Integer DELAY = 2;
+
+ /**
+ * 瀹炴椂璁$畻
+ */
+ public static final Integer ACTUAL = 1;
+
+ /**
+ * 鐧惧垎姣�
+ **/
+ public static final Integer PERCENT = 1;
+
+ /**
+ * 浜烘暟
+ **/
+ public static final Integer NUMBER = 2;
+
+ //-------------------------瀹℃壒鐘舵��---------------------------
+
+ /**
+ * 閫氳繃
+ **/
+ public static final Integer AUDIT_COMPLETION = 1;
+
+ /**
+ * 鎷掔粷
+ **/
+ public static final Integer REJECT_COMPLETION = 0;
+
+ //-------------------------鍚屾绫诲瀷---------------------------
+
+ /**
+ * 鍚屾
+ **/
+ public static final Integer CHILD_SYNC = 0;
+
+ /**
+ * 寮傛
+ **/
+ public static final Integer CHILD_ASYNC = 1;
+
+ //-------------------------鍔犵绫诲瀷---------------------------
+
+ /**
+ * 鍔犵鍓�
+ */
+ public static final Integer BEFORE = 1;
+
+ /**
+ * 鍔犵鍚�
+ */
+ public static final Integer LATER = 2;
+
+ //-------------------------娑堟伅绫诲瀷---------------------------
+
+ /**
+ * 鍙戣捣娑堟伅
+ */
+ public static final Integer START_MSG = 0;
+
+ /**
+ * 瀹℃壒娑堟伅
+ */
+ public static final Integer APPROVE_MSG = 1;
+
+ /**
+ * 缁撴潫娑堟伅
+ */
+ public static final Integer END_MSG = 2;
+
+ //-------------------------閫愮骇瀹℃壒---------------------------
+
+ /**
+ * 鍙戣捣浜�
+ */
+ public static final Integer INITIATOR = 1;
+
+ /**
+ * 涓婅妭鐐瑰鎵逛汉
+ */
+ public static final Integer PREVIOUSLY = 2;
+
+ /**
+ * 缁勭粐
+ */
+ public static final Integer ORGANIZATION = 3;
+
+ //---------------------娴佺▼鎾ゅ洖---------------------------
+ /**
+ * 涓嶅厑璁告挙鍥�
+ */
+ public static final Integer NOT_ALLOWED = 1;
+
+ /**
+ * 鍙戣捣鑺傜偣鍏佽鎾ゅ洖
+ */
+ public static final Integer START_ALLOWED = 2;
+
+ /**
+ * 鎵�鏈夎妭鐐瑰厑璁告挙鍥�
+ */
+ public static final Integer ALLOWED = 3;
+
+
+ //---------------------鎾ゅ洖鏍囪瘑--------------------------
+ /**
+ * 鍙戣捣鎾ゅ洖
+ */
+ public static final Integer INITIATE_FLAG = 1;
+
+ /**
+ * 瀹℃壒鎾ゅ洖
+ */
+ public static final Integer APPROVAL_FLAG = 2;
+
+
+ //---------------------褰掓。---------------------------
+ /**
+ * 娴佺▼鎵�鏈変汉
+ */
+ public static final Integer FLOW_ALL = 1;
+
+ /**
+ * 娴佺▼鍙戣捣浜�
+ */
+ public static final Integer FLOW_INITIATOR = 2;
+
+ /**
+ * 鏈�鍚庤妭鐐瑰鎵逛汉
+ */
+ public static final Integer FLOW_LAST = 3;
+
+ //---------------------娴佺▼鏄惁鎭㈠---------------------------
+
+ /**
+ * 鑳芥仮澶�
+ */
+ public static final Integer RESTORE = 0;
+
+ /**
+ * 涓嶈兘鎭㈠
+ */
+ public static final Integer NOT_RESTORE = 1;
+
+
+ //---------------------娴佺▼鏄剧ず绫诲瀷---------------------------
+ /**
+ * 鍏ㄥ眬
+ */
+ public static final Integer ALL_SHOW_TYPE = 0;
+
+ /**
+ * 娴佺▼
+ */
+ public static final Integer FLOW_SHOW_TYPE = 1;
+
+ /**
+ * 鑿滃崟
+ */
+ public static final Integer MENU_SHOW_TYPE = 2;
+
+ //---------------------娴佺▼鏉冮檺绫诲瀷---------------------------
+
+ /**
+ * 鍏ㄥ眬
+ */
+ public static final Integer ALL = 1;
+
+ /**
+ * 鏉冮檺
+ */
+ public static final Integer AUTHORITY = 2;
+
+ //---------------------娴佺▼绫诲瀷---------------------------
+
+ /**
+ * 鏍囧噯
+ */
+ public static final Integer STANDARD = 0;
+
+ /**
+ * 绠�娴�
+ */
+ public static final Integer SIMPLE = 1;
+
+ /**
+ * 浠诲姟
+ */
+ public static final Integer QUEST = 2;
+
+ /**
+ * 鑷敱
+ */
+ public static final Integer FREE = 3;
+
+
+}
--
Gitblit v1.8.0