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---------- */