FlowNature.java 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. package jnpf.flowable.model.util;
  2. import lombok.Data;
  3. /**
  4. * 在线工作流开发
  5. *
  6. * @author JNPF开发平台组
  7. * @version V3.1.0
  8. * @copyright 引迈信息技术有限公司
  9. * @date 2019年9月27日 上午9:18
  10. */
  11. @Data
  12. public class FlowNature {
  13. /**
  14. * 子表数据标识
  15. */
  16. public static String SUB_TABLE = "@subTable";
  17. /**
  18. * 数据传递 全局参数
  19. */
  20. public static String GLOBAL_PARAMETER = "globalParameter";
  21. /**
  22. * 撤销流水号编码
  23. */
  24. public static String REVOKE_BILL_CODE = "workflow_revoke";
  25. /**
  26. * 撤销表单编码
  27. */
  28. public static String REVOKE_FORM_CODE = "revoke";
  29. /**
  30. * 结束编码、名称
  31. */
  32. public static String END_CODE = "end";
  33. public static String END_NAME = "结束";
  34. /**
  35. * 开始编码、名称
  36. */
  37. public static String START_CODE = "start";
  38. public static String START_NAME = "开始";
  39. /**
  40. * 表单字段后缀
  41. */
  42. public static String FORM_FIELD_SUFFIX = "_jnpfId";
  43. /**
  44. * 系统编码
  45. */
  46. public static String SYSTEM_CODE = "jnpf";
  47. /**
  48. * 系统名称
  49. */
  50. public static String SYSTEM_NAME = "系统";
  51. /**
  52. * 系统头像
  53. */
  54. public static String SYSTEM_HEAD_ICON = "001.png";
  55. /**
  56. * 流程标题
  57. */
  58. public static Integer TitleType = 0;
  59. /**
  60. * 发起权限
  61. **/
  62. public static Integer LaunchPermission = 1;
  63. /**
  64. * 流程父节点
  65. **/
  66. public static String ParentId = "0";
  67. //----------------------记录、审批状态--------------------
  68. /**
  69. * 正常状态
  70. */
  71. public static Integer Normal = 0;
  72. /**
  73. * 作废状态(记录)
  74. */
  75. public static Integer Invalid = -1;
  76. /**
  77. * 有操作(如加签、同意等)变1 (审批)
  78. */
  79. public static Integer Action = 1;
  80. //----------------------驳回类型--------------------
  81. /**
  82. * 驳回开始
  83. **/
  84. public static String Start = "0";
  85. /**
  86. * 驳回上一节点
  87. **/
  88. public static String Up = "1";
  89. /**
  90. * 自选节点
  91. **/
  92. public static String Reject = "2";
  93. //----------------------办理类型--------------------
  94. /**
  95. * 不是办理节点
  96. **/
  97. public static Integer NotProcessing = 0;
  98. /**
  99. * 办理节点
  100. **/
  101. public static Integer Processing = 1;
  102. //----------------------发起类型--------------------
  103. /**
  104. * 任务发起
  105. **/
  106. public static Integer TaskInitiation = 1;
  107. /**
  108. * 逐级发起
  109. **/
  110. public static Integer StepInitiation = 2;
  111. //----------------------审批人类型--------------------
  112. /**
  113. * 候选人
  114. **/
  115. public static Integer Candidates = 1;
  116. /**
  117. * 异常人
  118. **/
  119. public static Integer CandidatesError = 2;
  120. //----------------------外部事件状态--------------------
  121. /**
  122. * 成功
  123. **/
  124. public static Integer Success = 0;
  125. /**
  126. * 失败
  127. **/
  128. public static Integer Lose = 1;
  129. //----------------------审批方式--------------------
  130. /**
  131. * 选择分支
  132. **/
  133. public static Integer Branch = 3;
  134. /**
  135. * 重新审批
  136. **/
  137. public static Integer RestartType = 1;
  138. /**
  139. * 当前审批
  140. **/
  141. public static Integer PresentType = 2;
  142. //-------------------------审批类型---------------------------
  143. /**
  144. * 或签
  145. **/
  146. public static Integer FixedApprover = 0;
  147. /**
  148. * 会签
  149. **/
  150. public static Integer FixedJointlyApprover = 1;
  151. /**
  152. * 依次
  153. **/
  154. public static Integer ImproperApprover = 2;
  155. //-------------------------会签审批方式---------------------------
  156. /**
  157. * 会签计算方式,1.实时计算 2.延后计算
  158. */
  159. public static Integer CALCULATE_TYPE_DELAY = 2;
  160. /**
  161. * 百分比
  162. **/
  163. public static Integer Percent = 1;
  164. /**
  165. * 人数
  166. **/
  167. public static Integer Number = 2;
  168. //-------------------------审批状态---------------------------
  169. /**
  170. * 通过
  171. **/
  172. public static Integer AuditCompletion = 1;
  173. /**
  174. * 拒绝
  175. **/
  176. public static Integer RejectCompletion = 0;
  177. //-------------------------子流程类型---------------------------
  178. /**
  179. * 子流程同步
  180. **/
  181. public static Integer ChildSync = 0;
  182. /**
  183. * 子流程异步
  184. **/
  185. public static Integer ChildAsync = 1;
  186. //-------------------------加签类型---------------------------
  187. /**
  188. * 加签前
  189. */
  190. public static Integer Before = 1;
  191. /**
  192. * 加签后
  193. */
  194. public static Integer Later = 2;
  195. //-------------------------消息类型---------------------------
  196. /**
  197. * 发起消息
  198. */
  199. public static Integer StartMsg = 0;
  200. /**
  201. * 审批消息
  202. */
  203. public static Integer ApproveMsg = 1;
  204. /**
  205. * 结束消息
  206. */
  207. public static Integer EndMsg = 2;
  208. //-------------------------逐级审批---------------------------
  209. /**
  210. * 发起人
  211. */
  212. public static Integer Initiator = 1;
  213. /**
  214. * 上节点审批人
  215. */
  216. public static Integer Previously = 2;
  217. /**
  218. * 组织
  219. */
  220. public static Integer Organization = 3;
  221. //---------------------流程撤回---------------------------
  222. /**
  223. * 不允许撤回
  224. */
  225. public static Integer NotAllowed = 1;
  226. /**
  227. * 发起节点允许撤回
  228. */
  229. public static Integer StartAllowed = 2;
  230. /**
  231. * 所有节点允许撤回
  232. */
  233. public static Integer Allowed = 3;
  234. //---------------------撤回标识--------------------------
  235. /**
  236. * 发起撤回
  237. */
  238. public static Integer InitiateFlag = 1;
  239. /**
  240. * 审批撤回
  241. */
  242. public static Integer ApprovalFlag = 2;
  243. //---------------------归档---------------------------
  244. /**
  245. * 流程所有人
  246. */
  247. public static Integer FlowAll = 1;
  248. /**
  249. * 流程发起人
  250. */
  251. public static Integer FlowInitiator = 2;
  252. /**
  253. * 最后节点审批人
  254. */
  255. public static Integer FlowLast = 3;
  256. //---------------------流程是否恢复---------------------------
  257. /**
  258. * 能恢复
  259. */
  260. public static Integer Restore = 0;
  261. /**
  262. * 不能恢复
  263. */
  264. public static Integer NotRestore = 1;
  265. //---------------------流程显示类型---------------------------
  266. /**
  267. * 全局
  268. */
  269. public static Integer AllShowType = 0;
  270. /**
  271. * 流程
  272. */
  273. public static Integer FlowShowType = 1;
  274. /**
  275. * 菜单
  276. */
  277. public static Integer MenuShowType = 2;
  278. //---------------------流程权限类型---------------------------
  279. /**
  280. * 全局
  281. */
  282. public static Integer All = 1;
  283. /**
  284. * 权限
  285. */
  286. public static Integer Authority = 2;
  287. //---------------------流程类型---------------------------
  288. /**
  289. * 标准
  290. */
  291. public static Integer Standard = 0;
  292. /**
  293. * 简流
  294. */
  295. public static Integer Simple = 1;
  296. /**
  297. * 任务
  298. */
  299. public static Integer Quest = 2;
  300. }