刘光辉
12 小时以前 34981c30a78e8bbd7791131059a9210f9928b62c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
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";
 
    //----------------------记录、审批状态--------------------
    /**
     * 正常状态
     */
    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;
 
 
}