Commit a73e71ea authored by Rensq's avatar Rensq

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

parent 9bf49ce5
...@@ -370,11 +370,17 @@ public class THazardWorkPlanServiceImpl extends SuperServiceImpl<THazardWorkPlan ...@@ -370,11 +370,17 @@ public class THazardWorkPlanServiceImpl extends SuperServiceImpl<THazardWorkPlan
} else if (orgTypeByOrgId == 1) { } else if (orgTypeByOrgId == 1) {
if (WorkTypeEnum.CONFINED_SPACE_WORK.getValue().equals(workTypeValue)) { if (WorkTypeEnum.CONFINED_SPACE_WORK.getValue().equals(workTypeValue)) {
processDefinitionKey = "hazardousTaskBLDeptConfinedSpace"; processDefinitionKey = "hazardousTaskBLDeptConfinedSpace";
} else if (WorkTypeEnum.AMMONIA_UNLOADING.getValue().equals(workTypeValue)){
processDefinitionKey = "hazardousTaskBLLN2";
} else { } else {
processDefinitionKey = "hazardousTaskBLDept"; processDefinitionKey = "hazardousTaskBLDept";
} }
} else if (orgTypeByOrgId == 2) { } else if (orgTypeByOrgId == 2) {
processDefinitionKey = "hazardousTaskBLOrg"; if (WorkTypeEnum.AMMONIA_UNLOADING.getValue().equals(workTypeValue)){
processDefinitionKey = "hazardousTaskBLLN2";
} else {
processDefinitionKey = "hazardousTaskBLOrg";
}
} }
processInsStartParams.setProcessDefinitionKey(processDefinitionKey); processInsStartParams.setProcessDefinitionKey(processDefinitionKey);
processInsStartParams.setOrgId(tHazardWorkPlan.getOrgId()); processInsStartParams.setOrgId(tHazardWorkPlan.getOrgId());
......
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