feat(REQ-4418) - 优化一些提示文案

This commit is contained in:
wangli 2025-08-26 14:49:43 +08:00
parent 04035295b4
commit 7043046844

View File

@ -320,7 +320,7 @@ public class BpmnProcessModelServiceImpl implements BpmnProcessModelService {
throw new WorkflowEngineException(MODEL_ID_NOT_EXISTS, processModelId);
}
if (Objects.nonNull(tenantId) && !Objects.equals(model.getTenantId(), tenantId)) {
throw new WorkflowEngineException(MODEL_ID_NOT_EXISTS, tenantId);
throw new WorkflowEngineException(MODEL_ID_NOT_EXISTS, processModelId);
}
return bpmnModelConverter.toVoParseDesc(model);
}