From 592c8a2dcc33fd6eb32dbcfbaed4a16aab31d28d Mon Sep 17 00:00:00 2001 From: liyj <15602261488@163.com> Date: Mon, 14 Oct 2024 18:02:15 +0800 Subject: [PATCH] 1、线上来访、来访登记、自行排查流程优化 2、任务新增处理耗时、是否超时、超时小时记录 --- dyh-service/dyh-mediate/src/main/java/cn/huge/module/flow/consts/FlowableConsts.java | 43 +++++++++++++++++++++++++++++++++++++------ 1 files changed, 37 insertions(+), 6 deletions(-) diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/flow/consts/FlowableConsts.java b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/flow/consts/FlowableConsts.java index 136cd30..bbd9b09 100644 --- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/flow/consts/FlowableConsts.java +++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/flow/consts/FlowableConsts.java @@ -1,5 +1,7 @@ package cn.huge.module.flow.consts; +import cn.huge.module.mediate.constant.CaseBaseConstsEnum; + /** * @title: 用户相关常量类 * @description: 用户相关常量 @@ -15,9 +17,11 @@ * 来访登记:GZDYH_LFDJ_3LEVEL_V1 * 联合处置:GZDYH_LHCZ_3LEVEL_V1 */ - public static final String FLOWABLE_ID_LFDJ = "GZDYH_LFDJ_3LEVEL_V1"; - public static final String FLOWABLE_ID_ZXSL = "GZDYH_ZXSL_3LEVEL_V1"; - public static final String FLOWABLE_ID_LHCZ = "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"; /** * 工作流通用任务条件, @@ -31,9 +35,9 @@ * 自行受理:zxsl * 交办给直属组织:jb_zszz,交办给综治中心:jb_zzzx * 受理:sl - * 回退申请:htsq,回退审核同意:htsh_ty,回退审核不同意:htsh_bty,htsh_bty_zj,htsh_bty_qj - * 上报:sb,上报审核同意:htsq_ty,上报审核不同意:htsq_bty - * 结案审核同意:jash_ty,结案审核不同意:jash_bty,htsh_bty_zj,htsh_bty_qj + * 回退申请: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"; @@ -47,7 +51,34 @@ 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 { + 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_------------------- -- Gitblit v1.8.0