Teamcenter RAC 调用查询
TC可以通过“查询构建器”构造复杂的查询逻辑
RAC中可使用以下方法调用保存的查询
TCSession session = (TCSession) AIFUtility.getDefaultSession();
TCComponentQueryType tccomponentquerytype = (TCComponentQueryType) session .getTypeComponent("ImanQuery");
// 根据名称获取查询
TCComponentQuery query = (TCComponentQuery) tccomponentquerytype.find(queryName);
// 传参执行查询
TCComponent[] tccs = query.execute(parameters, values);