广州市综治平台后端
xusd
2025-06-07 36306491396230522fa20585c2621a7fc899849a
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
package cn.huge.module.flow.consts;
 
import cn.huge.module.mediate.constant.CaseBaseConstsEnum;
 
/**
 * @title: 用户相关常量类
 * @description: 用户相关常量
 * @company: hugeinfo
 * @author: liyj
 * @time: 2021-11-05 16:51:48
 * @version: 1.0.0
 */
public class FlowableConsts {
    /**
     * 两个默认流程定义编号
     * 自行受理:GZDYH_ZXSL_3LEVEL_V1
     * 来访登记:GZDYH_LFDJ_3LEVEL_V1
     * 联合处置:GZDYH_LHCZ_3LEVEL_V1
     */
    public static final String GZDYH_JB_LFDJ_V1 = "GZDYH_JB_LFDJ_V1";
    public static final String GZDYH_JB_ZXPC_V1 = "GZDYH_JB_ZXPC_V1";
    public static final String GZDYH_ZXSL_LFDJ_V1 = "GZDYH_ZXSL_LFDJ_V1";
    public static final String GZDYH_ZXSL_ZXPC_V1 = "GZDYH_ZXSL_ZXPC_V1";
    public static final String GZDYH_LHCZ_V1 = "GZDYH_LHCZ_V1";
 
    /**
     * 工作流通用任务条件,
     * 前进:forward,退回:back,
     */
    public static final String OPERATION_forward = "forward";
    public static final String OPERATION_back = "back";
 
    /**
     * 工作流业务任务条件,
     * 自行受理:zxsl
     * 交办给直属组织:jb_zszz,交办给综治中心:jb_zzzx
     * 受理:sl
     * 回退申请:htsq,回退审核同意:htsh_ty,回退审核不同意:htsh_bty,htsh_bty_qj,htsh_bty_sj
     * 上报:sb,上报审核同意:sbsh_ty,上报审核不同意:sbsh_bty
     * 结案审核同意:jash_ty,同意申请上级审核:jash_ty_sq,结案审核不同意:jash_bty,
     */
    public static final String OPERATION_jb_zszz = "jb_zszz";
    public static final String OPERATION_jb_zzzx = "jb_zzzx";
    public static final String OPERATION_sl = "sl";
    public static final String OPERATION_htsq = "htsq";
    public static final String OPERATION_htsh_ty = "htsh_ty";
    public static final String OPERATION_htsh_bty = "htsh_bty";
    public static final String OPERATION_htsh_bty_qj = "htsh_bty_qj";
    public static final String OPERATION_htsh_bty_sj = "htsh_bty_sj";
    public static final String OPERATION_sb = "sb";
    public static final String OPERATION_sbsh_ty = "sbsh_ty";
    public static final String OPERATION_sbsh_bty = "sbsh_bty";
    public static final String OPERATION_jash_ty = "jash_ty";
    public static final String OPERATION_jash_ty_sq = "jash_ty_sq";
    public static final String OPERATION_jash_bty = "jash_bty";
 
    /**
     * 根据事项来源获取交办流程
     * @param canal
     * @return
     */
    public static String getJbFlow(String canal){
        if (CaseBaseConstsEnum.CASE_CANAL_3.getIndex().equals(canal)){
            return GZDYH_JB_ZXPC_V1;
        }else if (CaseBaseConstsEnum.CASE_CANAL_4.getIndex().equals(canal)){
            return GZDYH_JB_ZXPC_V1;
        }else {
            return GZDYH_JB_LFDJ_V1;
        }
    }
 
    /**
     * 根据事项来源获取自行受理流程
     * @param canal
     * @return
     */
    public static String getZxslFlow(String canal){
        if (CaseBaseConstsEnum.CASE_CANAL_3.getIndex().equals(canal)){
            return GZDYH_ZXSL_ZXPC_V1;
        }else {
            return GZDYH_ZXSL_LFDJ_V1;
        }
    }
}
/**
 * -------------------_ooOoo_-------------------
 * ------------------o8888888o------------------
 * ------------------88" . "88------------------
 * ------------------(| -_- |)------------------
 * ------------------O\  =  /O------------------
 * ---------------____/`---'\____---------------
 * -------------.'  \\|     |//  `.-------------
 * ------------/  \\|||  :  |||//  \------------
 * -----------/  _||||| -:- |||||-  \-----------
 * -----------|   | \\\  -  /// |   |-----------
 * -----------| \_|  ''\---/''  |   |-----------
 * -----------\  .-\__  `-`  ___/-. /-----------
 * ---------___`. .'  /--.--\  `. . __----------
 * ------."" '<  `.___\_<|>_/___.'  >'"".-------
 * -----| | :  `- \`.;`\ _ /`;.`/ - ` : | |-----
 * -----\  \ `-.   \_ __\ /__ _/   .-` /  /-----
 * ======`-.____`-.___\_____/___.-`____.-'======
 * -------------------`=---='
 * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 * ---------佛祖保佑---hugeinfo---永无BUG----------
 */