| | |
| | | import org.dom4j.DocumentHelper; |
| | | |
| | | import com.vci.client.common.oq.OQTool; |
| | | import com.vci.client.common.providers.ServiceProvider; |
| | | import com.vci.client.omd.provider.ApProvider; |
| | | import com.vci.client.oq.QTClient; |
| | | import com.vci.client.oq.QTDClient; |
| | |
| | | |
| | | private static void testIteratorQuery() throws VCIError, DocumentException { |
| | | String queryTemplate = "QueryChildViewClassiyByParentOid"; |
| | | QTInfo wrapper = QTDClient.getService().getQT(queryTemplate); |
| | | QTInfo wrapper = ServiceProvider.getOMDService().getQTDService().getQT(queryTemplate); |
| | | QueryTemplate qt = OQTool.getQTByDoc(DocumentHelper.parseText(wrapper.qtText), queryTemplate); |
| | | Map<String, String> queryCondition = new HashMap<String, String>(); |
| | | queryCondition.put("viewparentclsfoid", "68EB3389-D836-79CD-8467-34E0BCBD85B8"); |
| | |
| | | |
| | | try { |
| | | //获取嵌套条件的查询模板 |
| | | QTInfo qtm = QTDClient.getService().getQT("productTreeQueryTemplate"); |
| | | QTInfo qtm = ServiceProvider.getOMDService().getQTDService().getQT("productTreeQueryTemplate"); |
| | | String qtText = qtm.qtText; |
| | | QueryTemplate qt_ = OQTool.getQTByQTText(qtm.qtName, qtText); |
| | | List<String> clauseListse = new ArrayList<String>(); |