ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
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
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 {
 
    /**
     * 子表数据标识
     */
    public static String SUB_TABLE = "@subTable";
    /**
     * 数据传递 全局参数
     */
    public static String GLOBAL_PARAMETER = "globalParameter";
    /**
     * 撤销流水号编码
     */
    public static String REVOKE_BILL_CODE = "workflow_revoke";
    /**
     * 撤销表单编码
     */
    public static String REVOKE_FORM_CODE = "revoke";
 
    /**
     * 结束编码、名称
     */
    public static String END_CODE = "end";
    public static String END_NAME = "结束";
    /**
     * 开始编码、名称
     */
    public static String START_CODE = "start";
    public static String START_NAME = "开始";
 
    /**
     * 表单字段后缀
     */
    public static String FORM_FIELD_SUFFIX = "_jnpfId";
 
    /**
     * 系统编码
     */
    public static String SYSTEM_CODE = "jnpf";
    /**
     * 系统名称
     */
    public static String SYSTEM_NAME = "系统";
    /**
     * 系统头像
     */
    public static String SYSTEM_HEAD_ICON = "001.png";
 
    /**
     * 流程标题
     */
    public static Integer TitleType = 0;
 
    /**
     * 发起权限
     **/
    public static Integer LaunchPermission = 1;
 
    /**
     * 流程父节点
     **/
    public static String ParentId = "0";
 
    //----------------------记录、审批状态--------------------
    /**
     * 正常状态
     */
    public static Integer Normal = 0;
    /**
     * 作废状态(记录)
     */
    public static Integer Invalid = -1;
    /**
     * 有操作(如加签、同意等)变1 (审批)
     */
    public static Integer Action = 1;
 
    //----------------------驳回类型--------------------
    /**
     * 驳回开始
     **/
    public static String Start = "0";
 
    /**
     * 驳回上一节点
     **/
    public static String Up = "1";
 
    /**
     * 自选节点
     **/
    public static String Reject = "2";
 
    //----------------------办理类型--------------------
 
    /**
     * 不是办理节点
     **/
    public static Integer NotProcessing = 0;
 
    /**
     * 办理节点
     **/
    public static Integer Processing = 1;
 
    //----------------------发起类型--------------------
 
    /**
     * 任务发起
     **/
    public static Integer TaskInitiation = 1;
 
    /**
     * 逐级发起
     **/
    public static Integer StepInitiation = 2;
 
    //----------------------审批人类型--------------------
 
    /**
     * 候选人
     **/
    public static Integer Candidates = 1;
 
    /**
     * 异常人
     **/
    public static Integer CandidatesError = 2;
 
    //----------------------外部事件状态--------------------
 
    /**
     * 成功
     **/
    public static Integer Success = 0;
 
    /**
     * 失败
     **/
    public static Integer Lose = 1;
 
    //----------------------审批方式--------------------
 
    /**
     * 选择分支
     **/
    public static Integer Branch = 3;
 
    /**
     * 重新审批
     **/
    public static Integer RestartType = 1;
 
    /**
     * 当前审批
     **/
    public static Integer PresentType = 2;
 
    //-------------------------审批类型---------------------------
 
    /**
     * 或签
     **/
    public static Integer FixedApprover = 0;
 
    /**
     * 会签
     **/
    public static Integer FixedJointlyApprover = 1;
 
    /**
     * 依次
     **/
    public static Integer ImproperApprover = 2;
 
    //-------------------------会签审批方式---------------------------
 
    /**
     * 会签计算方式,1.实时计算  2.延后计算
     */
    public static Integer CALCULATE_TYPE_DELAY = 2;
 
    /**
     * 百分比
     **/
    public static Integer Percent = 1;
 
    /**
     * 人数
     **/
    public static Integer Number = 2;
 
    //-------------------------审批状态---------------------------
 
    /**
     * 通过
     **/
    public static Integer AuditCompletion = 1;
 
    /**
     * 拒绝
     **/
    public static Integer RejectCompletion = 0;
 
    //-------------------------子流程类型---------------------------
 
    /**
     * 子流程同步
     **/
    public static Integer ChildSync = 0;
 
    /**
     * 子流程异步
     **/
    public static Integer ChildAsync = 1;
 
    //-------------------------加签类型---------------------------
 
    /**
     * 加签前
     */
    public static Integer Before = 1;
 
    /**
     * 加签后
     */
    public static Integer Later = 2;
 
    //-------------------------消息类型---------------------------
 
    /**
     * 发起消息
     */
    public static Integer StartMsg = 0;
 
    /**
     * 审批消息
     */
    public static Integer ApproveMsg = 1;
 
    /**
     * 结束消息
     */
    public static Integer EndMsg = 2;
 
    //-------------------------逐级审批---------------------------
 
    /**
     * 发起人
     */
    public static Integer Initiator = 1;
 
    /**
     * 上节点审批人
     */
    public static Integer Previously = 2;
 
    /**
     * 组织
     */
    public static Integer Organization = 3;
 
    //---------------------流程撤回---------------------------
    /**
     * 不允许撤回
     */
    public static Integer NotAllowed = 1;
 
    /**
     * 发起节点允许撤回
     */
    public static Integer StartAllowed = 2;
 
    /**
     * 所有节点允许撤回
     */
    public static Integer Allowed = 3;
 
 
    //---------------------撤回标识--------------------------
    /**
     * 发起撤回
     */
    public static Integer InitiateFlag = 1;
 
    /**
     * 审批撤回
     */
    public static Integer ApprovalFlag = 2;
 
 
    //---------------------归档---------------------------
    /**
     * 流程所有人
     */
    public static Integer FlowAll = 1;
 
    /**
     * 流程发起人
     */
    public static Integer FlowInitiator = 2;
 
    /**
     * 最后节点审批人
     */
    public static Integer FlowLast = 3;
 
    //---------------------流程是否恢复---------------------------
 
    /**
     * 能恢复
     */
    public static Integer Restore = 0;
 
    /**
     * 不能恢复
     */
    public static Integer NotRestore = 1;
 
 
    //---------------------流程显示类型---------------------------
    /**
     * 全局
     */
    public static Integer AllShowType = 0;
 
    /**
     * 流程
     */
    public static Integer FlowShowType = 1;
 
    /**
     * 菜单
     */
    public static Integer MenuShowType = 2;
 
    //---------------------流程权限类型---------------------------
 
    /**
     * 全局
     */
    public static Integer All = 1;
 
    /**
     * 权限
     */
    public static Integer Authority = 2;
 
    //---------------------流程类型---------------------------
 
    /**
     * 标准
     */
    public static Integer Standard = 0;
 
    /**
     * 简流
     */
    public static Integer Simple = 1;
 
    /**
     * 任务
     */
    public static Integer Quest = 2;
 
 
}