Commit a73e71ea authored by Rensq's avatar Rensq

添加氨卸载作业流程判断逻辑

parent 9bf49ce5
......@@ -370,12 +370,18 @@ public class THazardWorkPlanServiceImpl extends SuperServiceImpl<THazardWorkPlan
} else if (orgTypeByOrgId == 1) {
if (WorkTypeEnum.CONFINED_SPACE_WORK.getValue().equals(workTypeValue)) {
processDefinitionKey = "hazardousTaskBLDeptConfinedSpace";
} else if (WorkTypeEnum.AMMONIA_UNLOADING.getValue().equals(workTypeValue)){
processDefinitionKey = "hazardousTaskBLLN2";
} else {
processDefinitionKey = "hazardousTaskBLDept";
}
} else if (orgTypeByOrgId == 2) {
if (WorkTypeEnum.AMMONIA_UNLOADING.getValue().equals(workTypeValue)){
processDefinitionKey = "hazardousTaskBLLN2";
} else {
processDefinitionKey = "hazardousTaskBLOrg";
}
}
processInsStartParams.setProcessDefinitionKey(processDefinitionKey);
processInsStartParams.setOrgId(tHazardWorkPlan.getOrgId());
processInsStartParams.setUserId(tHazardWorkPlan.getCreateBy());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment